[OS X TeX] Stemma using TeXShop

Herbert Schulz herbs at wideopenwest.com
Thu Dec 6 18:52:52 CET 2007


On Dec 6, 2007, at 11:19 AM, Toke Lindegaard Knudsen wrote:

> Hi all,
>
> I am preparing a critical edition of a Sanskrit treatise using LaTeX  
> for the introduction and translation.  In the introduction, I am  
> going to present a stemma for the manuscripts, and I have been  
> wondering how to best to that in LaTeX.  Searching the web, I found  
> this link
>
> <http://tug.org/PSTricks/main.cgi?file=pst-tree/pst-tree#dir>
>
> and I am interested in using the "Another Demo" example for my  
> work.  However, I run into problems when trying to run the code of  
> the example in TeXShop.  (I have attached the code at the bottom of  
> this email.)  It gives me the following:
>
> ==========
> ! Undefined control sequence.
> \XC@@usecolor ...expandafter \c at lor@to at ps #1#2\@@
>                                                  \else \expandafter  
> \expand...
> l.45 \pstree{\MyNode{0}}
>
> ?
> ==========
>
> I thought that all packages should be okay in TeXShop, and I am a  
> little confused as to why this objection occurs.
>
> In addition, I would be happy to hear any other suggestions as to  
> how to best set up a stemma using LaTeX with TeXShop.
>
> Many, many thanks!
>
> Sincerely,
> Toke Lindegaard Knudsen
> ...

Howdy,

By default TeXShop runs pdflatex on the source file to directly  
convert tex->pdf. Unfortunately, pdflatex doesn't understand  
postscript (ps) figures. The easiest way to tell TeXShop to use the  
alternate tex->dvi->ps->pdf method put the line

%%!TEX TS-program = latex

at the top of your file.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)





More information about the macostex-archives mailing list