[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch 0/7] some bits of simpler-proc ready for review
From: |
Ben Pfaff |
Subject: |
Re: [patch 0/7] some bits of simpler-proc ready for review |
Date: |
Sun, 03 Jun 2007 17:39:20 -0700 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
John Darrington <address@hidden> writes:
> On Sun, Jun 03, 2007 at 08:31:23AM -0700, Ben Pfaff wrote:
>
> > In so far as these patches go, the only concern I have is removing the
> > next/prev/up pointers from the documentation. It will make the manual
> > harder to navigate.
>
> Removing the pointers from the documentation has no effect on the
> .info file, because the makeinfo program is smart enough to
> reconstruct the pointers.
>
> Really? It certainly never used to. It must be a recent feature.
Here is what the Texinfo manual says on the topic:
6.4 Creating Pointers with `makeinfo'
=====================================
The `makeinfo' program has a feature for automatically determining node
pointers for a hierarchically organized document.
When you take advantage of this feature, you do not need to write the
`Next', `Previous', and `Up' pointers after the name of a node.
However, you must write a sectioning command, such as address@hidden' or
address@hidden', on the line immediately following each truncated
address@hidden'
line (except that comment lines may intervene).
In addition, you must follow the `Top' address@hidden' line with a line
beginning with address@hidden' to mark the `Top' node in the file. *Note
address@hidden': makeinfo top.
Finally, you must write the name of each node (except for the `Top'
node) in a menu that is one or more hierarchical levels above the
node's hierarchical level.
This implicit node pointer insertion feature in `makeinfo' relieves
you from the need to update menus and pointers manually or with Texinfo
mode commands. (*Note Updating Nodes and Menus::.)
In most cases, you will want to take advantage of this feature and not
redundantly specify node pointers. However, Texinfo documents are not
required to be organized hierarchically or in fact to contain
sectioning commands at all (for example, if you never intend the
document to be printed). The special procedure for handling the short
text before a menu (*note Menus::) also disables this feature, for that
group of nodes. In those cases, you will need to explicitly specify
the pointers.
> Presumably it will do the same when using makeinfo to generate html
> files?
I have used Texinfo pretty extensively for various manuals and
other documents and never noticed that its behavior varied in
this respect from one output format to another.
--
Ben Pfaff
http://benpfaff.org
- [patch 2/7] Add insert_range, insert_element functions., (continued)
- [patch 2/7] Add insert_range, insert_element functions., blp, 2007/06/03
- [patch 7/7] Implement support for "INTEGER LIST"-type subcommands in q2c. The documentation claimed these were supported, but actually they werent., blp, 2007/06/03
- [patch 5/7] Remove author. Fix compile-command., blp, 2007/06/03
- [patch 6/7] Use var_is_alpha., blp, 2007/06/03
- [patch 4/7] Remove next, prev, up node names from @node lines, to make structural changes to the manual easier. (These node names are not needed by makeinfo.), blp, 2007/06/03
- [patch 3/7] Ignore _ndebug, _profile directories that I use for -DNDEBUG and profiling builds., blp, 2007/06/03
- [patch 1/7] Insert some missing "#include <config.h>" lines., blp, 2007/06/03
- Re: [patch 0/7] some bits of simpler-proc ready for review, John Darrington, 2007/06/03