[tex-live] hyperref trouble with color and graphicx

Hironobu YAMASHITA h.y.acetaminophen at gmail.com
Fri Jun 26 17:16:00 CEST 2015


OK, I pasted the entire log.
The test source is ``colorlinks-test.tex''.
tiger.pdf can be obtained from:

http://oku.edu.mie-u.ac.jp/~okumura/texwiki/files/tiger.pdf

----------
%#!latex -> dvipdfmx
\documentclass{article}
\usepackage[dvipdfmx,colorlinks=true,linkcolor=blue]{hyperref}
\usepackage[dvipdfmx]{graphicx}
\begin{document}
I will introduce an example of mathematical beauty.
\begin{equation}
  e^{i \pi} + 1 = 0 \label{eq1}
\end{equation}
Equation (\ref{eq1}) is called ``Euler's identity.''

Sample image here:
\includegraphics[width=3ex]{tiger} % tiger.pdf (extension implicit)
%\includegraphics[width=3ex]{tiger.pdf} % tiger.pdf
Tiger!
\end{document}
----------

You can see ``dvips.def'' after ``dvipdfmx.def''.
This is problematic...

-----``colorlinks-test.log''-----
​This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/W32TeX)
(preloaded format=latex 2015.6.14)  27 JUN 2015 00:11
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**./colorlinks-test.tex
(./colorlinks-test.tex
LaTeX2e <2015/01/01>
Babel <3.9l> and hyphenation patterns for 79 languages loaded.
(c:/texlive/2015/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(c:/texlive/2015/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c at part=\count79
\c at section=\count80
\c at subsection=\count81
\c at subsubsection=\count82
\c at paragraph=\count83
\c at subparagraph=\count84
\c at figure=\count85
\c at table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(c:/texlive/2015/texmf-dist/tex/latex/hyperref/hyperref.sty
Package: hyperref 2012/11/06 v6.83m Hypertext links for LaTeX
(c:/texlive/2015/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
Package: hobsub-hyperref 2012/05/28 v1.13 Bundle oberdiek, subset hyperref
(HO)

(c:/texlive/2015/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty
Package: hobsub-generic 2012/05/28 v1.13 Bundle oberdiek, subset generic
(HO)
Package: hobsub 2012/05/28 v1.13 Construct package bundles (HO)
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages
(HO)
Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
Package: ifvtex 2010/03/01 v1.5 Detect VTeX and its facilities (HO)
Package ifvtex Info: VTeX not detected.
Package: intcalc 2007/09/27 v1.1 Expandable calculations with integers (HO)
Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in PDF mode is not detected.
Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands
(HO)
Package etexcmds Info: Could not find \expanded.
(etexcmds)             That can mean that you are not using pdfTeX 1.50 or
(etexcmds)             that some package has redefined \expanded.
(etexcmds)             In the latter case, load this package earlier.
Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)
Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO)
Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX
(HO
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: \pdf at primitive is available.
Package pdftexcmds Info: \pdf at ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode is ignored in DVI mode.
Package: pdfescape 2011/11/25 v1.13 Implements pdfTeX's escape features (HO)
Package: bigintcalc 2012/04/08 v1.3 Expandable calculations on big integers
(HO
)
Package: bitset 2011/01/30 v1.1 Handle bit-vector datatype (HO)
Package: uniquecounter 2011/01/30 v1.2 Provide unlimited unique counter (HO)
)
Package hobsub Info: Skipping package `hobsub' (already loaded).
Package: letltxmacro 2010/09/02 v1.4 Let assignment for LaTeX macros (HO)
Package: hopatch 2012/05/28 v1.2 Wrapper for package hooks (HO)
Package: xcolor-patch 2011/01/30 xcolor patch
Package: atveryend 2011/06/30 v1.8 Hooks at the very end of document (HO)
Package atveryend Info: \enddocument detected (standard20110627).
Package: atbegshi 2011/10/05 v1.16 At begin shipout hook (HO)
Package: refcount 2011/10/16 v3.4 Data extraction from label references (HO)
Package: hycolor 2011/01/30 v1.7 Color options for hyperref/bookmark (HO)
)
(c:/texlive/2015/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV at toks@=\toks14
)
(c:/texlive/2015/texmf-dist/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
(c:/texlive/2015/texmf-dist/tex/latex/oberdiek/auxhook.sty
Package: auxhook 2011/03/04 v1.3 Hooks for auxiliary files (HO)
)
(c:/texlive/2015/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2011/06/30 v3.11 Key value format for package options
(HO)
)
\@linkdim=\dimen103
\Hy at linkcounter=\count87
\Hy at pagecounter=\count88
(c:/texlive/2015/texmf-dist/tex/latex/hyperref/pd1enc.def
File: pd1enc.def 2012/11/06 v6.83m Hyperref: PDFDocEncoding definition (HO)
)
\Hy at SavedSpaceFactor=\count89
(c:/texlive/2015/texmf-dist/tex/latex/latexconfig/hyperref.cfg
File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
)
Package hyperref Info: Option `colorlinks' set `true' on input line 4319.
Package hyperref Info: Hyper figures OFF on input line 4443.
Package hyperref Info: Link nesting OFF on input line 4448.
Package hyperref Info: Hyper index ON on input line 4451.
Package hyperref Info: Plain pages OFF on input line 4458.
Package hyperref Info: Backreferencing OFF on input line 4463.
Package hyperref Info: Implicit mode ON; LaTeX internals redefined.
Package hyperref Info: Bookmarks ON on input line 4688.
\c at Hy@tempcnt=\count90
(c:/texlive/2015/texmf-dist/tex/latex/url/url.sty
\Urlmuskip=\muskip10
Package: url 2013/09/16  ver 3.4  Verb mode for urls, etc.
)
LaTeX Info: Redefining \url on input line 5041.
\XeTeXLinkMargin=\dimen104
\Fld at menulength=\count91
\Field at Width=\dimen105
\Fld at charsize=\dimen106
Package hyperref Info: Hyper figures OFF on input line 6295.
Package hyperref Info: Link nesting OFF on input line 6300.
Package hyperref Info: Hyper index ON on input line 6303.
Package hyperref Info: backreferencing OFF on input line 6310.
Package hyperref Info: Link coloring ON on input line 6313.
Package hyperref Info: Link coloring with OCG OFF on input line 6320.
Package hyperref Info: PDF/A mode OFF on input line 6325.
LaTeX Info: Redefining \ref on input line 6365.
LaTeX Info: Redefining \pageref on input line 6369.
\Hy at abspage=\count92
\c at Item=\count93
\c at Hfootnote=\count94
)
Package hyperref Message: Driver: hdvipdfm.
(c:/texlive/2015/texmf-dist/tex/latex/hyperref/hdvipdfm.def
File: hdvipdfm.def 2012/11/06 v6.83m Hyperref driver for dvipdfm
\pdfm at box=\box26
\c at Hy@AnnotLevel=\count95
\HyField at AnnotCount=\count96
\Fld at listcount=\count97
\c at bookmark@seq at number=\count98
(c:/texlive/2015/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
Package: rerunfilecheck 2011/04/15 v1.7 Rerun checks for auxiliary files
(HO)
Package uniquecounter Info: New unique counter `rerunfilecheck' on input
line 2
82.
)
\Hy at SectionHShift=\skip43
)
(c:/texlive/2015/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
(c:/texlive/2015/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2014/10/28 v1.0p Standard LaTeX Graphics (DPC,SPQR)
(c:/texlive/2015/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(c:/texlive/2015/texmf-dist/tex/latex/latexconfig/graphics.cfg
File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
)
Package graphics Info: Driver file: dvipdfmx.def on input line 94.
(c:/texlive/2015/texmf-dist/tex/latex/dvipdfmx-def/dvipdfmx.def
File: dvipdfmx.def 2015/03/26 v4.04 LaTeX color/graphics driver for
dvipdfmx (T
eX Live/ChoF)
))
\Gin at req@height=\dimen107
\Gin at req@width=\dimen108
)
No file colorlinks-test.aux.
\openout1 = `colorlinks-test.aux'.
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for PD1/pdf/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
\AtBeginShipoutBox=\box27
(c:/texlive/2015/texmf-dist/tex/latex/graphics/color.sty
Package: color 2014/10/28 v1.1a Standard LaTeX Color (DPC)
(c:/texlive/2015/texmf-dist/tex/latex/latexconfig/color.cfg
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package color Info: Driver file: dvips.def on input line 142.
(c:/texlive/2015/texmf-dist/tex/latex/graphics/dvips.def
File: dvips.def 2014/10/14 v3.0j Driver-dependent file (DPC,SPQR)
)
(c:/texlive/2015/texmf-dist/tex/latex/graphics/dvipsnam.def
File: dvipsnam.def 2014/10/14 v3.0j Driver-dependent file (DPC,SPQR)
))
Package hyperref Info: Link coloring ON on input line 5.
(c:/texlive/2015/texmf-dist/tex/latex/hyperref/nameref.sty
Package: nameref 2012/10/27 v2.43 Cross-referencing by name of section
(c:/texlive/2015/texmf-dist/tex/generic/oberdiek/gettitlestring.sty
Package: gettitlestring 2010/12/03 v1.4 Cleanup title references (HO)
)
\c at section@level=\count99
)
LaTeX Info: Redefining \ref on input line 5.
LaTeX Info: Redefining \pageref on input line 5.
LaTeX Info: Redefining \nameref on input line 5.
\@outlinefile=\write3
\openout3 = `colorlinks-test.out'.

Package hyperref Warning: Rerun to get /PageLabels entry.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <7> on input line 7.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <5> on input line 7.
LaTeX Warning: Reference `eq1' on page 1 undefined on input line 10.

! LaTeX Error: File `tiger' not found.
See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.13 \includegraphics[width=3ex]{tiger}
                                        % tiger.pdf (extension implicit)
?
Package atveryend Info: Empty hook `BeforeClearDocument' on input line 16.
[1
]
Package atveryend Info: Empty hook `AfterLastShipout' on input line 16.
 (./colorlinks-test.aux)
Package atveryend Info: Empty hook `AtVeryEndDocument' on input line 16.
Package atveryend Info: Executing hook `AtEndAfterFileList' on input line
16.

Package rerunfilecheck Warning: File `colorlinks-test.out' has changed.
(rerunfilecheck)                Rerun to get outlines right
(rerunfilecheck)                or use package `bookmark'.
Package rerunfilecheck Info: Checksums for `colorlinks-test.out':
(rerunfilecheck)             Before: <no file>
(rerunfilecheck)             After:  D41D8CD98F00B204E9800998ECF8427E;0.
LaTeX Warning: There were undefined references.

LaTeX Warning: Label(s) may have changed. Rerun to get cross-references
right.
Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 16.
 )
Here is how much of TeX's memory you used:
 4683 strings out of 493090
 69990 string characters out of 6138451
 146403 words of memory out of 5000000
 8175 multiletter control sequences out of 15000+600000
 3948 words of font info for 15 fonts, out of 8000000 for 9000
 1141 hyphenation exceptions out of 8191
 29i,6n,21p,212b,318s stack positions out of
5000i,500n,10000p,200000b,80000s
Output written on colorlinks-test.dvi (1 page, 1096 bytes).
-----End of logfile-----


Regards,
Hironobu Yamashita



2015-06-27 0:07 GMT+09:00 Lars Madsen <daleif at math.au.dk>:

>  In my case TL15 on Linux, it includes both the .eps and PDF just fine
>
> Do you mind posting the log? Just to be sure that there aren't any files
> picked up from the wrong place.
>
> Are your sure there isn't a problem with tiger.*?
>
>
>
> /Lars Madsen
> Institut for Matematik / Department of Mathematics
> Aarhus Universitet / Aarhus University
> Mere info: http://au.dk/daleif@math <http://au.dk/daleif@imf> / More
> information: http://au.dk/en/daleif@math <http://au.dk/en/daleif@imf>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20150627/ece985a3/attachment-0001.html>


More information about the tex-live mailing list