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

Re: [PATCH 2/2] Documentation/git-gc: improve description of --auto

From
Jeff King <peff@peff.net>
Date
Oct 19, 2007, 04:45 UTC
Message-ID
<20071019044517.GA18354@coredump.intra.peff.net>
In-Reply-To
<20071019023850.GD8298@coredump.intra.peff.net>
On Thu, Oct 18, 2007 at 10:38:50PM -0400, Jeff King wrote:
> I am hunting this down right now. asciidoc _does_ generate
> XML <literal>foo</literal> for `foo`, but it looks like docbook is
> throwing that away when converting to manpages. Hopefully there is an
> easy tweak...

Ugh. Looks like Junio came up with a solution to this in 524e5ffc (although it was for literallayout sections, I think the same technique could be applied). However, it had problems with docbook 1.69, and was reverted in 63c21c49.

Julian Phillips added monospacing of listingblocks in 281a53bb, but that technique is only applicable to asciidoc "blocks", which I think won't work in this instance.

It really seems silly that docbook doesn't monospace <literal>s when converting to manpages. Perhaps somebody who knows more about docbook than I do can say more.

-Peff
Previous: Jeff King
Message 4 of 4 in “Documentation/git-gc: improve description of --auto”
  1. 2/2 Documentation/git-gc: improve description of --autoJeff King, Oct 19, 2007
  2. Shawn O. PearceOct 19, 2007
  3. Jeff KingOct 19, 2007
  4. Jeff KingOct 19, 2007

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.