On Tue, Mar 4, 2008 at 5:45 PM, Adam Baker wrote:
> 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

You don't need to run that. MikTeX should already generate the format
for you (and it did, otherwise you would not be able to run "texexec
--xtx" at all).

In particular, "texexec --make --xtx en" probably behaves badly on MikTeX since:
- there is no real need for it (you can use miktex's tools to generate format)
- difficult to guess the most appropriate location where the format should go
- Hans doesn't use MikTeX, other users do not care too much, mostly
because of the first reason (there is gui to generate formats)

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

It's probably somewhere in "Documents and Settings". Try to look for
    kpsewhich cont-en.fmt

>  ====begin file====
>  \enableregime[utf]
>  % not necessary since it is default regime, but can remind you that
>  you must provide UTF-8–coded 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====

You can also test with the simplest
\starttext
abc
\stoptext
file - I guess that it should result in the same problem.

Just to make sure: have you updated the MikTeX packages recently? It
looks like you have "new" ConTeXt and old Latin Modern fonts to me,
but I might be wrong.

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to