Bug 694466 - Xelatex can't output math symbols when using fontspec
Summary: Xelatex can't output math symbols when using fontspec
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: texlive
Version: 14
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-07 13:12 UTC by Richard Kimberly Heck
Modified: 2013-07-02 23:51 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-16 13:35:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Test file (135 bytes, application/x-tex)
2011-04-07 13:12 UTC, Richard Kimberly Heck
no flags Details
output from using xelatex on sample file (7.21 KB, application/pdf)
2012-10-18 12:40 UTC, Jindrich Novy
no flags Details

Description Richard Kimberly Heck 2011-04-07 13:12:34 UTC
Created attachment 490539 [details]
Test file

Xelatex can't output math symbols when using fontspec. Even leaving the font
unchanged and loading fontspec doesn't help.

This bug looks essentially like the one described here:

https://bugs.launchpad.net/ubuntu/+source/texlive-bin/+bug/364627

If you compile the test file I've attached, the sum symbol does not display.

Unfortunately, the fix described here:

http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg631117.html

does not work.

This is with fully up-to-date F14:

[rgheck@rghquad ~]$ rpm -q texlive-xetex
texlive-xetex-2007-56.fc14.x86_64

Comment 1 Fedora End Of Life 2012-08-16 13:35:37 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Dimitrios Apostolou 2012-10-17 12:57:00 UTC
This is still a bug on Fedora 17! Why does Fedora 17, a 2012 linux distribution, still use texlive-2007?

Please reopen, I don't have permission to do so.

Comment 3 Jindrich Novy 2012-10-17 13:15:07 UTC
Dimitrios, have you tried TeX Live 2012 from my repo?

# rpm -i http://jnovy.fedorapeople.org/texlive/2012/packages.fc17/texlive-release.noarch.rpm

# yum update

Comment 4 Dimitrios Apostolou 2012-10-17 14:12:23 UTC
Thanks Jindrich, I've been fighting with this the last hour or so. In particular some packages miss dependencies and I had to install them manually, like for example tex-euenc needed from tex-xltxtra I think. Now I'm having trouble with package tex-xgreek, doing \usepackage{xgreek} gives an error.

Comment 5 Jindrich Novy 2012-10-17 15:21:27 UTC
The new texlive has new virtual provides for styles so if xgreek is missing, just try:

# yum install 'tex(xgreek.sty)'

and it will install a package shipping this style.

Hope that helps.

Comment 6 Dimitrios Apostolou 2012-10-18 07:39:37 UTC
Thanks, didn't know about that syntax! However this didn't help in my case as the package was already installed.

FWIW I am assuming I am missing some obscure dependency, so when I do \usepackage{xgreek} xelatex complains with the following message: (BTW it worked on texlive-2007)


Package `xgreek' version 2.4 by Apostolos Syropoulos
! Undefined control sequence.
\ds@monogreek ->\language \l@monogreek 
                                       
l.445 \ExecuteOptions{monogreek}



Jindrich, is it easy to try \usepackage{xgreek} and tell me if it works with xelatex? I am curious if I broke something on my system.

Comment 7 Jindrich Novy 2012-10-18 07:52:59 UTC
It seems that greek hyphenation patterns aren't installed/loaded. Have you tried to install texlive-hyphen-greek to fix it? Or better is to install the whole texlive-collection-langgreek to avoid all the problems.

Comment 8 Dimitrios Apostolou 2012-10-18 08:01:24 UTC
Yes, the error is with all these packages installed (all of collection-langgreek). Is it reproducible for you? If not it's quite probable I've messed something up, that's why I'm asking.

Comment 9 Jindrich Novy 2012-10-18 12:40:11 UTC
Created attachment 629353 [details]
output from using xelatex on sample file

It seems it works for me.

Comment 10 Jindrich Novy 2012-10-18 12:41:43 UTC
Suggest to:

# rpm -qa | grep ^texlive | xargs rpm -e

and the install again:

# yum install 'tex(xetex)' texlive-collection-langgreek

Then it should be fine.

Comment 11 Dimitrios Apostolou 2012-10-18 17:22:03 UTC
Removing all and reinstalling didn't help. However I resolved the issue by doing the following:

echo "monogreek       loadhyph-el-monoton.tex" >> /usr/share/texlive/texmf/tex/generic/config/language.dat

fmtutil-sys --all


I'm not sure why language.dat didn't include monogreek, it could be a packaging bug or some misconfiguration from my part that I've forgotten about. Thanks for helping Jindrich, hopefully texlive-2012 will make it in fedora 18!

Comment 12 Dimitrios Apostolou 2012-10-18 17:27:04 UTC
Oh, and the original bug is resolved, math symbols are just fine with texlive-2012, with or without fontspec or xgreek.

Comment 13 Jindrich Novy 2012-10-18 17:47:47 UTC
Strange:

echo "monogreek       loadhyph-el-monoton.tex" >> /usr/share/texlive/texmf/tex/generic/config/language.dat

and running fmtutil-sys --all

is exactly what installation of texlive-hyphen-greek does.

Comment 14 Dimitrios Apostolou 2012-10-30 15:07:33 UTC
Are you sure it doesn't add "loadhyph-el-polyton.tex" instead of "loadhyph-el-monoton.tex"? The latter is for modern Hellenic language while the first one is for ancient.


Note You need to log in before you can comment on or make changes to this bug.