[NTG-context] ConTeXt with XeTeX (beginner question)
Adam Baker
adamb924 at gmail.com
Tue Mar 4 17:45:21 CET 2008
Hello,
I am using MikTeX 2.7 with XeTeX 0.997 and ConTeXt version
2008.01.28 21:28. Working off of this wiki page,
http://wiki.contextgarden.net/XeTeX
I am trying to load system fonts in a ConTeXt document. When I run the
file (below), I get an error (further below). One thing I suspect may
be part of the problem is cont-en.fmt. In the MikTeX bin directory, I
run
texexec --make --xtx en
This creates cont-en.fmt in the bin directory, but I don't know that
that's where ConTeXt expects it to be. Searching the rest of the
MikTeX directory structure, I can't find another file with that name.
Any help appreciated,
Adam Baker
====begin file====
\enableregime[utf]
% not necessary since it is default regime, but can remind you that
you must provide UTF-8¨Ccoded text
\definetypeface[myface][ss][Xsans][Arial]
% or any else font in your /windows/fonts folder; run "fc-list
>namelist.txt" to get them all
\setupbodyfont[myface, 12pt]
\starttext
Hello World!
§±§â§Ú§Ó§Ö§ä!
\stoptext
====end file====
C:\Documents and Settings\Adam Baker\My Documents\Booklet>texmfstart texexec --x
tx test.tex
TeXExec | processing document 'test.tex'
TeXExec | no ctx file found
TeXExec | utf mode forced (bom found)
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file test.top
TeXExec | using randomseed 1402
TeXExec | tex engine: xetex
TeXExec | tex format: cont-en
This is XeTeX, Version 3.141592-2.2-0.997 (MiKTeX 2.7)
entering extended mode
(test.tex
ConTeXt ver: 2008.01.28 21:28 MKII fmt: 2008.3.3 int: english/english
language : language en is active
system : cont-new loaded
("C:\Program Files\MiKTeX 2.7\tex\context\base\cont-new.tex"
systems : beware: some patches loaded from cont-new.tex
("C:\Program Files\MiKTeX 2.7\tex\context\base\cont-new.mkii") ("C:\Program File
s\MiKTeX 2.7\tex\context\base\cont-mtx.tex"))
system : cont-old loaded
("C:\Program Files\MiKTeX 2.7\tex\context\base\cont-old.tex"
loading : Context Old Macros
)
system : cont-fil loaded
("C:\Program Files\MiKTeX 2.7\tex\context\base\cont-fil.tex"
loading : Context File Synonyms
)
system : cont-sys.rme loaded
("C:\Program Files\MiKTeX 2.7\tex\context\user\cont-sys.rme" ("C:\Program Files\
MiKTeX 2.7\tex\context\base\type-tmf.tex") ("C:\Program Files\MiKTeX 2.7\tex\con
text\base\type-siz.tex") ("C:\Program Files\MiKTeX 2.7\tex\context\base\type-otf
.tex")
("C:\Program Files\MiKTeX 2.7\tex\context\base\type-xtx.tex"))
bodyfont : 12pt rm is loaded
Running makemf...
makemf: The [lmromanslant10-regular]:+liga;+kern;mapping=tlig;+trep; source file
could not be found.
Running hbf2gf...
hbf2gf (CJK ver. 4.7.0)
Couldn't find `[lmromanslant10-regular]:+liga;+kern;mapping=tlig;+tre.cfg'
maketfm: No creation rule for font [lmromanslant10-regular]:+liga;+kern;mapping=
tlig;+trep;.
Running makemf...
makemf: The lmromanslant10-regular:+liga;+kern;mapping=tlig;+trep; source file c
ould not be found.
Running hbf2gf...
hbf2gf (CJK ver. 4.7.0)
Couldn't find `lmromanslant10-regular:+liga;+kern;mapping=tlig;+tre.cfg'
maketfm: No creation rule for font lmromanslant10-regular:+liga;+kern;mapping=tl
ig;+trep;.
Running makemf...
makemf: The lmromanslant10-regular source file could not be found.
Running hbf2gf...
hbf2gf (CJK ver. 4.7.0)
Couldn't find `lmromanslant10-regul.cfg'
maketfm: No creation rule for font lmromanslant10-regular.
! Font \*7ptrmslrm*:=lmromanslant10-regular at 7.0pt not loadable: Metric (TFM)
file or installed font not found.
<to be read again>
\relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
\let \localrelativefontsiz...
\dodosettextfamilyA ...amily \fontsize \endcsname
\else \ifcsname \fontbody ...
\dosettextfamily ...ttextfamily \scriptscriptfont
\let \fontbody \scriptface...
<inserted text> ...y \c!bf \dosettextfamily \c!sl
\dosettextfamily \c!it \do...
\synchronizetext ...athfonts \the \textstrategies
\fi
...
l.1
\enableregime[utf]
?
More information about the ntg-context
mailing list