git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: man pages are littered with .ft C and others

From
Jakub Narebski <jnareb@gmail.com>
Date
Feb 3, 2008, 10:39 UTC
Message-ID
<200802031139.48752.jnareb@gmail.com>
In-Reply-To
<7vejbuxwpu.fsf@gitster.siamese.dyndns.org>
Junio C Hamano wrote:
Show 7 quoted lines
> Jakub Narebski <jnareb@gmail.com> writes:
>> 
>> I see the same error in manpages, for example in git-diff-tree(1)
> 
> http://thread.gmane.org/gmane.comp.version-control.git/53457/focus=53458
> 
> rings a bell?
You mean:
Julian Phillips:
> Are you using docbook xsl 1.72?  There are known problems building the 
> manpages with that version.  1.71 works, and 1.73 should work when it get 
> released.

No, I am using docbook-style-xsl-1.68.1-1, and compiling git from RPM. Besids, I have different set of problems; only with literal blocks. So while DOCBOOK_XSL_172 is not set... let me check...

Hmmm...

Before $ man git-diff-tree

       Example:
       .ft C
       :100644 100644 5be4a4...... 000000...... M file.c
       .ft

$ make DOCBOOK_XSL_172=YesPlease doc $ man Documentation/git-diff-tree.1

       Example:
              :100644 100644 5be4a4...... 000000...... M file.cWhen -z  option  is
              not  used, TAB, LF, and backslash characters in pathnames are repre-
              sented as \t, \n, and \\, respectively.

So setting DOCBOOK_XSL_172 while it fixes the bug (even if docbook-xsl is version 1.68.1, not 1.72), but introduces another.

Unfortunately I don't know enough about AsciiDoc, DocBook and XML toolchain to even *try* to fix this issue.

P.S. Alternate soution would be for SRPM to contain pre-compiled manpages, and not require asciidoc and its toolchain to provide manpages.

-- 
Jakub Narebski
Poland
Previous: Junio C HamanoNext: Jonas Fonseca
Message 5 of 11 in “man pages are littered with .ft C and others”
  1. Adam FlottFeb 2, 2008
  2. Geert BoschFeb 2, 2008
  3. Jakub NarebskiFeb 2, 2008
  4. Junio C HamanoFeb 3, 2008
  5. Jakub NarebskiFeb 3, 2008
  6. Jonas FonsecaFeb 4, 2008
  7. Jakub NarebskiFeb 4, 2008
  8. Jonas FonsecaFeb 5, 2008
  9. Junio C HamanoFeb 5, 2008
  10. Jakub NarebskiFeb 5, 2008
  11. Junio C HamanoFeb 5, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.