[OS X TeX] hyperref error?

Herbert Schulz herbs at wideopenwest.com
Fri May 27 01:23:59 CEST 2011


On May 26, 2011, at 6:00 PM, David Arnold wrote:

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

Howdy,

Sigh... Now that I know you MUST use pst-pdf I did some testing and the problem does seem to be there when also using hyperref (at least with v6.82g) with pst-pdf. If you have Ghostscript you may be able to use pdf2ps to convert the pdf files to ps files and include them and then remove the use of pst-pdf. Sigh... I wish I had better news.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list