On 8/7/2013 10:50 AM, Mingranina Gingranina wrote:
  Dear All,

  I am completely new to ConTeXt and after searching and exploring the
  ConTeXt Garden wiki pages and other resources thoroughly, I decided
  to write my first document in Persian which reads:

\enableregime [utf-8]
\definefontfeature [persian] [mode=node,language=dflt,script=arab,



\pagedir TRT\bodydir TRT\pardir TRT\textdir TRT
این یک آزمایش است.
\pagedir TLT\bodydir TLT\pardir TLT\textdir TLT
This is a test.

  As there are some UTF-8 characters in the document I have attached the
  document to this message too.

  The problem is that on my system the Persian part of the output is a set of
  Persian Isolated characters, but on http://live.contextgarden.net the Persian
  part does not appear at all.
  Could somebody please let me know what am I doing wrong?

Here is a more minimal test:

\definefontfeature [persian] [arabic] % [...]





    این یک آزمایش است.


    This is a test.


If that works, you can try the simplefonts variant. Keep in mind that you need to end a paragraph with an empty line or \par because otherwise the last settings apply.


                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
If your question is of interest to others as well, please add an entry to the 

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

Reply via email to