[OS X TeX] Stemma using TeXShop

Toke Lindegaard Knudsen toke_knudsen at brown.edu
Thu Dec 6 12:58:02 EST 2007


On Dec 6, 2007, at 12:52 PM, Herbert Schulz wrote:

> On Dec 6, 2007, at 11:19 AM, Toke Lindegaard Knudsen wrote:
>
>> [snip]
>>
>> 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}}
>>
>> ?
>> ==========
>>
>> [snip]
>
> 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.

That did the trick!  Many thanks, Herb.

Sincerely,
Toke




More information about the MacOSX-TeX mailing list