Re: [NTG-context] Two errors in test file.

2014-09-09 Thread Wolfgang Schuster

Am 09.09.2014 um 21:18 schrieb john Culleton :

> Here is the test file:
> --
> \definefontfamily [myfamily][serif][MinionPro Serif]
> \definefontfamily [myfamily][sans][MyriadPro Sans]
> \definefontfamily [myfamily][italic][MinionPro Italic]
> \setupbodyfont[myfamily]
> \starttext
> \rm
> foo
> \startitemize[a]
> \item  {\bf Inkscape}
> \item  Scribus
> \item  Gimp
> \stopitemize
> \stoptext
> ---
> First, nothing prints.
> Second, if I say 
> \startitemize[1]
> I get an error on the first \item line.
> I suspect that the default font doesn't have the
> big dot character.
> 
> The system variable OSFONTDIR points
> to /usr/share/fonts
> 
> Obviously there is something that I am missing
> in the font definitions.

All of your three font definitions are wrong because

1. There is only a font with the name “Minion Pro” but no “Minion Pro Serif”.

2. There is only a “Myriad Pro” font but no “Minion Pro Sans” font.

3. The “italic” in the style of the third definition is wrong because italic is 
a font alternative. When an unknown value is used for the style the command 
uses serif as fallback and therefore overwrites the first line which sets the 
serif style as well.


The following example uses the right names (which I used also in the answers of 
your previous questions) for both fonts.

\definefontfamily [myfamily] [serif] [Minion Pro]
\definefontfamily [myfamily] [sans]  [Myriad Pro]

\setupbodyfont[myfamily]

\starttext
\startitemize[a]
\item  {\bf Inkscape}
\item  Scribus
\item  Gimp
\stopitemize
\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
___


[NTG-context] Two errors in test file.

2014-09-09 Thread john Culleton
Here is the test file:
--
\definefontfamily [myfamily][serif][MinionPro Serif]
\definefontfamily [myfamily][sans][MyriadPro Sans]
\definefontfamily [myfamily][italic][MinionPro Italic]
\setupbodyfont[myfamily]
\starttext
\rm
foo
\startitemize[a]
\item  {\bf Inkscape}
\item  Scribus
\item  Gimp
\stopitemize
\stoptext
---
First, nothing prints.
Second, if I say 
\startitemize[1]
I get an error on the first \item line.
I suspect that the default font doesn't have the
big dot character.

The system variable OSFONTDIR points
to /usr/share/fonts

Obviously there is something that I am missing
in the font definitions.
-- 
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
___