ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Dalyoung <haksan@mac.com>
Subject: Re: presentation in ConTeXt
Date: Thu, 31 Mar 2005 23:00:20 +0900	[thread overview]
Message-ID: <15774619b8052fdeac6223997b1245ab@mac.com> (raw)
In-Reply-To: <e0e5994b53329fe2e32cdabed4229ba9@mac.com>

I added following two lines in conf-pre-main.tex,

\usetypescriptfile[type-xall] %script file
\usetypescript[myface]		%typeface

In type-xall.tex,
....
\starttypescript[serif][smmjr][uc]
% Regular variant:
  \definefontsynonym[smMyungjoRegular]["smMyungjoR\space 
W30"][encoding=uc]
  \definefontsynonym[smMyungjoBold]["smMyungjoR\space W70"][encoding=uc]
  \definefontsynonym[smMyungjoLight]["smMyungjoR\space W10"][encoding=uc]
  \definefontsynonym[smMyungjoBlack]["smMyungjoR\space W90"][encoding=uc]
\stoptypescript

% Start another typescript that associates generic names with
% mid-level names:
\starttypescript[serif][smmjr][name]
  \definefontsynonym[Serif][smMyungjoRegular]
  \definefontsynonym[SerifBold][smMyungjoBold]
  \definefontsynonym[SerifItalic][smMyungjoLight]
  \definefontsynonym[SerifBoldItalic][smMyungjoBlack]
% The fallbacks
  \definefontsynonym[SerifSlanted][Serif]
  \definefontsynonym[SerifBoldSlanted][SerifBold]
  \definefontsynonym[SerifCaps][Serif]
\stoptypescript
...

Then, I got a following error,

This is MetaPost, Version 0.641 (Web2C 7.5.3)
(/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
(pre-main-mpgraph.mp
! Extra tokens will be flushed.
<to be read again>
                    smMyungjoR
l.42 defaultfont:=""smMyungjoR
                                W30"";
?

It may be the problem in XeTeX. However, is it related with ConTeXt?

Thank you.

  reply	other threads:[~2005-03-31 14:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-31  7:45 정 달영
2005-03-31 10:11 ` Otared Kavian
2005-03-31 13:21   ` Dalyoung
2005-03-31 14:00     ` Dalyoung [this message]
2005-03-31 14:16       ` presentation in ConTeXt (XeTeX & MetaPost) Adam Lindsay
2005-03-31 15:16     ` presentation in ConTeXt Otared Kavian

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=15774619b8052fdeac6223997b1245ab@mac.com \
    --to=haksan@mac.com \
    --cc=ntg-context@ntg.nl \
    /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).