ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: ntg-context Digest, Vol 10, Issue 21
       [not found] <20050407100003.0665112884@ronja.ntg.nl>
@ 2005-04-07 19:31 ` Kai Straube
  2005-04-07 20:15   ` Adam Lindsay
  2005-04-08  8:25   ` Hans Hagen
       [not found] ` <200504072131.57413.kai.straube@gmx.de>
  1 sibling, 2 replies; 4+ messages in thread
From: Kai Straube @ 2005-04-07 19:31 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: ntg-context Digest, Vol 10, Issue 21
  2005-04-07 19:31 ` ntg-context Digest, Vol 10, Issue 21 Kai Straube
@ 2005-04-07 20:15   ` Adam Lindsay
  2005-04-08  8:25   ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Adam Lindsay @ 2005-04-07 20:15 UTC (permalink / raw)


Kai Straube said this at Thu, 7 Apr 2005 21:31:27 +0200:

>> \startfontclass[modern]
>>    \definefontsynonym [MathRoman]  [Sans]
>>    \definefontsynonym [MathItalic] [SansItalic]
>> \stopfontclass
>
>but for me ist results in :
>
>! Undefined control sequence.
>l.15 \startfontclass
>                    [modern]
>
>Whats wrong?

I had the same problem. I think that might be a new (private?) command.
In any case, in the short term, a workaround is to comment out the start/
stopfontclass lines.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: ntg-context Digest, Vol 10, Issue 21
  2005-04-07 19:31 ` ntg-context Digest, Vol 10, Issue 21 Kai Straube
  2005-04-07 20:15   ` Adam Lindsay
@ 2005-04-08  8:25   ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2005-04-08  8:25 UTC (permalink / raw)


Kai Straube wrote:

> ! Undefined control sequence.
> l.15 \startfontclass
>                     [modern]
> 
> Whats wrong?

just comment those two start/stop lines then

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ntg-context Digest, Vol 10, Issue 21
       [not found]   ` <425638D4.2020308@wxs.nl>
@ 2005-04-12 20:06     ` Kai Straube
  0 siblings, 0 replies; 4+ messages in thread
From: Kai Straube @ 2005-04-12 20:06 UTC (permalink / raw)


Am Freitag, 8. April 2005 09:55 schrobst Du:

> Kai Straube wrote:
> > ! Undefined control sequence.
> > l.15 \startfontclass
> >                     [modern]
> >
> > Whats wrong?
>
> different version than mine -)

Thank you, this does it! But (sorry, the questions never ending) how can I get 
the sansserif-font in formulas in bold letters?

Kai

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-04-12 20:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20050407100003.0665112884@ronja.ntg.nl>
2005-04-07 19:31 ` ntg-context Digest, Vol 10, Issue 21 Kai Straube
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

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