Re: [PATCH 2/3] Add gitmodules(5)
- From
- Lars Hjemli <hjemli@gmail.com>
- Date
- Jun 13, 2007, 16:59 UTC
- Message-ID
- <8c5c35580706130959i7a2ac14dq723137d05ff14de1@mail.gmail.com>
- In-Reply-To
- <20070613163136.GA28101@moooo.ath.cx>
On 6/13/07, Matthias Lederhofer <matled@gmx.net> wrote:
Show 28 quoted lines
> 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 :) >
Ok, thanks for trying to clean up my mess. I guess there's a good reason why Junios examples drop the leading dot (cat /usr/share/man/man1/git-submodule.1 was an eyeopener for me right now ;-)
-- larsh