[OS X TeX] written in LaTeX - and thanks

Maarten Sneep maarten.sneep at xs4all.nl
Mon Nov 15 05:08:45 EST 2004


On 15 nov 2004, at 0:31, Jon Breitenbucher wrote:

> If you are trying to typeset code, then I would suggest the listings  
> package on CTAN and with a description at  
> <http://www.tug.org/ftp/texlive/Contents/live/texmf/doc/latex/ 
> listings/listings.pdf>. The code is included sort of like a graphic  
> and the various options for the listing environment determine how it  
> is typeset. If you are trying extract code from a LaTeX document, then  
> I'm not aware of anything to try. In a second reading, it seems like  
> you are trying to do the latter :-(

And listing would be ideal for that, as it allows you to typeset  
separate files: just keep the code as a separate file (and use it  
as-is), and include it in the typeset file with the listings package.

Maarten

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list