From johann.spies at alterit.co.za Fri Jul 7 13:54:52 2017 From: johann.spies at alterit.co.za (Johann Spies) Date: Fri, 7 Jul 2017 13:54:52 +0200 Subject: [XeTeX] Problem involving \includegraphics after texlive update on Debian Tesing Message-ID: <20170707115452.zzpaksezhizgxjbz@kiekie> After a recent upgrade of texlive to 2017.20170629-1 on Debian I am experiencing a problem compiling a longstanding document and I can replicate the problem with the following code: \documentclass[12pt,a4paper]{article} \usepackage{fontspec} % Gebruik met xelatex \usepackage{graphicx} % Gebruik met xelatex \usepackage[hyperindex=true,colorlinks=true,bookmarks]{hyperref} \usepackage{colortbl} \setmainfont[Ligatures=TeX,Mapping=tex-text]{Linux Libertine O} \begin{document} \includegraphics{fruits.jpg} \end{document} %%% Local Variables: %%% mode: latex %%% TeX-engine: xetex %%% TeX-master: t %%% End: results in ERROR: Undefined control sequence. --- TeX said --- \Ginclude at bmp #1->\Gin at log {<#1>}\bgroup \def \@tempa {!}\special {pdf:image...l.11 \includegraphics{fruits.jpg} --- HELP --- TeX encountered an unknown command name. You probably misspelled the name. If this message occurs when a LaTeX command is being processed, the command is probably in the wrong place---for example, the error can be produced by an \item command that's not inside a list-making environment. The error can also be caused by a missing \documentclass command. You can replace "fruit.jpg" with any jpg to replicate the problem. It will help me if someone on this list can identify what is causing this. Regards Johann -- J.H. Spies - Tel. 021-982 2694 / 082 782 0336 / 021-808 4699(w) Posbus 4668, Tygervallei 7536 "And be ye kind one to another, tenderhearted, forgiving one another, even as God for Christ's sake hath forgiven you." Ephesians 4:32 From joseph.wright at morningstar2.co.uk Fri Jul 7 14:09:08 2017 From: joseph.wright at morningstar2.co.uk (Joseph Wright) Date: Fri, 7 Jul 2017 13:09:08 +0100 Subject: [XeTeX] Problem involving \includegraphics after texlive update on Debian Tesing In-Reply-To: <20170707115452.zzpaksezhizgxjbz@kiekie> References: <20170707115452.zzpaksezhizgxjbz@kiekie> Message-ID: On 07/07/2017 12:54, Johann Spies wrote: > After a recent upgrade of texlive to 2017.20170629-1 on Debian I am > experiencing a problem compiling a longstanding document and I can > replicate the problem with the following code: > > \documentclass[12pt,a4paper]{article} > \usepackage{fontspec} % Gebruik met xelatex > \usepackage{graphicx} % Gebruik met xelatex > \usepackage[hyperindex=true,colorlinks=true,bookmarks]{hyperref} > \usepackage{colortbl} > \setmainfont[Ligatures=TeX,Mapping=tex-text]{Linux Libertine O} > \begin{document} > > > > \includegraphics{fruits.jpg} > > \end{document} > > %%% Local Variables: > %%% mode: latex > %%% TeX-engine: xetex > %%% TeX-master: t > %%% End: > > > results in > > ERROR: Undefined control sequence. > > --- TeX said --- > \Ginclude at bmp #1->\Gin at log > {<#1>}\bgroup \def \@tempa {!}\special {pdf:image...l.11 \includegraphics{fruits.jpg} > > --- HELP --- > TeX encountered an unknown command name. You probably misspelled the > name. If this message occurs when a LaTeX command is being processed, > the command is probably in the wrong place---for example, the error > can be produced by an \item command that's not inside a list-making > environment. The error can also be caused by a missing \documentclass > command. > > You can replace "fruit.jpg" with any jpg to replicate the problem. > > It will help me if someone on this list can identify what is causing > this. > > Regards > Johann Could you add \listfiles to your input and post the resulting *File list* from the .log? Joseph From d.p.carlisle at gmail.com Fri Jul 7 14:12:36 2017 From: d.p.carlisle at gmail.com (David Carlisle) Date: Fri, 7 Jul 2017 13:12:36 +0100 Subject: [XeTeX] Problem involving \includegraphics after texlive update on Debian Tesing In-Reply-To: References: <20170707115452.zzpaksezhizgxjbz@kiekie> Message-ID: \Gin at log is defined in the core graphics.sty so it would seem that you have updated xetex.def but not graphics itself, or perhaps have an old copy in your path David On 7 July 2017 at 13:09, Joseph Wright wrote: > On 07/07/2017 12:54, Johann Spies wrote: >> After a recent upgrade of texlive to 2017.20170629-1 on Debian I am >> experiencing a problem compiling a longstanding document and I can >> replicate the problem with the following code: >> >> \documentclass[12pt,a4paper]{article} >> \usepackage{fontspec} % Gebruik met xelatex >> \usepackage{graphicx} % Gebruik met xelatex >> \usepackage[hyperindex=true,colorlinks=true,bookmarks]{hyperref} >> \usepackage{colortbl} >> \setmainfont[Ligatures=TeX,Mapping=tex-text]{Linux Libertine O} >> \begin{document} >> >> >> >> \includegraphics{fruits.jpg} >> >> \end{document} >> >> %%% Local Variables: >> %%% mode: latex >> %%% TeX-engine: xetex >> %%% TeX-master: t >> %%% End: >> >> >> results in >> >> ERROR: Undefined control sequence. >> >> --- TeX said --- >> \Ginclude at bmp #1->\Gin at log >> {<#1>}\bgroup \def \@tempa {!}\special {pdf:image...l.11 \includegraphics{fruits.jpg} >> >> --- HELP --- >> TeX encountered an unknown command name. You probably misspelled the >> name. If this message occurs when a LaTeX command is being processed, >> the command is probably in the wrong place---for example, the error >> can be produced by an \item command that's not inside a list-making >> environment. The error can also be caused by a missing \documentclass >> command. >> >> You can replace "fruit.jpg" with any jpg to replicate the problem. >> >> It will help me if someone on this list can identify what is causing >> this. >> >> Regards >> Johann > > Could you add \listfiles to your input and post the resulting *File > list* from the .log? > > Joseph > > > > -------------------------------------------------- > Subscriptions, Archive, and List information, etc.: > http://tug.org/mailman/listinfo/xetex From johann.spies at alterit.co.za Fri Jul 7 14:32:05 2017 From: johann.spies at alterit.co.za (Johann Spies) Date: Fri, 7 Jul 2017 14:32:05 +0200 Subject: [XeTeX] Problem involving \includegraphics after texlive update on Debian Tesing In-Reply-To: References: <20170707115452.zzpaksezhizgxjbz@kiekie> Message-ID: <20170707123204.3uaagapffbao6j6h@kiekie> Thanks for your attention Joseph. On Fri, Jul 07, 2017 at 01:09:08PM +0100, Joseph Wright wrote: > > Could you add \listfiles to your input and post the resulting *File > list* from the .log? > *File List* article.cls 2014/09/29 v1.4h Standard LaTeX document class size12.clo 2014/09/29 v1.4h Standard LaTeX file (size option) fontspec.sty 2017/03/31 v2.6a Font selection for XeLaTeX and LuaLaTeX expl3.sty 2017/05/29 L3 programming layer (loader) expl3-code.tex 2017/05/29 L3 programming layer l3xdvipdfmx.def xparse.sty 2017/05/29 L3 Experimental document command parser fontspec-xetex.sty 2017/03/31 v2.6a Font selection for XeLaTeX and LuaLaTeX fontenc.sty tuenc.def 2017/04/05 v2.0i Standard LaTeX file fontspec.cfg graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR) keyval.sty 1999/03/16 v1.13 key=value parser (DPC) graphics.sty 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR) trig.sty 1999/03/16 v1.09 sin cos tan (DPC) graphics.cfg 2016/06/04 v1.11 sample graphics configuration xetex.def 2017/06/24 v5.0h Graphics/color driver for xetex hyperref.sty 2017/03/14 v6.85a Hypertext links for LaTeX hobsub-hyperref.sty 2016/05/16 v1.14 Bundle oberdiek, subset hyperref (HO) hobsub-generic.sty 2016/05/16 v1.14 Bundle oberdiek, subset generic (HO) hobsub.sty 2016/05/16 v1.14 Construct package bundles (HO) infwarerr.sty 2016/05/16 v1.4 Providing info/warning/error messages (HO) ltxcmds.sty 2016/05/16 v1.23 LaTeX kernel commands for general use (HO) ifluatex.sty 2016/05/16 v1.4 Provides the ifluatex switch (HO) ifvtex.sty 2016/05/16 v1.6 Detect VTeX and its facilities (HO) intcalc.sty 2016/05/16 v1.2 Expandable calculations with integers (HO) ifpdf.sty 2017/03/15 v3.2 Provides the ifpdf switch etexcmds.sty 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO) kvsetkeys.sty 2016/05/16 v1.17 Key value parser (HO) kvdefinekeys.sty 2016/05/16 v1.4 Define keys (HO) pdftexcmds.sty 2017/03/19 v0.25 Utility functions of pdfTeX for LuaTeX (HO) pdfescape.sty 2016/05/16 v1.14 Implements pdfTeX's escape features (HO) bigintcalc.sty 2016/05/16 v1.4 Expandable calculations on big integers (HO) bitset.sty 2016/05/16 v1.2 Handle bit-vector datatype (HO) uniquecounter.sty 2016/05/16 v1.3 Provide unlimited unique counter (HO) letltxmacro.sty 2016/05/16 v1.5 Let assignment for LaTeX macros (HO) hopatch.sty 2016/05/16 v1.3 Wrapper for package hooks (HO) xcolor-patch.sty 2016/05/16 xcolor patch atveryend.sty 2016/05/16 v1.9 Hooks at the very end of document (HO) atbegshi.sty 2016/06/09 v1.18 At begin shipout hook (HO) refcount.sty 2016/05/16 v3.5 Data extraction from label references (HO) hycolor.sty 2016/05/16 v1.8 Color options for hyperref/bookmark (HO) ifxetex.sty 2010/09/12 v0.6 Provides ifxetex conditional auxhook.sty 2016/05/16 v1.4 Hooks for auxiliary files (HO) kvoptions.sty 2016/05/16 v3.12 Key value format for package options (HO) pd1enc.def 2017/03/14 v6.85a Hyperref: PDFDocEncoding definition (HO) hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive url.sty 2013/09/16 ver 3.4 Verb mode for urls, etc. hxetex.def 2017/03/14 v6.85a Hyperref driver for XeTeX puenc.def 2017/03/14 v6.85a Hyperref: PDF Unicode definition (HO) stringenc.sty 2016/05/16 v1.11 Convert strings between diff. encodings (HO) rerunfilecheck.sty 2016/05/16 v1.8 Rerun checks for auxiliary files (HO) colortbl.sty 2012/02/13 v1.0a Color table columns (DPC) array.sty 2016/10/06 v2.4d Tabular extension package (FMi) color.sty 1999/02/16 v1.0i Standard LaTeX Color (DPC) color.cfg 2016/01/02 v1.6 sample color configuration nameref.sty 2016/05/21 v2.44 Cross-referencing by name of section gettitlestring.sty 2016/05/16 v1.5 Cleanup title references (HO) artikel.out artikel.out fruits.jpg Graphic file (type bmp) se-ascii-print.def 2016/05/16 v1.11 stringenc: Printable ASCII characters *********** Regards Johann -- J.H. Spies - Tel. 021-982 2694 / 082 782 0336 / 021-808 4699(w) Posbus 4668, Tygervallei 7536 "And be ye kind one to another, tenderhearted, forgiving one another, even as God for Christ's sake hath forgiven you." Ephesians 4:32 From d.p.carlisle at gmail.com Fri Jul 7 14:35:34 2017 From: d.p.carlisle at gmail.com (David Carlisle) Date: Fri, 7 Jul 2017 13:35:34 +0100 Subject: [XeTeX] Problem involving \includegraphics after texlive update on Debian Tesing In-Reply-To: <20170707123204.3uaagapffbao6j6h@kiekie> References: <20170707115452.zzpaksezhizgxjbz@kiekie> <20170707123204.3uaagapffbao6j6h@kiekie> Message-ID: graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR) keyval.sty 1999/03/16 v1.13 key=value parser (DPC) graphics.sty 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR) trig.sty 1999/03/16 v1.09 sin cos tan (DPC) graphics.cfg 2016/06/04 v1.11 sample graphics configuration xetex.def 2017/06/24 v5.0h Graphics/color driver for xetex Check the full paths as shown in the log, you are using a new xetex.def with a graphicx.sty from last century. This usually means you have a mixture of tex distributions in your path. David From news3 at nililand.de Fri Jul 7 14:40:01 2017 From: news3 at nililand.de (Ulrike Fischer) Date: Fri, 7 Jul 2017 14:40:01 +0200 Subject: [XeTeX] Problem involving \includegraphics after texlive update on Debian Tesing References: <20170707115452.zzpaksezhizgxjbz@kiekie> <20170707123204.3uaagapffbao6j6h@kiekie> Message-ID: <1iimcbu90iee1$.dlg@nililand.de> Am Fri, 7 Jul 2017 14:32:05 +0200 schrieb Johann Spies: > graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR) > keyval.sty 1999/03/16 v1.13 key=value parser (DPC) > graphics.sty 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR) > trig.sty 1999/03/16 v1.09 sin cos tan (DPC) As David already suspected: your graphics package is outdated. I have: graphicx.sty 2017/06/01 v1.1a Enhanced LaTeX Graphics (DPC,SPQR) keyval.sty 2014/10/28 v1.15 key=value parser (DPC) graphics.sty 2017/06/25 v1.2c Standard LaTeX Graphics (DPC,SPQR) trig.sty 2016/01/03 v1.10 sin cos tan (DPC) -- Ulrike Fischer http://www.troubleshooting-tex.de/ From johann.spies at alterit.co.za Fri Jul 7 14:49:27 2017 From: johann.spies at alterit.co.za (Johann Spies) Date: Fri, 7 Jul 2017 14:49:27 +0200 Subject: [XeTeX] Problem involving \includegraphics after texlive update on Debian Tesing[Solved] In-Reply-To: References: <20170707115452.zzpaksezhizgxjbz@kiekie> Message-ID: <20170707124927.rg46wht42zqx3ox3@kiekie> Hallo David, On Fri, Jul 07, 2017 at 01:12:36PM +0100, David Carlisle wrote: > \Gin at log is defined in the core graphics.sty so it would seem that you > have updated xetex.def but not graphics itself, or perhaps have an > old copy in your path > Thanks for your spoton answer. I discovered three older versions of graphics.sty in /usr/local/... dating many years back. After removing them and running ``sudo texhash'', I could now compile the file with success. Regards Johann -- J.H. Spies - Tel. 021-982 2694 / 082 782 0336 / 021-808 4699(w) Posbus 4668, Tygervallei 7536 "And be ye kind one to another, tenderhearted, forgiving one another, even as God for Christ's sake hath forgiven you." Ephesians 4:32