[OS X TeX] hyperref error?

Herbert Schulz herbs at wideopenwest.com
Thu May 26 19:31:18 EDT 2011


On May 26, 2011, at 6:15 PM, Peter Dyballa wrote:

> 
> Am 27.05.2011 um 00:25 schrieb David Arnold:
> 
>> \documentclass[12pt]{article}
>> 
>> \usepackage{pst-pdf}
>> \usepackage{hyperref}
>> 
>> \listfiles
>> 
>> \begin{document}
>> Test
>> \end{document}
> 
> 
> 
> This does not work with up-to-date latex. This does:
> 
> 	\listfiles
> 	\documentclass[12pt]{article}
> 	\usepackage{ifpdf}
> 	
> 	\ifpdf
> 	  \usepackage{pst-pdf}
> 	\fi
> 	\usepackage{hyperref}
> 	
> 	
> 	\begin{document}
> 	Test
> 	\end{document}
> 
> Only then when PDF is being produced by pdfTeX the package pst-pdf gets loaded.
> 
> --
> Greetings
> 
>  Pete
> 
> There are very few jobs that actually require a penis or vagina. All other jobs should be open to everybody.
> 				– Florynce Kennedy

Howdy,

This doesn't work in a real situation because the source has the pst-pdf wrapper around the pstricks, etc., latex-only packages. I wonder of auto-pst-pdf can do the job but pdflatex would need to use -shell-escape. Then only pdflatex need be run (possibly multiple times to resolve cross-references, etc.).

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the MacOSX-TeX mailing list