ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* ec-lmr12 not loadable: Metric (TFM) file ... not found
@ 2007-03-09  0:42 Mojca Miklavec
  2007-03-09  1:12 ` Mojca Miklavec
       [not found] ` <200703090150.l291oL9x016415@jupiter.fsci.fuk.kindai.ac.jp>
  0 siblings, 2 replies; 4+ messages in thread
From: Mojca Miklavec @ 2007-03-09  0:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Akira Kakuto, Jonathan Kew, Jeong Dalyoung

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-13 17:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-09  0:42 ec-lmr12 not loadable: Metric (TFM) file ... not found Mojca Miklavec
2007-03-09  1:12 ` Mojca Miklavec
     [not found] ` <200703090150.l291oL9x016415@jupiter.fsci.fuk.kindai.ac.jp>
2007-03-09  2:32   ` Mojca Miklavec
2007-03-13 17:45     ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).