ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Font and Typescript Questions
Date: Wed, 1 Apr 2009 01:12:17 +0200	[thread overview]
Message-ID: <6EF19911-4D26-4300-A0C1-C5E98CFE3289@gmail.com> (raw)
In-Reply-To: <loom.20090331T223114-61@post.gmane.org>


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	other threads:[~2009-03-31 23:12 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-31 22:38 curiouslearn
2009-03-31 23:12 ` Wolfgang Schuster [this message]
2009-03-31 23:54 ` Mohamed Bana
2009-04-01  0:53   ` curiouslearn
2009-04-01  1:17     ` curiouslearn
2009-04-01  1:41       ` Aditya Mahajan
2009-04-01  1:51         ` curiouslearn
2009-04-01  2:01           ` Aditya Mahajan
2009-04-01 18:40             ` curiouslearn
2009-04-01 20:41               ` Wolfgang Schuster
2009-04-02  7:41               ` Hans Hagen
2009-04-01  5:28       ` Wolfgang Schuster
2009-05-03  9:38 ` Font and Typescript problems Alan BRASLAU
2009-05-04  8:51   ` Hans Hagen
2009-05-04  9:04     ` Wolfgang Schuster
2009-05-04  9:10       ` Hans Hagen
2009-05-04 10:17         ` Wolfgang Schuster
2009-05-04  9:19     ` Alan BRASLAU

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6EF19911-4D26-4300-A0C1-C5E98CFE3289@gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).