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

Re: generating man pages from docbook



I never received an answer from the docbook-to-man maintainers, so
I switched to docbook-utils which works correctly but I found out is
uninstallable on four architectures. What should I do?
Maybe the jadetex dependency should be downgraded to Recommends since
it's only needed for some output formats anyway?

https://buildd.debian.org/build.php?pkg=module-init-tools

On Mar 04, md wrote:

> ----- 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

-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature


Reply to: