Bug 1595278
Summary: | Unable to use ACM LaTeX class with pdflatex | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Marco Guazzone <marco.guazzone> |
Component: | texlive | Assignee: | Tom "spot" Callaway <tcallawa> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 28 | CC: | akiyks, gc, jhaiduce, marco.guazzone, ngmarchant.public, simon, tcallawa, than |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | texlive-2016-51.20160520.fc28 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-08-07 01:14:25 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Attachments: |
Description
Marco Guazzone
2018-06-26 13:21:39 UTC
Created attachment 1454653 [details]
The expected PDF file
This file is the one contained in the acmart-master.zip. I've just renamed it from 'sample-sigconf.pdf' to 'sample-sigconf-ok.pdf' to avoid any confusion.
Created attachment 1454654 [details]
The PDF file obtained by converting the DVI file generated by latex
This PDF file has been obtained with the following commands:
$ latex sample-sigconf
$ dvipdfmx sample-sigconf
The generated PDF file looks different from the expected one (see 'sample-sigconf-ok.pdf').
Created attachment 1454667 [details]
List of dependencies required to use ACM LaTeX class
If you run: sudo updmap-sys Does this resolve the issue? I think I need to add that call to the filetriggers. Created attachment 1454790 [details]
Log generated by the command 'pdflatex sample-sigconf' after 'sudo updmap-sys'
Hmmm. what version of texlive-newtx do you have installed? (rpm -q texlive-newtx) Created attachment 1454792 [details]
Log generated by the command 'sudo updmap-sys'
Look for the ERROR label
(In reply to Tom "spot" Callaway from comment #4) > If you run: > > sudo updmap-sys > > Does this resolve the issue? > > I think I need to add that call to the filetriggers. Unfortunately, it does not. I get the same error (see the full log in the attached file 'sample-sigconf-after_updmap-sys.log'): ... kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+540/600 --dpi 540 txsys mktexpk: don't know how to create bitmap font for txsys. mktexpk: perhaps txsys is missing from the map file. kpathsea: Appending font creation commands to missfont.log. ) !pdfTeX error: pdflatex (file txsys): Font txsys at 540 not found ==> Fatal error occurred, no output PDF file produced! I've noted that updmap-sys generates errors too (see the attached file 'updmap-sys.log'): updmap [ERROR]: Did you run mktexlsr? You can disable non-existent map entries using the option --syncwithtrees. (In reply to Tom "spot" Callaway from comment #6) > Hmmm. what version of texlive-newtx do you have installed? (rpm -q > texlive-newtx) texlive-newtx-svn45279-47.fc28.2.noarch JFYI, I'm seeing a similar symptom *after* the recent update of texlive packages including texlive-base-20170520-37.fc28.x86_64. A LaTeX source which uses fonts in 'newtx' ends up in an error message at the tail (after memory usage statistics): {/usr/share/texlive/texmf-dist/fonts/enc/dvips/tex-gyre/q-ec.enc} !pdfTeX error: pdflatex (file txbsys): Font txbsys at 438 not found ===> Fatal error occurred, no output PDF file produced! Following is the list of texlive packages I've specified to 'dnf install': * texlive-collection-binextra * texlive-collection-latexextra * texlive-collection-fontsextra I was trying to prepare a small enough example to reproduce, but unable to do so. Thanks, Akira I am having the same problem. Here is some minimum LaTeX code to reproduce: [code] \documentclass{article} \usepackage{newtxmath} \begin{document} $\bullet$ \end{document} [/code] sudo updmap-sys did not help. I confirm it. It is the last texlive update that broke it. A dnf downgrade texlive-* fixed it and I can compile all my papers again. Can somebody upgrade the severity to critical, please? People who are using pdflatex on daily basis are really stuck (unless they do my fix which means that they check bugzilla) I'm working on this today. Okay. I'm still trying to figure out _why_, but the new texlive-newtx package is what is causing this issue. Temporary workaround: sudo dnf downgrade texlive-newtx Could someone with all the latest updates applied try: sudo updmap-sys --force --enable Map=newtx.map (In reply to Tom "spot" Callaway from comment #15) > Could someone with all the latest updates applied try: > > sudo updmap-sys --force --enable Map=newtx.map Tried it, that does not seem to help. (also tried running 'sudo mktexlsr' afterward which didn't help either) I really hate texlive sometimes. On my test VM, running that command resolves the issue. Do you have any copies of pdftex.map on your system anywhere? Maybe in ~/.texlive* ? I tried too. The issue is still here. Running "locate pdftex.map" I get: /usr/share/texlive/texmf-dist/fonts/map/pdftex/updmap/pdftex.map I don't have any ~/.texlive directory. Same here. Nothing in ~/.texlive* , but there is /usr/share/texlive/texmf-dist/fonts/map/pdftex/updmap/pdftex.map . Do you have /var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map ? No: $ ls /var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map ls: cannot access '/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map': No such file or directory Okay. On my F28 VM, when I run: sudo updmap-sys --force --enable Map=newtx.map the end of the log report shows: Files generated: /usr/share/texlive/texmf-var/fonts/map/dvips/updmap: 15786 2018-06-28 16:04:30 builtin35.map 21259 2018-06-28 16:04:30 download35.map 1828142 2018-06-28 16:04:30 psfonts_pk.map 1899383 2018-06-28 16:04:30 psfonts_t1.map 1897823 2018-06-28 16:04:30 ps2pk.map 14 2018-06-28 16:04:30 psfonts.map -> psfonts_t1.map /usr/share/texlive/texmf-var/fonts/map/pdftex/updmap: 1897830 2018-06-28 16:04:30 pdftex_dl14.map 1901509 2018-06-28 16:04:30 pdftex_ndl14.map 15 2018-06-28 16:04:30 pdftex.map -> pdftex_dl14.map /usr/share/texlive/texmf-var/fonts/map/dvipdfmx/updmap: 2472 2018-06-28 16:04:29 kanjix.map ***** /usr/share/texlive/texmf-var is a symlink to /var/lib/texmf $ ls -l /usr/share/texlive/texmf-var lrwxrwxrwx. 1 root root 14 Jun 11 10:21 /usr/share/texlive/texmf-var -> /var/lib/texmf Where are your updmap-sys files generating? Are you sure that all of your texlive-* packages have been updated? $ sudo dnf update Last metadata expiration check: 0:45:49 ago on Thu 28 Jun 2018 09:24:39 PM CEST. Dependencies resolved. Nothing to do. Complete! $ ls -l /usr/share/texlive/texmf-var lrwxrwxrwx. 1 root root 14 Jun 11 16:21 /usr/share/texlive/texmf-var -> /var/lib/texm $ sudo updmap-sys --force --enable Map=newtx.map updmap will read the following updmap.cfg files (in precedence order): /usr/share/texlive/texmf-config/web2c/updmap.cfg /usr/share/texlive/texmf-dist/web2c/updmap.cfg updmap may write changes to the following updmap.cfg file: /usr/share/texlive/texmf-config/web2c/updmap.cfg dvips output dir: "/usr/share/texlive/texmf-var/fonts/map/dvips/updmap" pdftex output dir: "/usr/share/texlive/texmf-var/fonts/map/pdftex/updmap" dvipdfmx output dir: "/usr/share/texlive/texmf-var/fonts/map/dvipdfmx/updmap" updmap [WARNING]: font pcrr8rn is defined multiple times: [... big cut ...] updmap [ERROR]: yv1.map (in /usr/share/texlive/texmf-config/web2c/updmap.cfg) updmap [ERROR]: yv2.map (in /usr/share/texlive/texmf-config/web2c/updmap.cfg) updmap [ERROR]: yv3.map (in /usr/share/texlive/texmf-config/web2c/updmap.cfg) updmap [ERROR]: yvo.map (in /usr/share/texlive/texmf-config/web2c/updmap.cfg) updmap [ERROR]: yvt.map (in /usr/share/texlive/texmf-config/web2c/updmap.cfg) updmap [ERROR]: Did you run mktexlsr? You can disable non-existent map entries using the option --syncwithtrees. Sorry, the output of the second command was incomplete: $ ls -l /usr/share/texlive/texmf-var lrwxrwxrwx. 1 root root 14 Jun 11 16:21 /usr/share/texlive/texmf-var -> /var/lib/texmf Okay, lets try: sudo updmap-sys --syncwithtrees Then, try: sudo updmap-sys --force --enable Map=newtx.map It works! pdflatex successfully generates the PDF. $ sudo updmap-sys --syncwithtrees updmap will read the following updmap.cfg files (in precedence order): /usr/share/texlive/texmf-config/web2c/updmap.cfg /usr/share/texlive/texmf-dist/web2c/updmap.cfg updmap may write changes to the following updmap.cfg file: /usr/share/texlive/texmf-config/web2c/updmap.cfg updmap [WARNING]: font pagdo8r is defined multiple times: [... big cut ...] Missing map files found, disabling Acorn.map (in /usr/share/texlive/texmf-config/web2c/updmap.cfg) Alegreya.map (in /usr/share/texlive/texmf-config/web2c/updmap.cfg) AnnSton.map (in /usr/share/texlive/texmf-config/web2c/updmap.cfg) AnonymousPro.map (in /usr/share/texlive/texmf-config/web2c/updmap.cfg) ArrowsADF.map (in /usr/share/texlive/texmf-config/web2c/updmap.cfg) ArtNouv.map (in /usr/share/texlive/texmf-config/web2c/updmap.cfg) [... big cut ...] yv3.map (in /usr/share/texlive/texmf-config/web2c/updmap.cfg) yvo.map (in /usr/share/texlive/texmf-config/web2c/updmap.cfg) yvt.map (in /usr/share/texlive/texmf-config/web2c/updmap.cfg) in /usr/share/texlive/texmf-config/web2c/updmap.cfg Do you really want to continue (y/N)? y answer =y= /usr/bin/updmap --syncwithtrees finished. Now you need to run updmap normally to recreate map files. $ sudo updmap-sys --force --enable Map=newtx.map [... big cut ...] Scanning for LW35 support files [ 3 files] Scanning for MixedMap entries [ 20 files] Scanning for KanjiMap entries [ 11 files] Scanning for Map entries [134 files] Generating output for dvipdfmx... Generating output for ps2pk... Generating output for dvips... Generating output for pdftex... Files generated: /usr/share/texlive/texmf-var/fonts/map/dvips/updmap: 15786 2018-06-28 22:41:35 builtin35.map 21259 2018-06-28 22:41:35 download35.map 1768095 2018-06-28 22:41:36 psfonts_pk.map 1898930 2018-06-28 22:41:35 psfonts_t1.map 1895726 2018-06-28 22:41:35 ps2pk.map 14 2018-06-28 22:41:36 psfonts.map -> psfonts_t1.map /usr/share/texlive/texmf-var/fonts/map/pdftex/updmap: 1895733 2018-06-28 22:41:36 pdftex_dl14.map 1899412 2018-06-28 22:41:36 pdftex_ndl14.map 15 2018-06-28 22:41:36 pdftex.map -> pdftex_dl14.map /usr/share/texlive/texmf-var/fonts/map/dvipdfmx/updmap: 4784 2018-06-28 22:41:35 kanjix.map Transcript written on "/usr/share/texlive/texmf-var/web2c/updmap.log". updmap: Updating ls-R files. $ pdflatex sample-sigconf ... Output written on sample-sigconf.pdf (4 pages, 630928 bytes). Transcript written on sample-sigconf.log. (In reply to Tom "spot" Callaway from comment #25) > Okay, lets try: > > sudo updmap-sys --syncwithtrees > > Then, try: > > sudo updmap-sys --force --enable Map=newtx.map Works for me too! Okay. I'm going to put those two calls in the scriptlets to run whenever fontmaps change, so hopefully, this won't happen for anyone else and require manual intervention. (In reply to Tom "spot" Callaway from comment #28) > Okay. I'm going to put those two calls in the scriptlets to run whenever > fontmaps change, so hopefully, this won't happen for anyone else and require > manual intervention. Tom, thanks for your time. I confirm all the above: # dnf update -x texlive-newtx* pdflatex compilation works # dnf update texlive-newtx* pdflatex compilation is broken # updmap-sys --syncwithtrees # updmap-sys --force --enable Map=newtx.map pdflatex compilation works again Thank you Tom! The workaround works for the LaTeX source I mentioned in Comment 10. However, the one using "newtxsf" font fails to build in a different way. Minimal code to reproduce (inspired from Comment 11): [code] \documentclass{article} \usepackage{newtxsf} \begin{document} $\bullet$ \end{document} [/code] Excerpt of error messages in .log is as follows: --- [...] LaTeX Font Info: Checking defaults for OML/ntxsfmi/m/it on input line 4. LaTeX Font Info: Try loading font information for OML+ntxsfmi on input line 4. (/usr/share/texlive/texmf-dist/tex/latex/newtxsf/omlntxsfmi.fd File: omlntxsfmi.fd 2014/11/16 Fontinst v1.933 font definitions for OML/ntxsfmi . ) LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for OMS/ntxsy/m/n on input line 4. LaTeX Font Info: Try loading font information for OMS+ntxsy on input line 4. No file OMSntxsy.fd. ! LaTeX Error: This NFSS system isn't set up properly. --- Downgrading texlive-newtxsf doesn't help. Is there any way to fix this? Thanks, Akira (In reply to akiyks from comment #31) > Downgrading texlive-newtxsf doesn't help. > Is there any way to fix this? That file (OMSntxsy.fd) was removed when newtx updated, I need to also update newtxsf to a newer version so that the newtxsf.sty doesn't try to use that missing file. Going to try to roll all of the texlive fixes into one update, this one will be in it. texlive-base-20170520-39.fc28 texlive-2016-49.20160520.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-3a432edcc8 texlive-2016-49.20160520.fc28, texlive-base-20170520-39.fc28 has been pushed to the Fedora 28 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-2018-3a432edcc8 texlive-2016-50.20160520.fc28 texlive-base-20170520-40.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-3a432edcc8 texlive-2016-50.20160520.fc28, texlive-base-20170520-40.fc28 has been pushed to the Fedora 28 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-2018-3a432edcc8 After downloading texlive-newtx-6:svn45279-50.fc28.2.noarch from updates-testing I am still having the problem originally mentioned in this bug report, where I can't build the default sample-sigconf.tex with the error "mktexpk: don't know how to create bitmap font for txsys. mktexpk: perhaps txsys is missing from the map file." I am able to build the documentu after manually running the two updmap-sys I am able to successfully build using the downgraded texlive-newtx-6:svn45279-47.fc28.2.noarch with no manual configuration (In reply to Simon Redman from comment #37) > After downloading texlive-newtx-6:svn45279-50.fc28.2.noarch from > updates-testing I am still having the problem originally mentioned in this > bug report, where I can't build the default sample-sigconf.tex with the > error "mktexpk: don't know how to create bitmap font for txsys. mktexpk: > perhaps txsys is missing from the map file." > > I am able to build the documentu after manually running the two updmap-sys > > I am able to successfully build using the downgraded > texlive-newtx-6:svn45279-47.fc28.2.noarch with no manual configuration Simon, the fix is in texlive-updmap-map. Get that package from updates-testing and update it too. Just did a fetch of texlive-updmap-map and texlive-newtx from updates-testing on another system, it works now! Thanks Tom! texlive-2016-51.20160520.fc28 texlive-base-20170520-41.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-3a432edcc8 texlive-2016-51.20160520.fc28, texlive-base-20170520-41.fc28 has been pushed to the Fedora 28 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-2018-3a432edcc8 texlive-2016-51.20160520.fc28, texlive-base-20170520-41.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. |