Re: A typesetting problem with git man pages

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Teemu Likonen <tlikonen@...>
Cc: <git@...>
Date: Wednesday, October 29, 2008 - 3:39 pm

On Wed, Oct 29, 2008 at 09:16:52PM +0200, Teemu Likonen wrote:


I think this is Yet Another docbook or asciidoc issue. The resulting XML
from asciidoc is:

  <literallayout>
  &#10;.ft C&#10;
  ... the actual example contents ...
  &#10;.ft&#10;
  </literallayout>

which kind of seems wrong to me, since it implies that that is part of
the literal layout, and would be subject to quoting. It gets rendered
into git-log.1 as:

  \&.ft C
  ... the actual examples contents
  \&.ft

so the problem is the extra \&. But I don't know why that is being
generated. It _should_ be part of the character entity, I thought, but
xmlto seems to be rendering it as the newline character entity _plus_
the ampersand.

So it seems like a bug to me in the XML parser, but it is more likely
that I'm somehow clueless about XML.

-Peff
--
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:
A typesetting problem with git man pages, Teemu Likonen, (Wed Oct 29, 3:16 pm)
Re: A typesetting problem with git man pages, Jeff King, (Wed Oct 29, 3:39 pm)
Re: A typesetting problem with git man pages, Jonas Fonseca, (Wed Oct 29, 4:14 pm)
Re: A typesetting problem with git man pages, Jonas Fonseca, (Wed Oct 29, 3:35 pm)
Re: A typesetting problem with git man pages, Teemu Likonen, (Fri Oct 31, 3:37 am)
Re: A typesetting problem with git man pages, Teemu Likonen, (Fri Oct 31, 4:37 am)
Re: A typesetting problem with git man pages, Teemu Likonen, (Wed Oct 29, 6:22 pm)