[OS X TeX] Linguists' trees and (pdf)LaTeX

Frederick Hoyt fmhoyt at mail.utexas.edu
Tue Jan 25 21:44:20 CET 2005


On Jan 25, 2005, at 1:53 PM, Stephen Anderson wrote:

> Many linguists use Emma Pease's tree-dvips package to draw tree 
> structures.  this does its work via PS \special command, and so is 
> incompatible with pdf(la)tex, XeTeX, etc.  Recently I asked on this 
> list if any replacements were available, and the only responses I got 
> either didn't really meet this specialized need or just said "let me 
> know if you find something".

I make extensive use of tree-dvips, including with Texshop, and the 
pdfs come out fine. I have the tex+ghostscript option checked under 
"typesetting" in the texshop preferences.

If you're comfortable using the command line and you're not attached to 
pdftex, but only want pdf output, you might also found it easy to write 
shell scripts which feed the output of latex to dvips to ps2pdf, and 
the results look just fine as well.

Here's my version of such a script (for bash):

#!\bin\sh

latex ${1}.tex

dvips ${1}.dvi

ps2pdf ${1}.ps




Frederick M. Hoyt
www.livejournal.com/users/frederickhoyt

--------------------- 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 macostex-archives mailing list