Re: [NTG-context] Small caps from otf in luatex.

2013-08-11 Thread john Culleton
On Sat, 10 Aug 2013 19:24:17 +0200
Philipp Gesang  wrote:

> Hi John!
> 
> ·
> 
> > I have asked everywhere else to no avail. In (plain) luatex how do I
> > specify the small cap version of an otf font? I use context for
> > non-fiction but pdftex and now luatex for fiction.
> 
> Plain uses a feature syntax similar to Xetex___s:
> 
>   \font \foo = "file:Iwona-Regular.otf:+smcp"
>   \foo
>   whatever
>   \bye
> 
> the expression after the second colon is the same as ___smcp=yes___
> in Context. Multiple definitions are separated by semicola, e.g.:
> 
>   \font \foo = "file:Iwona-Regular.otf:+smcp;mode=base;+tlig"
> 
> Best regards,
> Philipp
> 
Thanks! Now my latest book project can move forward. I never
thought to look in xetex for an answer about luatex.


-- 
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] Small caps from otf in luatex.

2013-08-10 Thread Philipp Gesang
Hi John!

·

> I have asked everywhere else to no avail. In (plain) luatex how do I
> specify the small cap version of an otf font? I use context for
> non-fiction but pdftex and now luatex for fiction.

Plain uses a feature syntax similar to Xetex’s:

  \font \foo = "file:Iwona-Regular.otf:+smcp"
  \foo
  whatever
  \bye

the expression after the second colon is the same as “smcp=yes”
in Context. Multiple definitions are separated by semicola, e.g.:

  \font \foo = "file:Iwona-Regular.otf:+smcp;mode=base;+tlig"

Best regards,
Philipp



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

[NTG-context] Small caps from otf in luatex.

2013-08-10 Thread john Culleton
I have asked everywhere else to no avail. In (plain) luatex how do I
specify the small cap version of an otf font? I use context for
non-fiction but pdftex and now luatex for fiction.

-- 
John Culleton

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