Re: [NTG-context] [metapost] Stroke Font

2015-05-17 Thread Wolfgang Schuster

> Am 17.05.2015 um 22:54 schrieb Troy Henderson :
> 
> I updated pstoedit, and it functions as expected.
> 
> This is not a MetaPost question but rather a ConTeXt question:  How do I use 
> Arev Bold (Sans) in ConTeXt?

Use the DejaVu fonts which are like Arev Sans a extended version of Bitsream 
Vera.

\setupbodyfont[dejavu]

\starttext

\input knuth

\ss\input knuth

\startformula
c^2 = a^2 + b^2
\stopformula

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

Re: [NTG-context] parenthesis in Arabic text

2015-05-17 Thread Sam Ḥilluc
On 2015-05-17 12:20, Wolfgang Schuster wrote:
> 
> > Am 17.05.2015 um 00:58 schrieb Sam Ḥilluc :
> > 
> > Greetings,
> > 
> > I'm trying to typeset an Arabic text, but I have a problem with parenthesis 
> > in
> > footnotes. The following example:
> > 
> >\usemodule[simplefonts]
> > 
> >\setmainfont[amiri][features=arabic,range=arabic]
> >\setupdirections[bidi=global]
> >\setupalign[righttoleft]
> > 
> >\def\text{(ب)}
> > 
> >\startdocument
> >\text\footnote{\text}.
> >\stopdocument
> > 
> > gives the correct order in the text but the parenthesis are not adapted in 
> > the
> > footnote.
> > 
> > So in the text I get: (ب)
> > And in the footnote: )ب(.
> 
> You have to set the bidi settings again for the footnotes because
> the notes mechanism resets many of these setups.
> 
> \startsetups[note:footnote]
>   \setupdirections[bidi=global]
> \stopsetups
> 
> \setupnote[footnote][setups=note:footnote] % align=righttoleft
> 
> Wolfgang

Works perfectly, thanks.
___
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] DejaVu 2.35

2015-05-17 Thread Thomas Floeren
As a side note: There’s a new release of DejaVu.

-- 
Tom


> Hi everyone,
> 
> It's long overdue, but it has finally arrived: we present to you the 2.35 
> release!
> 
> 
> For the changelog, check http://dejavu-fonts.org/wiki/Changelog
> 
> Packages are available on SourceForge. For links check
> http://dejavu-fonts.org/wiki/Download
> 
> 
> To our contributers: we aren't opening SVN yet, as we will move the code to 
> github (which will hopefully be a smooth transition and finished later 
> today). 
> More details about will follow.
> 
> Greetings
> Ben
___
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] parenthesis in Arabic text

2015-05-17 Thread Wolfgang Schuster

> Am 17.05.2015 um 00:58 schrieb Sam Ḥilluc :
> 
> Greetings,
> 
> I'm trying to typeset an Arabic text, but I have a problem with parenthesis in
> footnotes. The following example:
> 
>\usemodule[simplefonts]
> 
>\setmainfont[amiri][features=arabic,range=arabic]
>\setupdirections[bidi=global]
>\setupalign[righttoleft]
> 
>\def\text{(ب)}
> 
>\startdocument
>\text\footnote{\text}.
>\stopdocument
> 
> gives the correct order in the text but the parenthesis are not adapted in the
> footnote.
> 
> So in the text I get: (ب)
> And in the footnote: )ب(.

You have to set the bidi settings again for the footnotes because
the notes mechanism resets many of these setups.

\startsetups[note:footnote]
  \setupdirections[bidi=global]
\stopsetups

\setupnote[footnote][setups=note:footnote] % align=righttoleft

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
___