#11908 closed defect (wontfix)
BUG: XeTeX-0.995 problems with graphicx, fontspec
Reported by: | com-macosforge@… | Owned by: | pguyot (Paul Guyot) |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | ports | Version: | |
Keywords: | XeTeX | Cc: | |
Port: |
Description
The XeTeX port doesn't work for me (the same file works with a non-MacPorts installation of XeTeX) if I try to use the fontspec or graphicx packages.
For example, the following simple file:
%!TEX TS-program = xelatex \documentclass{article} \usepackage[xetex]{graphicx} \begin{document} \end{document}
gives:
This is XeTeX, Version 3.141592-2.2-0.995 (Web2C 7.5.5) entering extended mode (./sample.tex LaTeX2e <2003/12/01> Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis h, portuges, romanian, russian, slovak, slovene, spanish, swedish, turkish, noh yphenation, loaded. (/local/MacPorts-ppc/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (/local/MacPorts-ppc/share/texmf-dist/tex/latex/base/size10.clo)) (/local/MacPorts-ppc/share/texmf-dist/tex/latex/graphics/graphicx.sty (/local/MacPorts-ppc/share/texmf-dist/tex/latex/graphics/keyval.sty) (/local/MacPorts-ppc/share/texmf-dist/tex/latex/graphics/graphics.sty (/local/MacPorts-ppc/share/texmf-dist/tex/latex/graphics/trig.sty) (/local/MacPorts-ppc/share/texmf-dist/tex/latex/graphics/graphics.cfg) ! LaTeX Error: Unknown option `xetex' for package `graphics'. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.72 \if !\Gin@driver! ?
If I try to use the fontspec package instead (\usepackage{fontspec}
):
This is XeTeX, Version 3.141592-2.2-0.995 (Web2C 7.5.5) entering extended mode (./sample.tex LaTeX2e <2003/12/01> Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis h, portuges, romanian, russian, slovak, slovene, spanish, swedish, turkish, noh yphenation, loaded. (/local/MacPorts-ppc/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (/local/MacPorts-ppc/share/texmf-dist/tex/latex/base/size10.clo)) (/local/MacPorts-ppc/share/texmf-dist/tex/xelatex/fontspec/fontspec.sty (/local/MacPorts-ppc/share/texmf-dist/tex/generic/ifxetex/ifxetex.sty) (/local/MacPorts-ppc/share/texmf-dist/tex/latex/tools/calc.sty) (/local/MacPorts-ppc/share/texmf-dist/tex/latex/xkeyval/xkeyval.sty (/local/MacPorts-ppc/share/texmf-dist/tex/generic/xkeyval/xkeyval.tex (/local/MacPorts-ppc/share/texmf-dist/tex/generic/xkeyval/keyval.tex))) LaTeX Warning: You have requested, on input line 39, version `2005/05/07' of package xkeyval, but only version `2005/01/30 v2.0 package option processing (HA)' is available. ! Undefined control sequence. l.503 \define@choicekey [zf]{preparse}{Renderer}{AAT,ICU}{% ?
Change History (7)
comment:1 Changed 18 years ago by wlynch@…
comment:2 Changed 17 years ago by markd@…
Summary: | XeTeX problems with graphicx, fontspec → BUG: XeTeX-0.995 problems with graphicx, fontspec |
---|
comment:3 Changed 17 years ago by edward.og@…
This problem has been documented here: http://tug.org/mailman/htdig/xetex/2005-March/001946.html
The fix is to change /opt/local/share/texmf/web2c/texmf.cnf (found by running $kpsewhich texmf.cnf) so that the % XeTeX section looks like this:
% XeTeX TEXINPUTS.xelatex = .;$TEXMF/{xetex,tex}/{xelatex,latex,generic,} TEXINPUTS.xetex = .;$TEXMF/{xetex,tex}/{xetex,plain,generic,}
comment:4 Changed 17 years ago by edward.og@…
Sorry, that should be
> % XeTeX > TEXINPUTS.xelatex = .;$TEXMF/{xetex,tex}/{xelatex,latex,generic,}// > TEXINPUTS.xetex = .;$TEXMF/{xetex,tex}/{xetex,plain,generic,}//
comment:5 Changed 17 years ago by nox@…
Milestone: | → Port Bugs |
---|---|
Priority: | Important → High |
comment:6 Changed 16 years ago by pguyot (Paul Guyot)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
XeTeX is now included in texlive.
Note: See
TracTickets for help on using
tickets.
I'm getting a pile of errors with that as well (and I have a working installation from texlive)... Here's a header that I've been using that works pretty well for me. Might work for you as well.