Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1775955 - texlive-2019: no longer able to use newtxmath + xcharter (cannot find encoding file)
Summary: texlive-2019: no longer able to use newtxmath + xcharter (cannot find encodin...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: texlive
Version: 31
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-23 23:24 UTC by Christoph Erhardt
Modified: 2019-12-06 05:44 UTC (History)
2 users (show)

Fixed In Version: texlive-2019-9.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-06 05:44:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Minimal example (93 bytes, text/x-tex)
2019-11-23 23:24 UTC, Christoph Erhardt
no flags Details

Description Christoph Erhardt 2019-11-23 23:24:06 UTC
Created attachment 1639075 [details]
Minimal example

Description of problem:
When I try to use XCharter as maths font (set with the help of the newtxmath package), my LaTeX document fails to build.

Version-Release number of selected component (if applicable):
2019

How reproducible:
Always. This used to work with TeX Live 2018 on Fedora 31, before the 2019 update was pushed.

Steps to Reproduce:
1. Download the attached minimal example (test.tex).
2. Run in a terminal: lualatex test.tex

Actual results:
! error:  (type 1): cannot find encoding file 'xch_tuu2ww.enc' for reading
!  ==> Fatal error occurred, no output PDF file produced!

Expected results:
LuaLaTeX should run without error and should produce a PDF file.

Additional info:
The error occurs regardless of whether I call lualatex, xelatex or pdflatex.

Since I'm not familiar with how font encoding works in TeX, I'm not sure what the root cause is here. Apparently, a required encoding file is missing:
$ find /usr/share/texlive -iname '*tuu2ww*'
(no output)

But that encoding string is still referenced in the installation:
$ rg -l tuu2ww /usr/share/texlive 
/usr/share/texlive/texlive.tlpdb
/usr/share/texlive/texmf-dist/fonts/map/pdftex/updmap/pdftex.map
/usr/share/texlive/texmf-dist/fonts/map/pdftex/updmap/pdftex_ndl14.map
/usr/share/texlive/texmf-dist/fonts/map/pdftex/updmap/pdftex_dl14.map
/usr/share/texlive/texmf-dist/fonts/map/dvips/updmap/psfonts.map
/usr/share/texlive/texmf-dist/fonts/map/dvips/updmap/psfonts_t1.map
/usr/share/texlive/texmf-dist/fonts/map/dvips/updmap/psfonts_pk.map
/usr/share/texlive/texmf-dist/fonts/map/dvips/updmap/ps2pk.map

Note that RPM offers contradictory claims about the contents and capabilities of the texlive-xcharter package:
$ rpm -ql texlive-xcharter | grep -i tuu2ww
(no output)
$ rpm -q --provides texlive-xcharter | grep tuu2ww
tex(xch_tuu2ww.enc) = 2019

Comment 1 Christoph Erhardt 2019-12-02 08:58:58 UTC
The font maps provided by texlive-updmap-map do not match the font files provided by texlive-xcharter.

We need at least texlive-updmap-map-svn52078. See the following diff in the upstream repository:
https://tug.org/svn/texlive/trunk/Master/texmf-dist/fonts/map/pdftex/updmap/pdftex.map?r1=51762&r2=52078

Comment 2 Tom "spot" Callaway 2019-12-02 18:51:35 UTC
Good catch. A fixed build with newer updmap-map (and proper xcharter provides) is building now, will push as an f31 update as soon as it finishes.

Comment 3 Fedora Update System 2019-12-02 22:14:24 UTC
FEDORA-2019-a0ceb6f9a9 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-a0ceb6f9a9

Comment 4 Fedora Update System 2019-12-03 13:48:34 UTC
FEDORA-2019-875c14f512 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-875c14f512

Comment 5 Fedora Update System 2019-12-04 02:20:30 UTC
texlive-2019-9.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-875c14f512

Comment 6 Fedora Update System 2019-12-06 05:44:57 UTC
texlive-2019-9.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.


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