[NTG-context] Defining new font switches

Idris Samawi Hamid ishamid at colostate.edu
Fri Apr 8 19:03:03 CEST 2005


Dear gang,

Sorry for being a pest;-) but have any of you had a chance 2 look at this? 
My own example is abstracted from a much larger typescript but I hope it 
illustrates the problem clearly enough.

Thank you
Idris

On Thu, 7 Apr 2005 21:50:05 -0600, Idris Samawi Hamid 
<ishamid at lamar.colostate.edu> wrote:

Dear crew,

I am having trouble defining my own font switches. I get an undefined 
control
sequence for, e.g, \mv,  with the following:

================================

% output=pdf interface=en

\definestyle [myvariant] [\mv] []

\starttypescript [serif] [modern] [size]

  \definebodyfont [9pt,10pt,11pt,12pt,14.4pt,17.3pt,20.7pt]
    [rm]
    [mv=Serif sa 1]

\stoptypescript

\usetypescript [serif] [modern] [size]

\starttext

This is a test.

\mv This is a test.

\stoptext
================================

What am I missing? Thnx in advance!

Best
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523


More information about the ntg-context mailing list