ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Apparent error in wiki example
@ 2013-02-26 17:57 john Culleton
  2013-02-26 18:33 ` Philipp Gesang
  0 siblings, 1 reply; 6+ messages in thread
From: john Culleton @ 2013-02-26 17:57 UTC (permalink / raw)
  To: ntg-context

 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Apparent error in wiki example
  2013-02-26 17:57 Apparent error in wiki example john Culleton
@ 2013-02-26 18:33 ` Philipp Gesang
  2013-02-26 20:28   ` john Culleton
  0 siblings, 1 reply; 6+ messages in thread
From: Philipp Gesang @ 2013-02-26 18:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 877 bytes --]

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

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Apparent error in wiki example
  2013-02-26 18:33 ` Philipp Gesang
@ 2013-02-26 20:28   ` john Culleton
  2013-02-26 21:28     ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: john Culleton @ 2013-02-26 20:28 UTC (permalink / raw)
  To: ntg-context

On Tue, 26 Feb 2013 19:33:03 +0100
Philipp Gesang <philipp.gesang@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Apparent error in wiki example
  2013-02-26 20:28   ` john Culleton
@ 2013-02-26 21:28     ` Wolfgang Schuster
  2013-02-26 21:45       ` Philipp Gesang
  2013-02-26 21:54       ` john Culleton
  0 siblings, 2 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2013-02-26 21:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 26.02.2013 um 21:28 schrieb john Culleton <John@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Apparent error in wiki example
  2013-02-26 21:28     ` Wolfgang Schuster
@ 2013-02-26 21:45       ` Philipp Gesang
  2013-02-26 21:54       ` john Culleton
  1 sibling, 0 replies; 6+ messages in thread
From: Philipp Gesang @ 2013-02-26 21:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 772 bytes --]

···<date: 2013-02-26, Tuesday>···<from: Wolfgang Schuster>···

> 
> Am 26.02.2013 um 21:28 schrieb john Culleton <John@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

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Apparent error in wiki example
  2013-02-26 21:28     ` Wolfgang Schuster
  2013-02-26 21:45       ` Philipp Gesang
@ 2013-02-26 21:54       ` john Culleton
  1 sibling, 0 replies; 6+ messages in thread
From: john Culleton @ 2013-02-26 21:54 UTC (permalink / raw)
  To: ntg-context

Oes the code in the wiki article referred to earlier: Tue, 26 Feb 2013
22:28:22 +0100 Wolfgang Schuster <wolfgang.schuster@gmail.com> wrote:

> 
> Am 26.02.2013 um 21:28 schrieb john Culleton <John@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-02-26 21:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-26 17:57 Apparent error in wiki example john Culleton
2013-02-26 18:33 ` Philipp Gesang
2013-02-26 20:28   ` john Culleton
2013-02-26 21:28     ` Wolfgang Schuster
2013-02-26 21:45       ` Philipp Gesang
2013-02-26 21:54       ` john Culleton

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).