Am 01.04.2009 um 00:38 schrieb curiouslearn:

Can someone please help me with the following questions so that I can use some of the typescripts that Wolfgang and some others have so kindly made available.

I will use font Bera as an example, since I would like to use it.

I have a Mac OS X Version 10.5.6

(1) How do I know if I have font Bera? As in, where on my computer do I look to
see if I have font Bera installed?

All my typescripts work with XeTeX/LuaTeX only, if you want to use pdfTeX write
your own typescripts.

You can show a list of all available fonts for LuaTeX with 'mtxrun -- script fonts --list'
and for XeTeX with 'fc-list' on the terminal.

Bera is a Bitsream Vera modification and I suggest to use DejaVu instead, you can
find a link to the font in the file.

(2) If I do not have the font, how do I install Bera? I see that there are files
on ctan. Where should I save this?

The easiest way is to install the font as normal system fonts.

(3) Once I have installed the font and I have downloaded Wolfgang's
type-bera.tex file, where do I save this file? Can I save it where I save the third-party modules. Once I save it, do I run the usual texhash, followed by
luatools --generate followed by context --make

Save the file in your local TeX tree, I have them under 'texmf-local/ tex/context/third/typescrips/'.

Before you could use them TeX has to know about the file, to do this call 'mktexlsr' for XeTeX and 'luatools --generate' or 'context --generate' for LuaTeX.

'context --make' is only used to create a new format file for ConTeXt but you
don't need this for third party files which are loaded at runtime.

(4) Once I have accomplished the top three steps, how do I use it in a document?
Do I just type

\usetypescript[bera]
\switchtobodyfont[bera,12pt]

\usetypescriptfile[type-...] % load the typescript file

\usetypescript[...] % load the typescript
\setupbodyfont[...]

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to