Re: [NTG-context] TTF fonts and MKIV

2011-01-29 Thread Wolfgang Schuster

Am 29.01.2011 um 06:42 schrieb David Rogers:

 * John Culleton j...@wexfordpress.com [2011-01-28 16:39]:
 
 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.
 
 The Simplefont module by Wolfgang Schuster is very good for my (not
 highly demanding) purposes. Certainly it is intended to do just what you
 describe.

Or you use \definetypeface and specserif, specsans and specmono, e.g.

\definetypeface[mainface][rm][specserif][Times New Roman][default]
\definetypeface[mainface][ss][specsans] [Arial]  [default]
\definetypeface[mainface][tt][specmono] [Courier][default]
\definetypeface[mainface][mm][math] [times]  [default]

\setupbodyfont[mainface]

\starttext
…
\stoptext

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] TTF fonts and MKIV

2011-01-29 Thread John Haltiwanger
On Sat, Jan 29, 2011 at 9:55 AM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


 Am 29.01.2011 um 06:42 schrieb David Rogers:

  * John Culleton j...@wexfordpress.com [2011-01-28 16:39]:
 
  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.
 
  The Simplefont module by Wolfgang Schuster is very good for my (not
  highly demanding) purposes. Certainly it is intended to do just what you
  describe.

 Or you use \definetypeface and specserif, specsans and specmono, e.g.

 \definetypeface[mainface][rm][specserif][Times New Roman][default]
 \definetypeface[mainface][ss][specsans] [Arial]  [default]
 \definetypeface[mainface][tt][specmono] [Courier][default]
 \definetypeface[mainface][mm][math] [times]  [default]

 \setupbodyfont[mainface]

 \starttext
 …
 \stoptext


I've added this to the wiki page on using Fonts in LuaTeX, but since I don't
know anything about these spec settings it for now just consists of our
example Wolfgang. If you send back some explanations then I will add them to
the wiki as well.

Are these basically the same settings as used in simplefonts?




 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  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___

___
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
___


Re: [NTG-context] TTF fonts and MKIV

2011-01-29 Thread Hans Hagen

On 29-1-2011 10:17, John Haltiwanger wrote:


Are these basically the same settings as used in simplefonts?


Although the spec: interface (in addition to file: and name:) has 
fallback heuristics, simplefonts is more clever and does more extensive 
testing, But as with all heuristics, you can never be 100% sure what you 
get so in critical long term projects you can best use names or filename 
(and keep the files someplace backed up). It all depends on the situation.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] TTF fonts and MKIV

2011-01-29 Thread Wolfgang Schuster

Am 29.01.2011 um 10:17 schrieb John Haltiwanger:

 I've added this to the wiki page on using Fonts in LuaTeX, but since I don't 
 know anything about these spec settings it for now just consists of our 
 example Wolfgang. If you send back some explanations then I will add them to 
 the wiki as well.

The third argument use instead of serif specserif, etc. and the fourth argument 
is the familyname of a font.

 Are these basically the same settings as used in simplefonts?

No, specserif etc. use the “spec:…” mechanism to load a font (the other two are 
file:… and name:…) while simplefonts use the name:… mechanism to look for a 
font.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] TTF fonts and MKIV

2011-01-29 Thread John Culleton
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.

-- 
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
___


[NTG-context] TTF fonts and MKIV

2011-01-28 Thread John Culleton
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. 


-- 
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
___


Re: [NTG-context] TTF fonts and MKIV

2011-01-28 Thread Marco Pessotto
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


-- 
Marco

___
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
___


Re: [NTG-context] TTF fonts and MKIV

2011-01-28 Thread David Rogers

* John Culleton j...@wexfordpress.com [2011-01-28 16:39]:


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.



The Simplefont module by Wolfgang Schuster is very good for my (not
highly demanding) purposes. Certainly it is intended to do just what you
describe.

--
David
___
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
___