ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Kai Straube <kai.straube@gmx.de>
Subject: Re: ntg-context Digest, Vol 10, Issue 21
Date: Thu, 7 Apr 2005 21:31:27 +0200	[thread overview]
Message-ID: <200504072131.27256.kai.straube@gmx.de> (raw)
In-Reply-To: <20050407100003.0665112884@ronja.ntg.nl>

Am Donnerstag, 7. April 2005 12:00 schrieb Hans Hagen <pragma@wxs.nl>:


> % define a typeface
>
> \definetypeface [modern] [rm] [serif] [modern-base] [default]
> \definetypeface [modern] [ss] [sans]  [modern-base] [default]
> \definetypeface [modern] [tt] [mono]  [modern-base] [default]
> \definetypeface [modern] [mm] [math]  [modern-base] [default]
>
> % overloaad a mapping
>
> % \startfontclass[modern]
> %   \definefontsynonym [ComputerModernMath-Roman]  [ComputerModernSans]
> %   \definefontsynonym [ComputerModernMath-Italic]
> [ComputerModernSans-Italic] % \stopfontclass
>
> \startfontclass[modern]
>    \definefontsynonym [MathRoman]  [Sans]
>    \definefontsynonym [MathItalic] [SansItalic]
> \stopfontclass
>
> % initialize the typeface
>
> \setupbodyfont[modern,ss]
>
> \starttext
> Some text, we can read it without serifs. But the formula: $ \frac{1}{x-2}
> $ is not in the same font.
> \stoptext
>
> you can put this in one of the dark corners of the wiki -)

Thank you Hans,

but for me ist results in :

! Undefined control sequence.
l.15 \startfontclass
                    [modern]

Whats wrong?

Kai

       reply	other threads:[~2005-04-07 19:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20050407100003.0665112884@ronja.ntg.nl>
2005-04-07 19:31 ` Kai Straube [this message]
2005-04-07 20:15   ` Adam Lindsay
2005-04-08  8:25   ` Hans Hagen
     [not found] ` <200504072131.57413.kai.straube@gmx.de>
     [not found]   ` <425638D4.2020308@wxs.nl>
2005-04-12 20:06     ` Kai Straube

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=200504072131.27256.kai.straube@gmx.de \
    --to=kai.straube@gmx.de \
    --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).