Patrick Gundlach said this at Wed, 29 Jan 2003 19:11:49 +0100:

>"Adam Lindsay" <[EMAIL PROTECTED]> writes:
>
>Hello Adam,
>
>> I know no simple way of doing this. I have a typescript set up for this,
>> though:
>> \starttypescript [Time] 
>
>[..]
>
>how do I use this? I have tried for the last .... hours. The

Sorry I wasn't clear. I assumed too much. I spent an entire weekend
working through this stuff at the start.

>typescript/font mechanism is far too high for me.

Patrick, nearly everything I knew about fonts in ConTeXt was learned from
Bill McClain's excellent resource:
<http://home.salamander.com/~wmcclain/context-help.html>

Basically, you put this into one file, say "font-ttt.tex":
%--- begin font-ttt.tex ---
\starttypescript [Time] 
  \usetypescript [berry] [8r]
  \definetypeface [Time] [rm] [serif] [times]           [default]
[encoding=8r]
  \definetypeface [Time] [ss] [sans]  [helvetica]       [default]
[rscale=.9,encoding=8r]
  \definetypeface [Time] [tt] [mono]  [computer-modern] [default]
[rscale=1.1,encoding=ec]
  \definetypeface [Time] [mm] [math]  [times]           [default]
[encoding=8r]
\stoptypescript
%--- end ---

Preface your actual text source file with the following:

%--- begin usetime.tex ---
\usetypescriptfile[font-tmm]
\usetypescript[Time]
\setupbodyfont[Time,12pt]
\starttext
\showfontstrip
\input tufte

\startalignment[right]
{\tt \input zapf }
\stopalignment
\stoptext
%--- end ---

I haven't been clever enough to figure out how to include the typescript
in the same file that I'm ConTeXting. My guess is that this is because of
a (reasonable) assumption of wanting to reuse typescripts.

>Is there any description /documentation of the typescript mechanism?
>Besides mfont.pdf? mfont is not clear enough. There are only some
>examples but no real explanation how this mechanism works. At least I
>cannot see it.

I really can't help you there... I'm still at the point of imitating
examples, really, myself. You can also try typesetting some of the
documentation, like font-ini.tex, by copying the file into your own
directory, and typing:
texexec --pdf --module font-ini.tex
(This requires that you did the recommended nl interface installation. It
gives me an error at one point, but switching to silent mode by typing
's' allowed it to continue.)

I hope that's of some help, even though it's yet another example.

Cheers,
adam

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay                      [EMAIL PROTECTED]
 Computing Dept, Lancaster University   +44(0)1524/594.537
 Lancaster, LA1 4YR, UK             Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to