[MacPorts] #27494: dvips: ! Couldn't find header file: texnansi.enc
#27494: dvips: ! Couldn't find header file: texnansi.enc ------------------------------+--------------------------------------------- Reporter: MacPorts@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.9.2 Keywords: texlive texnansi | Port: texlive ------------------------------+--------------------------------------------- The file texnansi.enc cannot be found by dvips:
kpsewhich texnansi.enc
kpsewhich --show-path="enc files" .:/Users/me/.texlive2010/texmf-config/fonts/enc//:/Users/me/.texlive2010 /texmf- var/fonts/enc//:/Users/me/texmf/fonts/enc//:!!/opt/local/etc/texmf/fonts/enc//:!!/opt/local/var/db/texmf/fonts/enc//:!!/opt/local/share /texmf-texlive/fonts/enc//:!!/opt/local/share/texmf- local/fonts/enc//:!!/opt/local/share/texmf/fonts/enc//:!!/opt/local/share /texmf-texlive-dist/fonts/enc//
locate texnansi.enc /opt/local/share/texmf-texlive-dist/fonts/enc/dvips/lm/lm-texnansi.enc /opt/local/share/texmf-texlive-dist/fonts/enc/dvips/tex- gyre/q-texnansi.enc /opt/local/var/macports/software/texlive-fonts- recommended/19478_0+doc/opt/local/share/texmf-texlive- dist/fonts/enc/dvips/lm/lm-texnansi.enc /opt/local/var/macports/software/texlive-fonts- recommended/19478_0+doc/opt/local/share/texmf-texlive-dist/fonts/enc/dvips /tex-gyre/q-texnansi.enc
port installed | grep texlive texlive-basic @17228_0+doc (active) texlive-bin @2010_0+motif (active) texlive-bin-extra @18336_1+doc (active) texlive-common @2010_0 (active) texlive-context @18549_0+doc (active) texlive-documentation-base @17091_0+doc (active) texlive-documentation-english @18881_0+doc (active) texlive-fonts-recommended @19478_0+doc (active) texlive-fontutils @16392_0+doc (active) texlive-generic-recommended @16866_0+doc (active) texlive-lang-czechslovak @14727_2+doc (active) texlive-lang-dutch @14727_2+doc (active) texlive-lang-english @18615_0+doc (active) texlive-lang-french @14727_2+doc (active) texlive-lang-german @16731_0+doc (active) texlive-lang-italian @19087_0+doc (active) texlive-lang-polish @14727_2+doc (active) texlive-lang-portuguese @13822_2+doc (active) texlive-lang-spanish @13822_2+doc (active) texlive-latex @18674_0+doc (active) texlive-latex-extra @19538_0+doc (active) texlive-latex-recommended @18261_0+doc (active) texlive-luatex @18256_0+doc (active) texlive-math-extra @19348_0+doc (active) texlive-metapost @15388_2+doc (active) texlive-pictures @19330_0+doc (active) texlive-xetex @17780_0+doc (active)
-- Ticket URL: <https://trac.macports.org/ticket/27494> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27494: dvips: ! Couldn't find header file: texnansi.enc ------------------------------+--------------------------------------------- Reporter: MacPorts@… | Owner: dports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: texlive-basic ------------------------------+--------------------------------------------- Changes (by macsforever2000@…): * cc: MacPorts@… (removed) * priority: High => Normal * keywords: texlive texnansi => * owner: macports-tickets@… => dports@… * port: texlive => texlive-basic Old description:
The file texnansi.enc cannot be found by dvips:
kpsewhich texnansi.enc
kpsewhich --show-path="enc files" .:/Users/me/.texlive2010/texmf-config/fonts/enc//:/Users/me/.texlive2010 /texmf- var/fonts/enc//:/Users/me/texmf/fonts/enc//:!!/opt/local/etc/texmf/fonts/enc//:!!/opt/local/var/db/texmf/fonts/enc//:!!/opt/local/share /texmf-texlive/fonts/enc//:!!/opt/local/share/texmf- local/fonts/enc//:!!/opt/local/share/texmf/fonts/enc//:!!/opt/local/share /texmf-texlive-dist/fonts/enc//
locate texnansi.enc /opt/local/share/texmf-texlive-dist/fonts/enc/dvips/lm/lm-texnansi.enc /opt/local/share/texmf-texlive-dist/fonts/enc/dvips/tex- gyre/q-texnansi.enc /opt/local/var/macports/software/texlive-fonts- recommended/19478_0+doc/opt/local/share/texmf-texlive- dist/fonts/enc/dvips/lm/lm-texnansi.enc /opt/local/var/macports/software/texlive-fonts- recommended/19478_0+doc/opt/local/share/texmf-texlive- dist/fonts/enc/dvips/tex-gyre/q-texnansi.enc
port installed | grep texlive texlive-basic @17228_0+doc (active) texlive-bin @2010_0+motif (active) texlive-bin-extra @18336_1+doc (active) texlive-common @2010_0 (active) texlive-context @18549_0+doc (active) texlive-documentation-base @17091_0+doc (active) texlive-documentation-english @18881_0+doc (active) texlive-fonts-recommended @19478_0+doc (active) texlive-fontutils @16392_0+doc (active) texlive-generic-recommended @16866_0+doc (active) texlive-lang-czechslovak @14727_2+doc (active) texlive-lang-dutch @14727_2+doc (active) texlive-lang-english @18615_0+doc (active) texlive-lang-french @14727_2+doc (active) texlive-lang-german @16731_0+doc (active) texlive-lang-italian @19087_0+doc (active) texlive-lang-polish @14727_2+doc (active) texlive-lang-portuguese @13822_2+doc (active) texlive-lang-spanish @13822_2+doc (active) texlive-latex @18674_0+doc (active) texlive-latex-extra @19538_0+doc (active) texlive-latex-recommended @18261_0+doc (active) texlive-luatex @18256_0+doc (active) texlive-math-extra @19348_0+doc (active) texlive-metapost @15388_2+doc (active) texlive-pictures @19330_0+doc (active) texlive-xetex @17780_0+doc (active)
New description: The file texnansi.enc cannot be found by dvips: {{{
kpsewhich texnansi.enc
kpsewhich --show-path="enc files" .:/Users/me/.texlive2010/texmf-config/fonts/enc//:/Users/me/.texlive2010 /texmf- var/fonts/enc//:/Users/me/texmf/fonts/enc//:!!/opt/local/etc/texmf/fonts/enc//:!!/opt/local/var/db/texmf/fonts/enc//:!!/opt/local/share /texmf-texlive/fonts/enc//:!!/opt/local/share/texmf- local/fonts/enc//:!!/opt/local/share/texmf/fonts/enc//:!!/opt/local/share /texmf-texlive-dist/fonts/enc//
locate texnansi.enc /opt/local/share/texmf-texlive-dist/fonts/enc/dvips/lm/lm-texnansi.enc /opt/local/share/texmf-texlive-dist/fonts/enc/dvips/tex- gyre/q-texnansi.enc /opt/local/var/macports/software/texlive-fonts- recommended/19478_0+doc/opt/local/share/texmf-texlive- dist/fonts/enc/dvips/lm/lm-texnansi.enc /opt/local/var/macports/software/texlive-fonts- recommended/19478_0+doc/opt/local/share/texmf-texlive-dist/fonts/enc/dvips /tex-gyre/q-texnansi.enc
port installed | grep texlive texlive-basic @17228_0+doc (active) texlive-bin @2010_0+motif (active) texlive-bin-extra @18336_1+doc (active) texlive-common @2010_0 (active) texlive-context @18549_0+doc (active) texlive-documentation-base @17091_0+doc (active) texlive-documentation-english @18881_0+doc (active) texlive-fonts-recommended @19478_0+doc (active) texlive-fontutils @16392_0+doc (active) texlive-generic-recommended @16866_0+doc (active) texlive-lang-czechslovak @14727_2+doc (active) texlive-lang-dutch @14727_2+doc (active) texlive-lang-english @18615_0+doc (active) texlive-lang-french @14727_2+doc (active) texlive-lang-german @16731_0+doc (active) texlive-lang-italian @19087_0+doc (active) texlive-lang-polish @14727_2+doc (active) texlive-lang-portuguese @13822_2+doc (active) texlive-lang-spanish @13822_2+doc (active) texlive-latex @18674_0+doc (active) texlive-latex-extra @19538_0+doc (active) texlive-latex-recommended @18261_0+doc (active) texlive-luatex @18256_0+doc (active) texlive-math-extra @19348_0+doc (active) texlive-metapost @15388_2+doc (active) texlive-pictures @19330_0+doc (active) texlive-xetex @17780_0+doc (active)
}}} -- -- Ticket URL: <https://trac.macports.org/ticket/27494#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27494: dvips: ! Couldn't find header file: texnansi.enc ------------------------------+--------------------------------------------- Reporter: MacPorts@… | Owner: dports@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: texlive-basic ------------------------------+--------------------------------------------- Changes (by dports@…): * status: new => assigned Comment: I believe it's in texlive-fonts-extra -- try installing that? -- Ticket URL: <https://trac.macports.org/ticket/27494#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27494: dvips: ! Couldn't find header file: texnansi.enc ------------------------------+--------------------------------------------- Reporter: MacPorts@… | Owner: dports@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: texlive-basic ------------------------------+--------------------------------------------- Comment(by MacPorts@…): Thanks for the workaround info! I verified that I did not have texlive- fonts-extra installed. I suggest moving texnansi.enc into texlive-basic. I cannot verify the fix at present because I uninstalled texlive-* and installed MacTeX (before I knew they could sit side by side compatibly). I'll reinstall texlive-* after my next hard-drive upgrade. :-) -- Ticket URL: <https://trac.macports.org/ticket/27494#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27494: dvips: ! Couldn't find header file: texnansi.enc ------------------------------+--------------------------------------------- Reporter: MacPorts@… | Owner: dports@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: texlive-basic ------------------------------+--------------------------------------------- Comment(by dports@…): The assignment of CTAN packages to ports comes from the upstream texlive package database. It's not trivial to move packages around, so I'm not inclined to do so except for grave problems. How did this come up? -- Ticket URL: <https://trac.macports.org/ticket/27494#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27494: dvips: ! Couldn't find header file: texnansi.enc ------------------------------+--------------------------------------------- Reporter: MacPorts@… | Owner: dports@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: texlive-basic ------------------------------+--------------------------------------------- Comment(by MacPorts@…): From my point of view, dvips suddenly stopped working. It *seemed* to happen after I opened and saved an old PostScript figure in Adobe Illustrator (because its minus signs had suddenly changed to boxes), thereby replacing very old PostScript with newly generated PostScript. On my Linux system (running texlive-latex version 2007), there was no problem. On that system, texnansi.enc is provided by texlive-texmf-dvips, but that package apparently does not exist in the MacPorts structure. At the very least, I would add a dependency of the package containing dvips on the package containing texnansi.enc (said to be texlive-fonts- extra), since dvips does not produce a particularly helpful error message when the file is needed and missing. -- Ticket URL: <https://trac.macports.org/ticket/27494#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27494: dvips: ! Couldn't find header file: texnansi.enc ------------------------------+--------------------------------------------- Reporter: MacPorts@… | Owner: dports@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: texlive-basic ------------------------------+--------------------------------------------- Comment(by dports@…): I looked into this a bit and still don't understand why this problem would come up. As I understand it, texnansi.enc is a (dated?) font encoding file used by a few fonts. It doesn't appear that any of the texlive fonts or packages require it, except perhaps for a few in texlive-fonts-extra. In that case, this file is in the proper place in texlive-latex-extra. Have you perhaps installed tex fonts outside of the texlive ports? Replying to [comment:6 MacPorts@…]:
At the very least, I would add a dependency of the package containing dvips on the package containing texnansi.enc (said to be texlive-fonts- extra), since dvips does not produce a particularly helpful error message when the file is needed and missing.
This we definitely can't do as dvips is part of the core texlive installation (texlive-basic). Circular dependency issues aside, this would increase the size of even the most minimal texlive installation by a couple hundred MB. -- Ticket URL: <https://trac.macports.org/ticket/27494#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27494: dvips: ! Couldn't find header file: texnansi.enc -------------------------------+-------------------------------------------- Reporter: MacPorts@… | Owner: dports@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: wontfix | Keywords: Port: texlive-basic | -------------------------------+-------------------------------------------- Changes (by dports@…): * status: assigned => closed * resolution: => wontfix Comment: Unless it turns out that other things we haven't discovered yet depend on texnansi.enc, we'll leave it in texlive-fonts-extra. -- Ticket URL: <https://trac.macports.org/ticket/27494#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts