Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194845 - If tetex is reinstalled after xetex, then xelatex TEXINPUTS paths are no longer correct.
Summary: If tetex is reinstalled after xetex, then xelatex TEXINPUTS paths are no long...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-05 19:12 UTC by Ferris McCormick (RETIRED)
Modified: 2007-10-06 02:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ferris McCormick (RETIRED) gentoo-dev 2007-10-05 19:12:11 UTC
Because of a couple version conflicts in .sty files, for xelatex to work correctly, xetex must set the following in /etc/texmf/web2c/texmf.cnf
TEXINPUTS.xelatex = .;$TEXMF/tex/{xelatex,latex,generic,}//
TEXINPUTS.xetex   = .;$TEXMF/tex/{plain,generic,}//

and in fact it soes so.

However, if after this for some reason we reinstall tetex (for example, because of a version upgrade), we end up with this in /etc/texmf/web2c/texmf.cnf:
TEXINPUTS.xelatex = .;$TEXMF/tex/{latex,generic,}//
TEXINPUTS.xetex   = .;$TEXMF/tex/{plain,generic,}//
and xelatex no longer works correctly (failure looks like this):
! Undefined control sequence.
\define@choicekey
                       [zf]{preparse}{Renderer}{AAT,ICU}{%

Fixing this requires either a reinstall of xetex or editing /etc/texmf/web2c/texmf.cnf by hand to fix it.

This seems to be independent of tetex versions; at least, for tetex-3.0_p1-r3/r4
Comment 1 Joshua (RETIRED) gentoo-dev 2007-10-06 02:28:56 UTC
You are correct.  Unfortunately when you reinstall tetex you need to reinstall xetex afterwards.  It is as simple as that.

Longer term the plan is to move to texlive and get the xetex from there, since, as from TeXLive 2007 xetex is a full part and we should be using that.