generating man pages from docbook
I am using the docbook-to-man package a bad idea?
----- Forwarded message from md -----
To: pbenner@uni-osnabrueck.de
Cc: debian-xml-sgml-pkgs@lists.alioth.debian.org
Subject: Escape backslashes in the man pages
User-Agent: Mutt/1.5.19 (2009-01-05)
Please advise. What should I use to build this document?
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
<!ENTITY debian "<productname>Debian GNU/Linux</productname>">
<!ENTITY docbook "<productname>DocBook</productname>">
<!ENTITY sgml "<abbrev>SGML</abbrev>">
]>
----- Forwarded message from Michal Marek <mmarek@suse.cz> -----
From: Michal Marek <mmarek@suse.cz>
To: Marco d'Itri <md@Linux.IT>
Cc: mit-devel@lists.printk.net
Subject: Re: [Mit-devel] Escape backslashes in the man pages
User-Agent: Thunderbird 2.0.0.19 (X11/20081227)
Marco d'Itri napsal(a):
> Escape backslashes in the man pages.
>
> --- a/doc/depmod.conf.sgml
> +++ b/doc/depmod.conf.sgml
> @@ -42,7 +42,7 @@
> <para>
> The format of <filename>depmod.conf</filename> and files under <filename>depmod.d</filename> is simple: one
> command per line, with blank lines and lines starting with #
> - ignored (useful for adding comments). A \ at the end of a line
> + ignored (useful for adding comments). A \\ at the end of a line
Which conversion tool do you use to generate the manpages? docbook2man
from docbook-utils correctly escapes the backslashes and applying your
patch results in '\\\\' in the roff source.
Michal
_______________________________________________
Mit-devel mailing list
Mit-devel@dmesg2.printk.net
http://dmesg2.printk.net/cgi-bin/mailman/listinfo/mit-devel
----- End forwarded message -----
--
ciao,
Marco
----- End forwarded message -----
--
ciao,
Marco
Reply to: