Re: [docbook-apps] manpage/docbook.xsl generated code broken for nroff

From
=?JRN-8859-1?P?Qalph_C=G6hme?=
Date
2009-02-03T21:34:58+00:00
ID
Thread
Re: [docbook-apps] manpage/docbook.xsl generated code broken for nroff
Am 03.02.2009 um 22:16 schrieb Bob Stayton:

> I don't have a system with plain nroff to test this on, so I'm not  
> clear on
> what exactly the problem is or how to fix it.

If you like I could provide you shell access to a Opensolaris 11/08  
machine.

> Do you know if the issue is the use of macro
> names longer than two characters, or the use of built-in groff  
> instructions
> that don't work with plain nroff?

The latter. Running `checknr` (a nroff syntax checker) bails out  
numerous times.

> If it is the former, then it could be
> easily fixed by renaming defined macros, but if it is the latter,
> then it will be harder.
>
> If you manage to get a new 'define.macros' working, you could submit  
> it for
> inclusion and we could add it to the stylesheet with an option  
> parameter to
> turn it on.

I got one working by completly removing the 4 mentioned macros:  
toupper, SH-xref, SH, SS. See:

<http://netatalk.cvs.sourceforge.net/viewvc/netatalk/netatalk-docs/manual/man.xsl?revision=1.3&view=markup 
 >

Thanks for helping!

Regards
-Ralph