Re: [PATCH 2/3] Add gitmodules(5)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/13/07, Matthias Lederhofer <matled@xxxxxxx> wrote:
Lars Hjemli <hjemli@xxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux