Re: [PATCH 2/3] Add gitmodules(5)
- From
- Matthias Lederhofer <matled@gmx.net>
- Date
- Jun 13, 2007, 16:31 UTC
- Message-ID
- <20070613163136.GA28101@moooo.ath.cx>
- In-Reply-To
- <8c5c35580706130913j2d3095d1n649145ff540d1bec@mail.gmail.com>
Lars Hjemli <hjemli@gmail.com> wrote:
> Could you please try one or both of the following escape-sequences? > > \.gitmodules > #.gitmodules#
#.gitmodules# seems to produce a good xml file, html is fine too. But the conversion from xml to a manpage seems to be broken:
$ xmlto -m callouts.xsl man gitmodules.xml
transforms
<refsynopsisdiv>
<simpara>.gitmodules</simpara></refsynopsisdiv>
to
.SH "SYNOPSIS"
.gitmodules".gitmodules" is not shown in the manpage and vim highlights the ".gi" just like ".SH" in a special color. Perhaps we should just highlight .gitmodules like commands with single quotes. This solves both problems :)