I've just installed TL2011 on Windows 7 and updated it from the net. The installation produced no errors and everything is fine – but now xelatex
(and not pdflatex
nor lualatex
) ends every invocation with
** WARNING ** Couldn't open font map file "kanjix.map".
I already did a mktexlsr
and an updmap --syncwithtrees
, but to no avail; there is still no kanjix.map
and xetex wants it.
How do I get rid of this warning either by creating the file or removing it from updmap.cfg
?
EDIT:
My updmap.cfg
has these lines:
KanjiMap ptex-@kanjiEmbed@.map
KanjiMap otf-@kanjiEmbed@.map
KanjiMap morisawa.map
KanjiMap otf-cktx.map
Best Answer
Using
updmap
instead ofupdmap-sys
results usually in head scratching or nightmares.If one has administrative privileges, he/she should always rely on
updmap-sys
;updmap
can be used by users that want to add personal map files that they aren't allowed to add system-wide, but must be run frequently to avoid that changes in the distribution may have adverse effects on the personal map tree.This said, it happens sometimes that
updmap(-sys)
created files get out of synch. The best thing to try is(assuming administrator privileges). This usually solves the issues.
A cause of errors in producing the correct map files is that during the process launched by
tlmgr
, some input map file can't be found. Trace of this can be found in thetlmgr
log, inTEXMFSYSVAR/web2c/tlmgr.log
, whereTEXMFSYSVAR
usually points totexlive/2011/texmf-var
.