Re: [PATCH 2/3] Add gitmodules(5)
From: Lars Hjemli <hidden>
Date: 2016-06-15 22:43:16
On 6/13/07, Matthias Lederhofer [off-list ref] wrote:
Lars Hjemli [off-list ref] wrote:quoted
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