[NTG-context] Apparent error in wiki example

2013-02-26 Thread john Culleton
 I copied verbatim the example found here:
http://wiki.contextgarden.net/Simple_Typescript_Example

This line caused an error:
\setupencoding[default=uc]

When I commented it out the doc ran fine.


-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: Create Book Covers with Scribus
available at http://www.booklocker.com/books/4055.html
___
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] Apparent error in wiki example

2013-02-26 Thread Philipp Gesang
Hi John!

···date: 2013-02-26, Tuesday···from: john Culleton···

  I copied verbatim the example found here:
 http://wiki.contextgarden.net/Simple_Typescript_Example
 
 This line caused an error:
 \setupencoding[default=uc]

These are instructions for MkII (and PostScript Type 1 fonts).
You are most likely running MkIV (with an Open Type version of
your font). How to write a typescript for OpenType Fonts is
explained in the manual:

  http://context.aanhet.net/svn/contextman/context-reference/en/co-fonts.pdf

Btw. are you aware of Termes, which is an updated version of
Nimbus? It also comes bundled with and configured for Context.
Try

  \setupbodyfont[termes,10pt]
  \starttext whatever \stoptext

Regards
Philipp


-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpVE24mJ_3Pb.pgp
Description: PGP signature
___
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] Apparent error in wiki example

2013-02-26 Thread john Culleton
On Tue, 26 Feb 2013 19:33:03 +0100
Philipp Gesang philipp.ges...@alumni.uni-heidelberg.de wrote:

 Hi John!
 
 ···date: 2013-02-26, Tuesday···from: john Culleton···
 
   I copied verbatim the example found here:
  http://wiki.contextgarden.net/Simple_Typescript_Example
  
  This line caused an error:
  \setupencoding[default=uc]
 
 These are instructions for MkII (and PostScript Type 1 fonts).
 You are most likely running MkIV (with an Open Type version of
 your font). How to write a typescript for OpenType Fonts is
 explained in the manual:
 
   http://context.aanhet.net/svn/contextman/context-reference/en/co-fonts.pdf
 
 Btw. are you aware of Termes, which is an updated version of
 Nimbus? It also comes bundled with and configured for Context.
 Try
 
   \setupbodyfont[termes,10pt]
   \starttext whatever \stoptext
 
 Regards
 Philipp
 
 


Thanks for your help. I just spotted another somewhat comic error.
The typescript for Sans calls roman fonts and the typescript for
Roman calls sans fonts. 

Sometimes even good old Homer nods
-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: Create Book Covers with Scribus
available at http://www.booklocker.com/books/4055.html
___
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] Apparent error in wiki example

2013-02-26 Thread Wolfgang Schuster

Am 26.02.2013 um 21:28 schrieb john Culleton j...@wexfordpress.com:

 Thanks for your help. I just spotted another somewhat comic error.
 The typescript for Sans calls roman fonts and the typescript for
 Roman calls sans fonts. 

???

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] Apparent error in wiki example

2013-02-26 Thread Philipp Gesang
···date: 2013-02-26, Tuesday···from: Wolfgang Schuster···

 
 Am 26.02.2013 um 21:28 schrieb john Culleton j...@wexfordpress.com:
 
  Thanks for your help. I just spotted another somewhat comic error.
  The typescript for Sans calls roman fonts and the typescript for
  Roman calls sans fonts. 
 
 ???
 
 Wolfgang

He’s referring to the wiki article cited earlier. Judging from
these lines:

  \definefontsynonym [Serif] [name:nimbussanlregu]
  … /
  \definefontsynonym [Sans]  [name:nimbusromno9lregu]

it appears to be the case -- I don’t have the Nimbus fonts so I
can’t verify.

Philipp


-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgptn_Q8sOPvd.pgp
Description: PGP signature
___
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] Apparent error in wiki example

2013-02-26 Thread john Culleton
Oes the code in the wiki article referred to earlier: Tue, 26 Feb 2013
22:28:22 +0100 Wolfgang Schuster wolfgang.schus...@gmail.com wrote:

 
 Am 26.02.2013 um 21:28 schrieb john Culleton j...@wexfordpress.com:
 
  Thanks for your help. I just spotted another somewhat comic error.
  The typescript for Sans calls roman fonts and the typescript for
  Roman calls sans fonts. 
 
 ???
 
 Wolfgang

Here is the code from the wiki artticle referred to earlier:

\starttypescript [serif] [nimbus] 
  \definefontsynonym [Serif]   [name:nimbussanlregu]
  \definefontsynonym [SerifBold]   [name:nimbussanlbold]
  \definefontsynonym [SerifItalic] [name:nimbussanlreguital]
  \definefontsynonym [SerifSlanted][name:nimbussanlreguital]
  \definefontsynonym [SerifBoldItalic] [name:nimbussanlboldital]
  \definefontsynonym [SerifBoldSlanted][name:nimbussanlboldital]
  \definefontsynonym [SerifCaps]   [name:nimbussanlregu]
\stoptypescript

\starttypescript [sans] [nimbus] 
  \definefontsynonym [Sans]   [name:nimbusromno9lregu]
  \definefontsynonym [SansBold]   [name:nimbusromno9lbold]
  \definefontsynonym [SansItalic] [name:nimbusromno9lreguital]
  \definefontsynonym [SansSlanted][name:nimbusromno9lreguital]
  \definefontsynonym [SansBoldItalic] [name:nimbusromno9lboldital]
  \definefontsynonym [SansBoldSlanted][name:nimbusromno9lboldital]
  \definefontsynonym [SansCaps]   [name:nimbusromno9lregu]
\stoptypescript

-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: Create Book Covers with Scribus
available at http://www.booklocker.com/books/4055.html
___
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
___