FS#21251 - [texlive-core] Cannot use captions in figures and tables with TeXLive 2010's XeTeX

Attached to Project: Arch Linux
Opened by Evangelos Foutras (foutrelis) - Thursday, 14 October 2010, 14:57 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Wednesday, 20 October 2010, 16:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



The error I receive is "LaTeX Error: Command \nobreakspace unavailable in encoding EU1.". I'm not sure what this means or how it can be fixed.

The only reference I could find to this issue is at http://comments.gmane.org/gmane.comp.tex.live/27209.

Additional info:
* package version(s):

texlive-bin 2010.1-4
texlive-core 2010.19888-2

Steps to reproduce:

Download attached test case and run the command: `xelatex xetex-caption-test.tex'.
This task depends upon

Closed by  Rémy Oudompheng (remyoudompheng)
Wednesday, 20 October 2010, 16:23 GMT
Reason for closing:  Upstream
Additional comments about closing:  Probably an incompatibility due to mixing deprecated packages.
Comment by Rémy Oudompheng (remyoudompheng) - Thursday, 14 October 2010, 16:39 GMT
I'm a bit puzzled. For example, choosing the 'minimal' document class triggers a stack overflow, and enabling fontspec (which depends on xunicode) instead of xunicode makes the error disappear.
Comment by Evangelos Foutras (foutrelis) - Tuesday, 19 October 2010, 16:46 GMT
Hmmm, moving \usepackage{xltxtra} above \usepackage{xunicode} works too! So I guess this is fine for my needs, though I'd be interested to know whether this is expected behavior, and why it worked with TeXLive 2009.

Rémy, are the TeXLive 2010 packages in the repos a "final" release, or sort of like development snapshots?
Comment by Rémy Oudompheng (remyoudompheng) - Tuesday, 19 October 2010, 17:39 GMT
They are supposed to be final, I'm waiting for Will Robertson to update fontspec because of serious bugfixes and I'll do a last update of texlive-core, there are also symlinks to move and minor changes to make.
Comment by Evangelos Foutras (foutrelis) - Tuesday, 19 October 2010, 17:49 GMT
A fontspec update would be very welcome; it would solve this issue: https://bbs.archlinux.org/viewtopic.php?id=106512.

Regarding this bug, do you think it should be brought to upstream's attention?
Comment by Rémy Oudompheng (remyoudompheng) - Tuesday, 19 October 2010, 19:34 GMT
The use of xltxtra seems to be deprecated (see xltxtra README file on github): do you explicitly need it ?
Comment by Evangelos Foutras (foutrelis) - Wednesday, 20 October 2010, 15:26 GMT
Removing xltxtra (and using only xunicode) produces an "Undefined control sequence" error on a document in which I use the \setmainfont command. However, it appears that I can replace the xltxtra/xunicode combo with fontspec and it'll work just fine. :)

So, I'll start using fontspec from now on; feel free to close this bug. :)