[OS X TeX] Stemma using TeXShop
Peter Robinson
p.m.robinson at bham.ac.uk
Sat Dec 8 14:30:09 CET 2007
we have been making and publishing stemmata for years -- but much the easiest way is to generate the stemma as tiff or jpeg files and import them as images into tex. I´m sure this could be done in a much more intellectualy respectable way but, well, what we do works
Peter Robinson
_____
De: macosx-tex-bounces at email.esm.psu.edu en nombre de Herbert Schulz
Enviado el: jue 06/12/2007 17:52
Para: TeX on Mac OS X Mailing List
Asunto: Re: [OS X TeX] Stemma using TeXShop
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