[NTG-context] Curly quotes was TTF fonts and MKIV

John Culleton john at wexfordpress.com
Sun Jan 30 16:34:32 CET 2011

On Saturday 29 January 2011 11:53:20 John Culleton wrote:
> On Friday 28 January 2011 16:52:57 Marco Pessotto wrote:
> > John Culleton <john at wexfordpress.com> writes:
> > > Is there a short, simple guide somewhere that shows how to use
> > > TTF and OTF fonts in Context? I downloaded the new Fonts
> > > chapter but it goes deep into the weeds on typescripts etc.  I
> > > am looking for a method that allows me to do in Context what I
> > > can already do in most other DTP programs: simply designate for
> > > use a font or font family that exists in /usr/share/fonts
> > > without typescripts, complex and confusing aliasing schemes or
> > > tfm files.
> >
> > http://wiki.contextgarden.net/Fonts_in_LuaTex
> OK I used this guide and have access to one of the fonts in
> /usr/share/fonts/Type1 but not the rest. Courier is in the
> database. AGaramond is not.  The wiki paper seems to state that
> Type1 fonts should be available via the database and \simplefonts.
> AGaramond is in the
> /usr/share/fonts/Type1
> directory and is listed in the
> /usr/share/fonts/Type1/fonts.dir
> file. It does not show up in the mtxrun generated data base.
> set shows the following entry:
> OSFONTDIR='/usr/share/fonts;/home/safe/.fonts'
> Now if Type1 isn't included the font data base yet I can be cool
> with that. But in that case the wiki needs to be corrected.
I have tried various fonts, including charterbt, calibri (ttf) and so 
on. I get the called-for font but the sequences for curly double 
quotes, in use since Ramses II, give me either two back ticks followed 
by two forward ticks, (calibri) or two back ticks followed by an inch 
symbol (charterbt).  So this defect is not limited to one font. My 
main file is as follows:

\input macros.tex
\usemodule [simplefonts]
\setmainfont [calibri]
\input body.tex

and macros.tex looks like this:


Anyone else have this problem?

John Culleton
Create Book Covers with Scribus:
Typesetting and indexing http://wexfordpress.com
book sales http://wexfordpress.net
Free  barcode: http://www.tux.org/~milgram/bookland/

More information about the ntg-context mailing list