| Summary: | app-text/xetex-0.995 supplies xkeyval.sty as does also tetex, and xelatex gets tetex's version which does not work quite right with xetex | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Ferris McCormick (RETIRED) <fmccor> |
| Component: | Current packages | Assignee: | Joshua (RETIRED) <joslwah> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | amd64, gour, sparc, text-markup+disabled |
| Priority: | High | ||
| Version: | 2006.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
(1) Assign to joslwah, although I don't think it's really his problem. He'll know where to send it, though;
(2) Add arch's on which I am working;
(3) CC the tetex people
I am doing this in two stages because bugzilla makes me do it that way.
By the way, I made the changes on a running system, so those copies and edits are really in the directory /usr/share/texmf/tex/xelatex. And yes, you need both the .sty and .tex files because the .sty file might decide to read in the .tex file.
I haven't thought through what all needs to be changed in the .ebuild if this turns out to be the best solution. Another possibility is to just replace the latex xkeyval.{sty,tex} files with xetex's versions, but I have not bothered to check to see if latex works with them.
Fix summary. >
> My "solution" to this has been:
I dl-ed and installed newer xkeyval in tetex tree and xetex is now happy :-)
Probably moving to TexLive would be a better solution for a long run ;)
Sincerely,
Gour
Can you let me know the results of:
egrep xelatex /etc/texmf/web2c/texmf.cnf
egrep xetex /etc/texmf/web2c/texmf.cnf
Thanks very much.
(In reply to comment #4) > Can you let me know the results of: > egrep xelatex /etc/texmf/web2c/texmf.cnf > egrep xetex /etc/texmf/web2c/texmf.cnf > > Thanks very much. > Sure. Here they are: fmccor@terciopelo ~ [137]% egrep xelatex /etc/texmf/web2c/texmf.cnf TEXINPUTS.xelatex = .;$TEXMF/tex/{latex,generic,}// fmccor@terciopelo ~ [138]% egrep xetex /etc/texmf/web2c/texmf.cnf TEXINPUTS.xetex = .;$TEXMF/tex/{plain,generic,}// (In reply to comment #1) > (1) Assign to joslwah, although I don't think it's really his problem. He'll > know where to send it, though; O.k. I've found a fix, I think. So won't be sending it anywhere until we know that it does work. > (2) Add arch's on which I am working; > (3) CC the tetex people > > I am doing this in two stages because bugzilla makes me do it that way. > > By the way, I made the changes on a running system, so those copies and edits > are really in the directory /usr/share/texmf/tex/xelatex. And yes, you need > both the .sty and .tex files because the .sty file might decide to read in the > .tex file. > What was going wrong was that tex/xelatex wasn't in the xelatex kpse search path. Added in /etc/texmf/web2c/texmf.cnf if not present. This should fix the issue. > I haven't thought through what all needs to be changed in the .ebuild if this > turns out to be the best solution. Another possibility is to just replace the > latex xkeyval.{sty,tex} files with xetex's versions, but I have not bothered to > check to see if latex works with them. > Please re-emerge xetex and try again. It hopefully should work now. That fixed it. Thanks. I'm marking this as fixed. |
I am reporting against xetex because it is the newcomer; problem is really with a name conflict and tetex's search scheme. xetex supplies /usr/share/texmf/tex/xelatex/xkeyval/xkeyval.sty tetex supplies /usr/share/texmf/tex/latex/xkeyval/xkeyval.sty xelatex \use{fontspec} loads xkeyval.sty, and ends up getting the latex version because of the order in which tex searches for files to resolve such a request. Unfortunately, fontspec doesn't quite work with the latex version of xkeyval because of a call to \define@choicekey, if nothing else. My "solution" to this has been: (1) copy the xetex versions of xkeyval.{sty,tex} to xekeyval,{sty,tex} (2) Change every instance of xkeyval to xekeyval in the xekeyval.{sty,tex} files (3) Change fontspec.sty to require xekeyval (4) tex-hash After this, everything works as expected.