On Saturday 29 January 2011 11:53:20 John Culleton wrote: > On Friday 28 January 2011 16:52:57 Marco Pessotto wrote: > > John Culleton <j...@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] \starttext \input body.tex \stoptext and macros.tex looks like this: \setupoutput[pdftex] \definepapersize[bok][width=7.0in,height=10.0in] %\setuppapersize[bok][letter] \setuppapersize[bok][bok] \setuplayout[location=middle,marking=on]% \setupwhitespace[line] \setuptyping[style=small] Anyone else have this problem? -- John Culleton Create Book Covers with Scribus: http://www.booklocker.com/p/books/4055.html Typesetting and indexing http://wexfordpress.com book sales http://wexfordpress.net Free barcode: http://www.tux.org/~milgram/bookland/ ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________