[tex-live] hyperref trouble with color and graphicx
Hironobu YAMASHITA
h.y.acetaminophen at gmail.com
Fri Jun 26 17:27:49 CEST 2015
Hi, Herbert,
>The problem even exists for latex->dvips->ps2pdf processing. I.e.,
> remove the dvipdfmx option from the two \usepackage commands
> and it still fails independent of order of the package calls.
> Fully updated TeX Live 2015.
Dvips can include ONLY eps format, so you always have to use tiger.eps
with the latex->dvips->ps2pdf processing.
With dvips.def only, they can include only eps fomat. So they immediately
searches tiger.eps when extensions are implicit.
My problem is:
With dvipdfmx.def overloaded with dvips.def, the macros for including
explicit .pdf graphics is alive, but the macros for implicit extensions
are overwritten with one in dvips.def, which can include only .eps.
Hironobu Yamashita
2015-06-27 0:17 GMT+09:00 Herbert Schulz <herbs at wideopenwest.com>:
> > On Jun 26, 2015, at 9:42 AM, Hironobu YAMASHITA <
> h.y.acetaminophen at gmail.com> wrote:
> >
> > > Have you tried to switch the order of paxckages? The documentation
> > > says that hyperref should be loaded as the last one.
> >
> > Yes, of course I've tried switching the order of packages:
> >
> > \usepackage[dvipdfmx]{graphicx}
> > \usepackage[dvipdfmx,colorlinks=true,linkcolor=blue]{hyperref}
> >
> > However, color.sty still calls dvips.def and conflicts with dvipdfmx.def.
> >
> > One of possible solution may be:
> >
> > \usepackage[dvipdfmx]{graphicx,color}% <- explicit option for color.sty
> > \usepackage[dvipdfmx,colorlinks=true,linkcolor=blue]{hyperref}
> >
> > But I think this kind of problem is hard to resolve on the users' side,
> > so I hope this can be handled on the package itself.
> >
> > Regards,
> >
> > Hironobu Yamashita
> > h.y.acetaminophen at gmail.com
> >
> >
> > 2015-06-26 23:21 GMT+09:00 Zdenek Wagner <zdenek.wagner at gmail.com>:
> > Have you tried to switch the order of paxckages? The documentation
> > says that hyperref should be loaded as the last one.
> > Zdeněk Wagner
> > http://hroch486.icpf.cas.cz/wagner/
> > http://icebearsoft.euweb.cz
>
> >
> >
> > 2015-06-26 7:48 GMT+02:00 Hironobu YAMASHITA <
> h.y.acetaminophen at gmail.com>:
> > > Hello,
> > >
> > > I have some trouble with hyperref.sty when used at the same time with
> > > graphicx.sty. The following LaTeX source can cause an error.
> > > Please typeset using LaTeX + dvipdfmx.
> > > (tiger.pdf can be obtained by converting tiger.eps with Ghostscript.)
> > >
>
> Howdy,
>
>
> The problem even exists for latex->dvips->ps2pdf processing. I.e., remove
> the dvipdfmx option from the two \usepackage commands and it still fails
> independent of order of the package calls. Fully updated TeX Live 2015.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20150627/d156b620/attachment.html>
More information about the tex-live
mailing list