Re: [NTG-context] Italic in margins and footntes

2016-06-30 Thread Pablo Rodriguez
On 06/30/2016 02:33 PM, Jean-Pierre Delange wrote:
> Hi Pablo !
> 
> Thank you for your reply. It doesn't work, yet : the compilation
> stops without producing any log file.

Hi Jean-Pierre,

the issue with the font is fixed, but you had a footnote that didn’t
have the final } and this prevented compilation.

But the rest of the issues will be dealt in a private reply.

Cheers,


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] Italic in margins and footntes

2016-06-30 Thread Jean-Pierre Delange
Hi Pablo !

Thank you for your reply. It doesn't work, yet : the compilation stops without 
producing any log file.
For the moment I have two goals : writing this course with a correct and 
beautiful PDF print and structuring 360 pages with 23 chapters (with greek 
aristotelian quotations). I am just trying to face the first goal !
I send you privately a sample of what I am trying to do.
JP

- Mail original -
De: "Pablo Rodriguez" <oi...@gmx.es>
À: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Envoyé: Mercredi 29 Juin 2016 21:21:02
Objet: Re: [NTG-context] Italic in margins and footntes

On 06/29/2016 06:06 PM, Jean-Pierre Delange wrote:
> 
> Dear ConTeXt wizards,
> 
> I am currently writing a course. I need some notes in the left
> margin. I have written this in the preamble :
> 
> \setuppapersize[A4]
> \setuplanguage[fr]
> \setuplayout [backspace=40mm]
> \setuppagenumbering[location={header,inright}]
> \setupmargindata[inmargin][location=left]
> \setupmargindata[inmargin][style={\switchtobodyfont[ss,10pt]}]
> \setupbodyfontenvironment[default][em=italic]
> \definefallbackfamily [mainface] [serif] [New Athena Unicode] 
> [preset=range:greek]% for some words in greek
> \definefontfamily [mainface] [serif] [GFS Didot]
> \setupbodyfont[mainface]
> \setupindenting[1.5em]
> \setupindenting[yes]
> \setupframedtexts[][left,10pt]
> \starttext
> 
> A problem occurs : while some words are well printed in italics in
> the body text (and in footnotes), this is not the case in the left margin
> with this code : \inmargin[][align=middle]{Cf. Platon, {\em Timée}, 29b.}

Hi Jean-Pierre,

you have to define a sans font after the serif font, such as in:

  \definefontfamily [mainface] [sans] [GFS Neohellenic]

BTW, latest beta versions require force=yes in \definefallbackfamily.

Just out of curiosity, do you plan to post the resulting PDF file online?

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
___
___
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] Italic in margins and footntes

2016-06-29 Thread Pablo Rodriguez
On 06/29/2016 06:06 PM, Jean-Pierre Delange wrote:
> 
> Dear ConTeXt wizards,
> 
> I am currently writing a course. I need some notes in the left
> margin. I have written this in the preamble :
> 
> \setuppapersize[A4]
> \setuplanguage[fr]
> \setuplayout [backspace=40mm]
> \setuppagenumbering[location={header,inright}]
> \setupmargindata[inmargin][location=left]
> \setupmargindata[inmargin][style={\switchtobodyfont[ss,10pt]}]
> \setupbodyfontenvironment[default][em=italic]
> \definefallbackfamily [mainface] [serif] [New Athena Unicode] 
> [preset=range:greek]% for some words in greek
> \definefontfamily [mainface] [serif] [GFS Didot]
> \setupbodyfont[mainface]
> \setupindenting[1.5em]
> \setupindenting[yes]
> \setupframedtexts[][left,10pt]
> \starttext
> 
> A problem occurs : while some words are well printed in italics in
> the body text (and in footnotes), this is not the case in the left margin
> with this code : \inmargin[][align=middle]{Cf. Platon, {\em Timée}, 29b.}

Hi Jean-Pierre,

you have to define a sans font after the serif font, such as in:

  \definefontfamily [mainface] [sans] [GFS Neohellenic]

BTW, latest beta versions require force=yes in \definefallbackfamily.

Just out of curiosity, do you plan to post the resulting PDF file online?

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
___

[NTG-context] Italic in margins and footntes

2016-06-29 Thread Jean-Pierre Delange

Dear ConTeXt wizards,

I am currently writing a course. I need some notes in the left margin. I have 
written this in the preamble :

\setuppapersize[A4]
\setuplanguage[fr]
\setuplayout [backspace=40mm]
\setuppagenumbering[location={header,inright}]
\setupmargindata[inmargin][location=left]
\setupmargindata[inmargin][style={\switchtobodyfont[ss,10pt]}]
\setupbodyfontenvironment[default][em=italic]
\definefallbackfamily [mainface] [serif] [New Athena Unicode] 
[preset=range:greek]% for some words in greek
\definefontfamily [mainface] [serif] [GFS Didot]
\setupbodyfont[mainface]
\setupindenting[1.5em]
\setupindenting[yes]
\setupframedtexts[][left,10pt]
\starttext

 A problem occurs : while some words are well printed in italics in the body 
text (and in footnotes), this is not the case in the left margin with this code 
:
\inmargin[][align=middle]{Cf. Platon, {\em Timée}, 29b.}

Thanks for your help !
JP

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