Re: [NTG-context] Comical error..

2017-02-11 Thread John Culleton
On Sat, 11 Feb 2017 21:08:46 +0100
Here is another example from the Wiki
-
 \definefontfamily
[mainface]
[rm]
[TeX Gyre Pagella]
[it={TeX Gyre Cursor-Italic},
 bf={TeX Gyre Adventor-Bold},
 bi={TeX Gyre Termes-BoldItalic}]

\setupbodyfontenvironment
[default]
[em=italic]

\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=1em]
Roman font {\em italic}

\bf Bold font \em bold italic
\stopTEXpage
\stoptext
---
and another
--
setupbodyfont[dejavu]

\setupbodyfontenvironment
 [default]
 [smallsized=1.25,
  mediumsized=1.5,
  largesized=2.0]

\definefontsize[smallsized]
\definefontsize[mediumsized]
\definefontsize[largesized]

\starttext

\setuphead[chapter]   [style=\bflargesized]
\setuphead[section]   [style=\bfmediumsized]
\setuphead[subsection][style=\bfsmallsized]

\chapter   {Whatever $x-1$}
\section   {Whatever $x-1$}
\subsection{Whatever $x-1$}

\input ward
\blank
Whatever $x-1$
\blank

{\itmediumsized This is italic medium sized. $\cos(x) = {\rm
Re}(\exp({\rm i}x))$}

\blank

{\rmmediumsized This is roman medium sized. \crlf
$\cos(x) = {\rm Re}(\exp({\rm i}x))$}

\stoptext

--
Some questions:
1. Where is the basic size of the font family defined in points?
2. In the second example which of the many Dejavu fonts is assumed to
be the starting point? Is it a ttf or a otf version?
3. Can any font family on the system be used or is there a specific
context list?

All answers appreciated of course :<)

 John Culleton
Wexfordpress
Book design and indexing.

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] specifying body fonts

2017-02-11 Thread John Culleton
Reently I saw an example of setting up the various formats of a single
body font such as \rm, \it \bf, \sc etc. with examples of using these in
Gyre font. It may have been in the wiki or here on the list
There were examples of slanted type vs.true italic as I recall. 
I should have copied it but I didn't (at age 84 I forget to do things).

No biggie but does this ring any bells?
-- 
John Culleton
Wexfordpress
Book design and indexing.


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Comical error..

2017-02-11 Thread Henning Hraban Ramm
Am 2017-02-11 um 20:51 schrieb John Culleton :

> I am just starting on a new project and haven't fussed with body
> fonts yet. I specified specific fonts for the half and title pages. For
> the copyright page thus far I just used the default whatever that is. 

Default is Latin Modern.

> On that page the
> lower case "e" came out as a lower case "c" in every instance. 
> 
> I do have the following in my macros.tex subfile which I pass on from
> job to job:
> -  
> \setupbodyfontenvironment[default][em=italic]
> \usemodule[simplefonts][size=10pt]

The simplefonts module is obsolete.
You didn’t \setupbodyfont.

> \definefontfeature
>  [default]
>  [default]
>  [protrusion=quality,expansion=quality]
> \setupalign[hz,hanging]
> -
> maybe there is somethng funky there.
> John Culleton
> Wexfordpress
> Book design and indexing.


Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Comical error..

2017-02-11 Thread John Culleton
I am just starting on a new project and haven't fussed with body
fonts yet. I specified specific fonts for the half and title pages. For
the copyright page thus far I just used the default whatever that is. 
On that page the
lower case "e" came out as a lower case "c" in every instance. 

I do have the following in my macros.tex subfile which I pass on from
job to job:
-  
\setupbodyfontenvironment[default][em=italic]
\usemodule[simplefonts][size=10pt]
\definefontfeature
  [default]
  [default]
  [protrusion=quality,expansion=quality]
\setupalign[hz,hanging]
-
maybe there is somethng funky there.
John Culleton
Wexfordpress
Book design and indexing.


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___