Article View: comp.text
Article #5707Re: nroff/troff to TeX/LaTex translator
From: Ian Moor
Date: Tue, 17 Jan 1989 19:38
Date: Tue, 17 Jan 1989 19:38
33 lines
2228 bytes
2228 bytes
Paul De Bra says:
>If tr2latex does what the introduction to the shar file says it should
>generate awful latex input since it won't know what should be in math
>mode, it won't know what will be a table or a picture, or something else
>that is special. However, maybe it does NOT translate troff documents
>to latex but rather tbl, eqn, pic, MM, MS, and other stuff (including a
>little bit of troff maybe), and that is much more feasible, but is not
>what the original poster asked for. Can anyone with some experience on
>tr2latex comment?
I assume you mean tr2tex that was posted a while back. I use it now and
then, it handles MS and manual page macros (MM ?) and copes with some
troff -- I dont know much troff to be able to tell which is which. It does
math mode and simple tables. It puts commented out copies of the commands
that it cannot cope with in the output so that you can hand translate them.
I have got good results from translating man pages and documents written using
ms macros. The only real complain I have is that the error messages dont have
line numbers, -- it says `cant translate command foo' and I have to search the
file for foo.
How many people write documents in their own macros or lowe level troff anyway?
--
Ian W Moor
UUCP: seismo!mcvax!ukc!icdoc!iwm
ARPA: iwm@doc.ic.ac.uk
JANET: iwm@uk.ac.ic.doc
Department of Computing We don't need no documentation,
Imperial College. We don't need no source control,
180 Queensgate No dark sarcasm in the boardroom,
London SW7 UK. Manager! leave those programmers alone!
Technical Details
Message-ID:
<IWM.89Jan17193836@amvax4.ic.ac.uk>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!ukc!harrier.ukc.ac.uk!eagle.ukc.ac.uk!icdoc!tgould!iwmReferences:
<8248@dasys1.UUCP> <1243@indetech.UUCP> <8765@alice.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!ukc!harrier.ukc.ac.uk!eagle.ukc.ac.uk!icdoc!tgould!iwm From: iwm@ic.ac.uk (Ian Moor) Newsgroups: comp.text Subject: Re: nroff/troff to TeX/LaTex translator Message-ID: <IWM.89Jan17193836@amvax4.ic.ac.uk> Date: 17 Jan 89 19:38:37 GMT References: <8248@dasys1.UUCP> <1243@indetech.UUCP> <8765@alice.UUCP> Sender: news@doc.ic.ac.uk Organization: Dept. of Computing, Imperial College Lines: 33 In-reply-to: debra@alice.UUCP's message of 15 Jan 89 21:02:53 GMT Posting-Front-End: GNU Emacs 18.45.10 of Tue Jan 12 1988 on amvax4 (berkeley-unix)