Re: [ANNOUNCE] GIT 1.5.3-rc4

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: Linus Torvalds <torvalds@...>, Steven Grimm <koreth@...>, Sam Ravnborg <sam@...>, Ismail D?nmez <ismail@...>, <git@...>
Date: Monday, August 6, 2007 - 1:44 am

Junio C Hamano <gitster@pobox.com> writes:


If you are able to figure out what to write.  Can you tell me how to
include one of the man pages in an appendix, with appropriate
substructure?  I can't.  It might be easy, but I find it impossible
to guess from the information just how.


    File: texinfo,  Node: makeinfo Pointer Creation,  Next: anchor,  Prev: node,  Up: Nodes

    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 `@chapter' or
    `@section', on the line immediately following each truncated `@node'
    line (except that comment lines may intervene).

      In addition, you must follow the `Top' `@node' line with a line
    beginning with `@top' to mark the `Top' node in the file.  *Note
    `@top': 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::.)


Then don't maintain them.  It is not necessary.

Anyway, I suggest that people wanting to continue to berave me for
taking the word Texinfo into my mouth do this off-list.  It is very
much clear that Texinfo is no-go as a source documentation format for
Git: it makes a considerable ratio of developers foam at the mouth.
And that simply rules it out.

It also turns out that makeinfo2x-texi is able to produce rather good
Texinfo from stuff written for book output with Asciidoc.  Yes, there
are details missing, but it is nothing one could not slide in with
sed into the Texinfo file.  And adding the absent indexing information
can be done in Asciidoc: that is documented.

In contrast, I have just tried using makeinfo --docbook on AUCTeX
Texinfo documentation, and the docbook XML it produces is not always
properly nested, and when one corrects that, the problems with
processing that just start: that seems not really tested, at least
with makeinfo 4.8.

So there is a good Docbook->info path, but not the other way round.
Anyway, you wrote:


At least for the user manual, I can support this (without index) in a
dozen lines of makefile code and another dozen lines of sed (for
adding the top/dir entry information).  Yes, this caught me quite by
surprise.  For the indexing, of course one will have to insert the
appropriate Asciidoc markup into the source files.  I can also work on
that, but it should likely be a colloborative effort: it leads to a
working Index also in the PDF output without the need to involve
Texinfo.

As for making the man pages part of the main manual: I don't know my
way around Asciidoc enough to be able to do this.  It might be
possible to fudge around this issue with sed again, converting the
manual page sources to book section sources.  I am sure there is a
more elegant way to do this sort of transformation/conversion either
on the Asciidoc or XML level, but it's beyond me.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[ANNOUNCE] GIT 1.5.3-rc4, Junio C Hamano, (Fri Aug 3, 8:28 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Robin Rosenberg, (Sat Aug 4, 9:11 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Julian Phillips, (Sat Aug 4, 9:42 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Ismail , (Fri Aug 3, 8:41 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Junio C Hamano, (Fri Aug 3, 9:30 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Steven Grimm, (Fri Aug 3, 11:49 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Junio C Hamano, (Sat Aug 4, 12:38 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Michael, (Sat Aug 4, 11:19 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Timo Hirvonen, (Sat Aug 4, 6:39 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Johannes Schindelin, (Sat Aug 4, 7:46 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Timo Hirvonen, (Sat Aug 4, 8:51 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, David Kastrup, (Sat Aug 4, 3:30 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Steven Grimm, (Sat Aug 4, 2:11 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Johannes Schindelin, (Sat Aug 4, 7:38 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, J. Bruce Fields, (Sat Aug 4, 10:29 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Sam Ravnborg, (Sat Aug 4, 5:12 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Steven Grimm, (Sat Aug 4, 6:55 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, David Kastrup, (Sat Aug 4, 8:19 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Linus Torvalds, (Sat Aug 4, 12:59 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, David Kastrup, (Sat Aug 4, 1:49 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Jeff King, (Sun Aug 5, 5:42 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, David Kastrup, (Sun Aug 5, 5:54 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Jeff King, (Sun Aug 5, 5:59 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, David Kastrup, (Sun Aug 5, 6:20 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Jeff King, (Sun Aug 5, 6:22 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, David Kastrup, (Sun Aug 5, 6:40 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, David Kastrup, (Sun Aug 5, 7:23 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Linus Torvalds, (Sat Aug 4, 3:03 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, David Kastrup, (Sat Aug 4, 3:55 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Linus Torvalds, (Sun Aug 5, 12:29 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, David Kastrup, (Sun Aug 5, 3:51 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Linus Torvalds, (Sun Aug 5, 1:08 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, David Kastrup, (Sun Aug 5, 2:08 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Junio C Hamano, (Sun Aug 5, 7:38 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, David Kastrup, (Mon Aug 6, 1:44 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Miles Bader, (Sun Aug 5, 8:13 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Linus Torvalds, (Sun Aug 5, 3:29 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Bruce Korb, (Sun Aug 5, 5:43 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, David Kastrup, (Sun Aug 5, 6:15 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, J. Bruce Fields, (Sun Aug 5, 6:31 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Linus Torvalds, (Sun Aug 5, 2:23 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, David Kastrup, (Sun Aug 5, 3:06 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, David Kastrup, (Sun Aug 5, 4:32 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Johannes Schindelin, (Sun Aug 5, 2:35 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, David Kastrup, (Sun Aug 5, 3:11 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, J. Bruce Fields, (Sat Aug 4, 5:27 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Steven Grimm, (Sat Aug 4, 12:03 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Jeff King, (Sun Aug 5, 5:50 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, David Kastrup, (Sat Aug 4, 12:27 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Johannes Schindelin, (Sat Aug 4, 12:08 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4 , Doug Maxey, (Sat Aug 4, 2:17 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Daniel Barkalow, (Sat Aug 4, 12:57 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Junio C Hamano, (Sat Aug 4, 1:23 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Daniel Barkalow, (Sat Aug 4, 1:52 am)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Ismail , (Fri Aug 3, 9:48 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Junio C Hamano, (Fri Aug 3, 11:13 pm)
Re: [ANNOUNCE] GIT 1.5.3-rc4, Ismail , (Sat Aug 4, 9:26 am)