ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
To: tabaker@u.arizona.edu,
	"mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: ConTeXt with XeTeX (beginner question)
Date: Tue, 4 Mar 2008 18:09:43 +0100	[thread overview]
Message-ID: <6faad9f00803040909o7ae13e06w9697185cf842a09d@mail.gmail.com> (raw)
In-Reply-To: <c2c3a0990803040845h594bcae9j5efd2c2cce4d32b5@mail.gmail.com>

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
___________________________________________________________________________________

  parent reply	other threads:[~2008-03-04 17:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-04 16:45 Adam Baker
2008-03-04 17:07 ` Thomas A. Schmitz
2008-03-04 18:26   ` Mojca Miklavec
2008-03-04 17:09 ` Mojca Miklavec [this message]
2008-03-04 19:43   ` Adam Baker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6faad9f00803040909o7ae13e06w9697185cf842a09d@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=tabaker@u.arizona.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).