You are not logged in.

#1 2014-03-28 07:26:24

mfouesneau
Member
Registered: 2014-03-28
Posts: 7

Texlive Missing fonts issue

Description:

I cannot figure why I have missing fonts in the texlive distribution. It seems that everything related to `zptmcmr` cannot be found.

However the file is is `/usr/share/texmf-dist`

./tex4ht/ht-fonts/unicode/adobe/mathptm/zptmcmrm.htf
./tex4ht/ht-fonts/unicode/adobe/mathptm/zptmcmr.htf
./fonts/vf/adobe/times/zptmcmr.vf
./fonts/vf/adobe/times/zptmcmrm.vf
./fonts/tfm/adobe/times/zptmcmr.tfm
./fonts/tfm/adobe/times/zptmcmrm.tfm

The issue is still there even after cleaning ~/.texlive, possible cache, texhash, updmap-sys etc.

In case that helps, here is the full list of texlive package installed on my system and their versions

    texlive-core 2013.33063-1
    texlive-bibtexextra 2013.33039-1
    texlive-bin 2013.30973-8
    texlive-fontsextra 2013.33010-1
    texlive-formatsextra 2013.31958-1
    texlive-genericextra 2013.32809-1
    texlive-htmlxml 2013.33024-1
    texlive-langextra 2013.32796-1
    texlive-latexextra 2013.33063-1
    texlive-pictures 2013.33045-1
    texlive-pstricks 2013.33056-1    
    texlive-publishers 2013.33042-1
    texlive-science 2013.32850-1

Steps to reproduce:

sudo mktexpk --mfmode cx --bdpi 300 --mag 1+276/300 --dpi 576 zptmcmr
    mktexpk: don't know how to create bitmap font for zptmcmr.
    mktexpk: perhaps zptmcmr is missing from the map file.

Any help?

Last edited by Inxsible (2014-03-28 20:02:43)

Offline

#2 2014-03-28 20:03:37

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Texlive Missing fonts issue

mfouesneau, welcome to the forums. Please use code tags as opposed to quote tags when pasting snippets. I have edited your post this time.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2014-03-28 21:01:22

mfouesneau
Member
Registered: 2014-03-28
Posts: 7

Re: Texlive Missing fonts issue

Inxsible wrote:

mfouesneau, welcome to the forums. Please use code tags as opposed to quote tags when pasting snippets. I have edited your post this time.

Thanks. Sorry about the confusion.

Offline

#4 2014-03-29 01:02:53

\hbar
Member
Registered: 2014-03-15
Posts: 165

Re: Texlive Missing fonts issue

Maybe have a look at the updmap command (used to update font maps)

Offline

#5 2014-03-29 01:05:43

mfouesneau
Member
Registered: 2014-03-28
Posts: 7

Re: Texlive Missing fonts issue

\hbar wrote:

Maybe have a look at the updmap command (used to update font maps)

I did the usual

 updmap-sys 
updmap is creating new map files
using the following configuration:
  LW35 font names                  : URWkb (/etc/texmf/web2c/updmap.cfg)
  prefer outlines                  : true (/etc/texmf/web2c/updmap.cfg)
  texhash enabled                  : true
  download standard fonts (dvips)  : true (/etc/texmf/web2c/updmap.cfg)
  download standard fonts (pdftex) : true (/etc/texmf/web2c/updmap.cfg)
  kanjiEmbed replacement string    : noEmbed (/etc/texmf/web2c/updmap.cfg)
  kanjiVariant replacement string  :  (default)
  create a mapfile for pxdvi       : false (default)

Scanning for LW35 support files  [  3 files]
Scanning for MixedMap entries    [ 38 files]
Scanning for KanjiMap entries    [  0 files]
Scanning for Map entries         [195 files]

undefined fonts for @c in adobe   ?!?!?
Generating output for dvipdfmx...
Generating output for ps2pk...
Generating output for dvips...
Generating output for pdftex...

Files generated:
  /var/lib/texmf/fonts/map/dvips/updmap:
       15758 2014-03-28 18:04:54 builtin35.map
       21231 2014-03-28 18:04:54 download35.map
     1284311 2014-03-28 18:04:55 psfonts_pk.map
     1322002 2014-03-28 18:04:55 psfonts_t1.map
     1321997 2014-03-28 18:04:54 ps2pk.map
          14 2014-03-28 18:04:55 psfonts.map -> psfonts_t1.map
  /var/lib/texmf/fonts/map/pdftex/updmap:
     1322004 2014-03-28 18:04:55 pdftex_dl14.map
     1327177 2014-03-28 18:04:55 pdftex_ndl14.map
          15 2014-03-28 18:04:55 pdftex.map -> pdftex_dl14.map
  /var/lib/texmf/fonts/map/dvipdfmx/updmap:
         281 2014-03-28 18:04:54 kanjix.map

Transcript written on "/var/lib/texmf/web2c/updmap.log".
updmap: Updating ls-R files.

I suppose some maps are missing but cannot figure which one.

