ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Defining new font switches
@ 2005-04-08  3:50 Idris Samawi Hamid
  2005-04-08 17:03 ` Idris Samawi Hamid
  0 siblings, 1 reply; 2+ messages in thread
From: Idris Samawi Hamid @ 2005-04-08  3:50 UTC (permalink / raw)


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

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

* Re: Defining new font switches
  2005-04-08  3:50 Defining new font switches Idris Samawi Hamid
@ 2005-04-08 17:03 ` Idris Samawi Hamid
  0 siblings, 0 replies; 2+ messages in thread
From: Idris Samawi Hamid @ 2005-04-08 17:03 UTC (permalink / raw)


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@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

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

end of thread, other threads:[~2005-04-08 17:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-08  3:50 Defining new font switches Idris Samawi Hamid
2005-04-08 17:03 ` Idris Samawi Hamid

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