ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Adam Baker" <adamb924@gmail.com>
To: ntg-context@ntg.nl
Subject: ConTeXt with XeTeX (beginner question)
Date: Tue, 4 Mar 2008 09:45:21 -0700	[thread overview]
Message-ID: <c2c3a0990803040845h594bcae9j5efd2c2cce4d32b5@mail.gmail.com> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=GB2312, Size: 4253 bytes --]

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]
?

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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	other threads:[~2008-03-04 16:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-04 16:45 Adam Baker [this message]
2008-03-04 17:07 ` Thomas A. Schmitz
2008-03-04 18:26   ` Mojca Miklavec
2008-03-04 17:09 ` Mojca Miklavec
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=c2c3a0990803040845h594bcae9j5efd2c2cce4d32b5@mail.gmail.com \
    --to=adamb924@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).