Offline

#6 2014-03-29 10:16:42

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Texlive Missing fonts issue

Some texlive setup commands which I use, in order:

# Fixes "can't find foo.{tex,sty}" errors
mktexlsr --quiet

# From http://tug.org/pipermail/tlbuild/2010q2/001606.html
# Comments out comicvn.map and mscorevn.map from /usr/share/texmf-config/web2c/updmap.cfg
updmap-sys --quiet --syncwithtrees

# Running "--missing" first, to fix these 2 errors:
# tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found (ls-R missing?).
# fmtutil: config file `fmtutil.cnf' not found.
fmtutil-sys --quiet --missing
# "--all" is the important command.
fmtutil-sys --quiet --all > /dev/null

Offline

#7 2014-03-29 18:01:52

mfouesneau
Member
Registered: 2014-03-28
Posts: 7

Re: Texlive Missing fonts issue

brebs wrote:

Some texlive setup commands which I use, in order:

# Fixes "can't find foo.{tex,sty}" errors
mktexlsr --quiet

# From http://tug.org/pipermail/tlbuild/2010q2/001606.html
# Comments out comicvn.map and mscorevn.map from /usr/share/texmf-config/web2c/updmap.cfg
updmap-sys --quiet --syncwithtrees

# Running "--missing" first, to fix these 2 errors:
# tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found (ls-R missing?).
# fmtutil: config file `fmtutil.cnf' not found.
fmtutil-sys --quiet --missing
# "--all" is the important command.
fmtutil-sys --quiet --all > /dev/null

Note that I did not have sty, tex issues, nor declared and missing fonts

After running all @brebs commands, I still get the same issue.

Offline

#8 2014-03-30 14:44:26

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Texlive Missing fonts issue

mfouesneau wrote:

Steps to reproduce:

sudo mktexpk --mfmode cx --bdpi 300 --mag 1+276/300 --dpi 576 zptmcmr
    mktexpk: don't know how to create bitmap font for zptmcmr.
    mktexpk: perhaps zptmcmr is missing from the map file.

Any help?

mktexpk needs metafont sources. Adobe Times is a Postscript font, so this cannot work.

What is really your problem? Do any documents including times fonts not compile?

Offline

#9 2014-03-30 17:29:51

mfouesneau
Member
Registered: 2014-03-28
Posts: 7

Re: Texlive Missing fonts issue

Stefan Husmann wrote:

mktexpk needs metafont sources. Adobe Times is a Postscript font, so this cannot work.

What is really your problem? Do any documents including times fonts not compile?

Yes. I basically make figures with python and any figure that requires latex ends up without any text because of this missing font.

Offline

#10 2014-04-01 21:13:17

mfouesneau
Member
Registered: 2014-03-28
Posts: 7

Re: Texlive Missing fonts issue

I also found out that my pdftex.map contains corrupted lines:

(subsample below)

phnx8ac HelveticaNeue-ExtBlackCond A 188 hlj_____
phnxo8ac HelveticaNeue-ExtBlackCondObl A 188 hljo____
phrb8a HelveticaRounded-Bold A 175 heb_____
phrb8ac HelveticaRounded-BoldCond A 175 hebc____
phrbo8a HelveticaRounded-BoldObl A 175 hebo____
phrbo8ac HelveticaRounded-BoldCondObl A 175 hebco___
phrc8a HelveticaRounded-Black A 175 hebl____
phrco8a HelveticaRounded-BlackObl A 175 heblo___
phvb6w HelveticaCyr-Bold A 361 hvyb____
phvb7f Helvetica-FractionBold A 234 hvfrb___
phvb8a Helvetica-Bold A 902 hvb_____
phvb8ac Helvetica-Condensed-Bold A 014 hvcb____
phvb8an Helvetica-Narrow-Bold A 902 hvnb____
phvbo6w HelveticaCyr-BoldInclined A 361 hvybi___
phvbo8a Helvetica-BoldOblique A 902 hvbo____
phvbo8ac Helvetica-Condensed-BoldObl A 014 hvcbo___
phvbo8an Helvetica-Narrow-BoldOblique A 902 hvnbo___
phvc8a Helvetica-Black A 013 hvbl____
phvc8ac Helvetica-Condensed-Black A 014 hvcbl___
phvco8a Helvetica-BlackOblique A 013 hvblo___

Offline

#11 2014-04-08 05:21:30

sirocco
Member
Registered: 2008-03-10
Posts: 149

Re: Texlive Missing fonts issue

Solution for me in similar situation - to clear ~/.texlive

Last edited by sirocco (2014-04-08 05:25:19)

Offline

#12 2014-04-08 16:20:44

mfouesneau
Member
Registered: 2014-03-28
Posts: 7

Re: Texlive Missing fonts issue

sirocco wrote:

Solution for me in similar situation - to clear ~/.texlive

As mentioned I tried many times. Did not solve the problem, which I believe related to how lines end by something like `hlj_____`

Offline

Board footer

Powered by FluxBB