[OS X TeX] Different printouts of one document by one click?

Friedrich Vosberg vatolin at mac.com
Wed Sep 21 09:43:29 EDT 2005


On Wednesday, September 21, 2005, at 02:29PM, Claus Gerhardt <gerhardt at math.uni-heidelberg.de> wrote:

>You have to use Applescripts,

Oomph! I've used it never before.

>e.g., a modification my Applescript  
>pdflatxc which is offered in TS.[...]
>
>replace this by

Why should I _replace_ this script?

>set shellScript to "cd " & dirName & ";"
>set shellScript to shellScript & "~/Library/TeXShop/bin/pdflatexc  "  
>&"\def\modus{1} \input "& baseName
>do shell script shellScript

Done. But in which directory I have to save this script?

Why does an engine file like
===== 8>< =====
#!/bin/tcsh

set path=($path /usr/local/teTeX/bin/powerpc-apple-darwin-current /usr/local/bin)
pdflatex '\def\modus{3} \input "$1"'
===== ><8 =====
not work? (I'm asbolutly a greenhorn in scripting.)

TIA and kind regards. Friedrich
------------------------- 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 Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list