[OS X TeX] An alternative to LateXIt; croppdf
Claus Gerhardt
gerhardt at math.uni-heidelberg.de
Thu Jul 23 00:28:14 CEST 2009
Before running the script the tex file has to be typeset. Using
Flashmode I tend to forget that this doesn't happen automatically in
general.
Of course a typeset command could have been incorporated in the
script, but this would be stupid, since only a verified pdf file
should be cropped.
Claus
On Jul 22, 2009, at 23:45, Claus Gerhardt wrote:
> Sorry, there was a silly typo in croppdf.scpt. Attached is the
> correct version.
>
> Claus
>
> <croppdf.zip>
>
>
>
>
>
>
> On Jul 22, 2009, at 22:10, Claus Gerhardt wrote:
>
>> Attached is a script and two shell scripts. The script croppdf
>> should be saved a TeXShop macro.
>>
>> (*Use this script to crop the pdf file corresponding to a tex file
>> in TeXShop.
>>
>> Create a template that will show only the typed text when typeset
>> containing the command \thispagestyle{empty}. Type the text,
>> formulas etc, that you want and make sure that the formulas are not
>> tagged. Then run the script preferrably as a TS macro.
>>
>> The cropped output will then be pasted to the clipboard.
>>
>> Note that the script uses Heiko Oberdieck's perl script pdfcrop and
>> the shell script croppdf which should both be saved in ~/Library/
>> Flashmode/bin.
>>
>> *)
>>
>> Below is an example.
>>
>> <pastedGraphic.pdf>
>>
>>
>> Claus
>> <croppdf.zip>
>> ----------- Please Consult the Following Before Posting -----------
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
>> List Archive: http://tug.org/pipermail/macostex-archives/
>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>>
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>
More information about the macostex-archives
mailing list