[OS X TeX] hyperref error?

David Arnold dwarnold45 at suddenlink.net
Thu May 26 19:00:20 EDT 2011


Herbert,

We do use some pdfs as well.

D.


On May 26, 2011, at 3:54 PM, Herbert Schulz wrote:

> 
> On May 26, 2011, at 5:39 PM, David Arnold wrote:
> 
>> Herbert, Here is part of the script we use on our system, which has some metapost, pstricks, and tikz graphics used in its files:
>> 
>> if ($os eq 'osx') {
>>   print "\nStarting gen_questions.pl ...\n";
>>   system "$macbin/gen_questions.pl $testbank --preview=$macqinclude $secondarg";
>>   print "\nStarting latex ...\n";
>>   system "latex --shell-escape $testbank-preview.tex";
>>   system "dvips -o $testbank-preview-pics.ps $testbank-preview.dvi";
>>   system "ps2pdf -dAutoRotatePages=/None $testbank-preview-pics.ps $testbank-preview-pics.pdf";
>>   system "pdflatex  --shell-escape $testbank-preview.tex";
>>   system "rm $testbank-preview.dvi $testbank-preview-pics.ps $testbank-preview.aux q1111-*.*";
>> 
>> David
> 
> Howdy,
> 
> Since I don't know if you are using jpg, png, or pdf graphics inclusion I can't make a recommendation. If everything is eps or metapost, pstricks and tkz you can remove the use of the pst-pdf package and simply change the script to use latex, dvips, ps2pdf. For cross reference resolution you can use several runs of latex (2 or 3 usually does it) before dvips and ps2pdf. More information is definitely needed. Even better would be a sample file so we can take a look at the kind of things that are included. Finally, if pdflatex is needed (because of of inlcusion of jpg, png or pdf graphics files) it may be possible to use the auto-pst package or even set up latexmk to do the processing as needed.
> 
> Good Luck,
> 
> Herb Schulz
> (herbs at wideopenwest dot com)
> 
> 
> 
> ----------- 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 MacOSX-TeX mailing list