You are not logged in.
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.tfmThe 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-1Steps 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
mfouesneau, welcome to the forums. Please use code tags as opposed to quote tags when pasting snippets. I have edited your post this time.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
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
Maybe have a look at the updmap command (used to update font maps)
Offline
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
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/nullOffline
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
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
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
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
Solution for me in similar situation - to clear ~/.texlive
Last edited by sirocco (2014-04-08 05:25:19)
Offline
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