Opened 14 years ago

Closed 14 years ago

#27494 closed defect (wontfix)

dvips: ! Couldn't find header file: texnansi.enc

Reported by: MacPorts@… Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: texlive-basic

Description (last modified by mf2k (Frank Schima))

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)
>

Change History (8)

comment:1 Changed 14 years ago by MacPorts@…

Cc: MacPorts@… added

Cc Me!

comment:2 Changed 14 years ago by mf2k (Frank Schima)

Cc: MacPorts@… removed
Description: modified (diff)
Keywords: texlive texnansi removed
Owner: changed from macports-tickets@… to dports@…
Port: texlive-basic added; texlive removed
Priority: HighNormal

comment:3 Changed 14 years ago by drkp (Dan Ports)

Status: newassigned

I believe it's in texlive-fonts-extra -- try installing that?

comment:4 Changed 14 years ago 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. :-)

comment:5 Changed 14 years ago by drkp (Dan Ports)

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?

comment:6 Changed 14 years ago 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.

comment:7 in reply to:  6 Changed 14 years ago by drkp (Dan Ports)

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 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.

comment:8 Changed 14 years ago by drkp (Dan Ports)

Resolution: wontfix
Status: assignedclosed

Unless it turns out that other things we haven't discovered yet depend on texnansi.enc, we'll leave it in texlive-fonts-extra.

Note: See TracTickets for help on using tickets.