Re: [NTG-context] \linedir in latest beta

2016-07-05 Thread Hans Hagen

On 7/5/2016 11:06 AM, Mohammad Hossein Bateni wrote:

Hello Hans & Wolfgang,

I just updated to the recent beta: 2016.07.01 16:28
Is that the latest version or is there something wrong with the update
mechanism?


for now, put

\let\linedir\textdir

in cont-new.mkiv



In any case, most my Farsi tests are broken now and the culprit seems to
be \linedir.  Here is MWE:


\setuphead[section][numberstyle=\righttoleft]
\starttext
\section{SALAM}
\stoptext


The error looks like the following:

Undefined control sequence

\spac_directions_righttoleft_hmode ...ip \linedir
  TRT\relax \else
\scratchsk...
\righttoleft ...spac_directions_righttoleft_hmode
  \fi
\dousecurrentstyleparameter ...rentstyleparameter
  \fi \fi
\useheadstyleandcolor ...usecurrentstyleparameter
  \fi \edef
\currentcolorpar...
\strc_rendering_initialize_style_and_color_display ...
  \relax \ifconditional
\fon...
\headnumbercontent ...!numberstyle \c!numbercolor
  \ifcsname
\currentheadhash...
...
l.14 \section{SALAM}


—MHB


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




--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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] \linedir in latest beta

2016-07-05 Thread Mohammad Hossein Bateni
Hello Hans & Wolfgang,

I just updated to the recent beta: 2016.07.01 16:28
Is that the latest version or is there something wrong with the update
mechanism?

In any case, most my Farsi tests are broken now and the culprit seems to be
\linedir.  Here is MWE:


\setuphead[section][numberstyle=\righttoleft]
\starttext
\section{SALAM}
\stoptext


The error looks like the following:

Undefined control sequence

\spac_directions_righttoleft_hmode ...ip \linedir
  TRT\relax \else
\scratchsk...
\righttoleft ...spac_directions_righttoleft_hmode
  \fi
\dousecurrentstyleparameter ...rentstyleparameter
  \fi \fi
\useheadstyleandcolor ...usecurrentstyleparameter
  \fi \edef
\currentcolorpar...
\strc_rendering_initialize_style_and_color_display ...
  \relax \ifconditional
\fon...
\headnumbercontent ...!numberstyle \c!numbercolor
  \ifcsname
\currentheadhash...
...
l.14 \section{SALAM}


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