[OS X TeX] Gerhardt's TeX scripts

Claus Gerhardt gerhardt at math.uni-heidelberg.de
Mon Jan 23 19:13:40 EST 2006


The script works under Tiger.
To call Adobe Reader, you have to replace the name of the previewer  
accordingly.

Assuming that you are referring to the script that is in TEXShop's  
Macro Menu, then you only need the last part of the script when the  
previewer is called. That part can be used as an independent script  
and it has to be fed with the path of the pdf file.

Any Applescript can be used in a shell script, see e.g., my shell  
script texshopcg with the help of which TeXShop can be called from  
the command line.

You might also be interested to look at my subroutine preview_bbedit  
which can be used to call a previewer - independent of BBEdit.

Claus


On Jan 23, 2006, at 23:29, Philipp Mathey wrote:

> Hi,
>
>
> I just noticed that one of the "TeX scripts" by Claus Gerhardt is  
> called "pdflatex_acrobat".
> According to the "ReadMe" , this script can be used to close and re- 
> open a pdf-file in
> "Acrobat 6.0.1 Professional" .
>
> My questions :
> -does this work under Tiger ?
> - can I use it with "Adobe Reader 7.0.5" ?
> - can I use it independently of TeXshop . i.e. I just want to run  
> it in a bash script ( for Emacs)
>
> I heard somewhere that "Emacs is not Apple-scriptable" or something  
> like that.
> In the TeX script directory some scripts are called shell scripts ,  
> others Apple scripts.
> I assume that pdflatex_acrobat is an apple script; could one turn  
> it into a shell script ?
>
> What I am really after is a way to use Adobe Reader as a previewer  
> with auto-refresh.
>
> ------------------------- 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/
>

------------------------- 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