Re: [NTG-context] Separate italic font.

2014-09-06 Thread Joshua Krämer
On 2014-09-04, 15:42, john Culleton wrote:

 Now I have a related question. When I run:
 mtxrun --script fonts * foo
 The file foo has three columns. We only use the
 word in the right hand column with the suffix
 stripped off. So what is the purpose of the the
 other two columns? for example:
 
 minionproitalic minionproit MinionPro-It.otf
 
 but we only use MinionPro-It.
 
 Just curious.

You can check the recent mailing thread with subject the new
simplefonts stuff for some discussion of font names and mtxrun
output.

Kind regards
Joshua


___
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] Separate italic font.

2014-09-04 Thread Pablo Rodriguez
On 09/04/2014 05:55 PM, john Culleton wrote:
 Here is the example from the wiki
 --
 \setupbodyfontenvironment[default][em=italic]
 \usemodule[simplefonts][size=10pt]
 \setmainfont[TeX Gyre Termes]
 \setsansfont[TeX Gyre Heros]
 \setmonofont[TeX Gyre Cursor]
 -
 If the font (e.g., MinionPro) has a separate
 italic font should I add it?
 If so is the correct command:
 \setitalicfont[\setupbodyfont[MinionPro-It]
 ??

John,

\setupbodyfontenvironment[default][em=italic]
\usemodule[simplefonts][size=10pt]
\setmainfont[TeX Gyre Termes][italicfont=TeX Gyre Pagella Italic]
\starttext
regular \em italics
\stoptext

I hope it helps,


Pablo
-- 
http://www.ousia.tk
___
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] Separate italic font.

2014-09-04 Thread john Culleton
On Thu, 04 Sep 2014 18:54:30 +0200
Pablo Rodriguez oi...@gmx.es wrote:

 On 09/04/2014 05:55 PM, john Culleton wrote:
  Here is the example from the wiki
  --
  \setupbodyfontenvironment[default][em=italic]
  \usemodule[simplefonts][size=10pt]
  \setmainfont[TeX Gyre Termes]
  \setsansfont[TeX Gyre Heros]
  \setmonofont[TeX Gyre Cursor]
  -
  If the font (e.g., MinionPro) has a separate
  italic font should I add it?
  If so is the correct command:
  \setitalicfont[\setupbodyfont[MinionPro-It]
  ??
 
 John,
 
 \setupbodyfontenvironment[default][em=italic]
 \usemodule[simplefonts][size=10pt]
 \setmainfont[TeX Gyre Termes][italicfont=TeX Gyre Pagella Italic]
\starttext
 regular \em italics
 \stoptext
 
 I hope it helps,
 
 
 Pablo

That looks like a solution, thanks.



Now I have a related question. When I run:
mtxrun --script fonts * foo
The file foo has three columns. We only use the
word in the right hand column with the suffix
stripped off. So what is the purpose of the the
other two columns? for example:

minionproitalic minionproit MinionPro-It.otf

but we only use MinionPro-It.

Just curious.
-- 
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] Separate italic font.

2014-09-04 Thread Wolfgang Schuster

Am 04.09.2014 um 17:55 schrieb john Culleton j...@wexfordpress.com:

 Here is the example from the wiki
 --
 \setupbodyfontenvironment[default][em=italic]
 \usemodule[simplefonts][size=10pt]
 \setmainfont[TeX Gyre Termes]
 \setsansfont[TeX Gyre Heros]
 \setmonofont[TeX Gyre Cursor]
 -
 If the font (e.g., MinionPro) has a separate
 italic font should I add it?
 If so is the correct command:
 \setitalicfont[\setupbodyfont[MinionPro-It]

There is no need to ad the italic font by hand.

\definefontfamily [john] [rm] [Minion Pro]

\setupbodyfont[john]

\starttext
Upright and \it Italic!
\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
___