D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] txt2man

 

Neil Williams wrote:
> On Wed, 2008-01-02 at 15:24 +0000, Robin Cornelius wrote:
>   
>> Hi Everyone,
>>
>> Been using the txt2man utility to translate some text files and command 
>> help outputs to manpages but it appears to be txt2man cannot handle a 
>> simple - properly? 
>>     
>
> 1. Use doclifter and XML (xsltproc), it's much easier. (Don't worry
> about build depending on xsltproc, just include the xml in your .diff.gz
> and update the manpage manually when you change the XML.) See
> emdebian-tools (SVN) for a suitable script.
>   
Ok thanks will have a look at those

> 2. txt2man may be misinterpreting the encoding - are you in UTF8
> exclusively?
>   
I was on my laptop, but i also got the same results on the txt2man 
manpage via putty ssh'd to my etch server and i have also tried some 
other encoding sets and i don't see a change. All other manpages seem 
fine as do other terminal things. Its just txt2man's page and things 
generated with txt2man. Plus if the manpage is dodgy in the debian 
package this is a bug in txt2man anyway.
> 3. What you should get (with xsltproc) is : cross\-building so yes,
> something is wrong with txt2man.
>
>   
yes, it would appear so.


Thanks for your help

Robin


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html