ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Persian interface
Date: Tue, 21 Oct 2008 16:44:54 +0200	[thread overview]
Message-ID: <48FDEAE6.3040009@wxs.nl> (raw)
In-Reply-To: <6048c4180810210624q67662ea5qee6ea48d97e92bf1@mail.gmail.com>

Mehdi Omidali wrote:
> Hi everyone,
> I want to be able to use persian interface in context. So I tried to
> create two files cont-pe.xml and cont-pe.tex for this purpose. Now my
> questions are:
> 1- Am I supposed to just create these two files and then run context
> --make cont-pe.
> 2- Can context accept these two files in UTF-8 encoding.

you need to adapt mult-con and mult-com but at the same time we need to 
adapt mult-sys, so as an experiment if things work out ok, just play a 
bit with mult-con/com e.g. replace a few harmless commands in the 
english interface and see if things work ok for persian

footnote: voetnoot                         footnote
           fussnote                         poznamkapodcarou
           notapdp                          notasubsol
           notepdp


eventually persian can become the 8th entry

footnote: voetnoot                         somethingpersian
           fussnote                         poznamkapodcarou
           notapdp                          notasubsol
           notepdp


\somethingpersian then should give you a footnote

(we never really tested it with utf8 input so far)

(when i have time i will (for luatex) make this mechanism different i.e. 
just lua tables from which i then can generate the con/com files)



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2008-10-21 14:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-21 13:24 Mehdi Omidali
2008-10-21 14:44 ` Hans Hagen [this message]
2008-10-23  4:31   ` Mehdi Omidali
2008-10-23  6:43     ` Wolfgang Schuster
2008-10-23 13:11       ` Hans Hagen
     [not found] <6048c4180810271445w4e23a65fj88067d1a9fb66b82@mail.gmail.com>
2008-10-28 21:35 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48FDEAE6.3040009@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).