ec-lmr12 not loadable: Metric (TFM) file ... not found
Hello, Here's the same error report that has been discussed on(off?) the list already, but there has been no resolution so far. Should I ask the XeTeX mailing list? With texexec --xtx whatever I get: (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-akb.tex) (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-xtx.tex)) bodyfont : 12pt rm is loaded ! Font \*12ptrmtfrm*=[ec-lmr12] not loadable: Metric (TFM) file or installed font not found. <to be read again> \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...ame #1\csname #2#3#4#5\endcsname \tryingfontfalse \fi Well, OK, that's understandable. That's just an accidental mix-up with otf files in ConTeXt. Line 73 of font-ini.mkii should read \def\fontfilesome#1{"#1"} instead of \def\fontfilesome#1{"[#1]"} So I fix the error, remake the formats with texexec --xtx --make en but when I run a document I get ! Font \*12ptrmtfrm*=ec-lmr12 not loadable: Metric (TFM) file or installed font not found. which really *is* strange, if nothing else because \font\a=ec-lmr12 works OK with plain XeTeX. The most weird part is that Akira claims that fixing that solved the problem on his computer, while the problem remains on my computer (both under standalone in Windows and gwTeX on mac), and other users complain as well. What could be the main reason for failure? One additional thing to consider is that one also needs these files: http://dl.contextgarden.net/misc/lm-maps.zip (for some reason they're in TeXLive, but not in gwTeX, and Gerben doesn't accept user requests any more) but that doesn't make any difference. (Btw: could these files please be added to standalone ConTeXt or to cont-tfm.zip? Not necessary all of them, but lm-ec.map could save a whole lot of troubles to XeTeX users.) The following issues dozens of errors first, but it works. \font\a=ec-lmr12 \starttext \a abc \stoptext If I delete "\a", it breaks (doesn't show anything). It looks as if map files would be loaded too late during format generation (or not at all), but I'm really clueless about what to do. Mojca PS for Hans - once again, here are the three possibilities for different font types: 1.) standard TeX fonts - no difference \font\a=ec-lmr12 2.) any font installed on the system - referenced by name, can switch to bold/italic/old style "automatically" \font\b="LM Roman12 Regular/B" 3.) open type fonts that reside anywhere in the texmf tree - using brackets \font\c="[lmroman12-regular]" And an example of more complex usage (for which you claimed that it should be moved to optional parameters). \definefontsynonym [DidotCaps] ['Didot:mapping=tex-text; Letter Case=Small Capitals;Ligatures=!Common Ligatures'][encoding=uc] It might be a good idea to have an extra parameter (additional optional brrackets) for letting the system know that we're dealing with an installed font (which means that one could automatically support bold/italic/bolditalic and add "mapping=tex-text" option to it).
Hmmm ... perhaps the problem is not only in XeTeX. After reinstalling ConTeXt (version: 2007.02.21), I now get (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-spe.tex) (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-akb.tex)) bodyfont : 12pt rm is loaded kpathsea: Illegal fontname `cmr7 ': contains ' ' ! Font \*7ptmmmrrm*="cmr7 " not loadable: Metric (TFM) file not found. <to be read again> \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \dodosetmathfamilyA ...amily \fontsize \endcsname \else \ifcsname \fontbody ... Mojca
participants (1)
-
Mojca Miklavec