From: Kip Warner <kip@thevertigo.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Sanskrit Devanagari characters
Date: Sun, 26 Jun 2011 19:10:54 -0700 [thread overview]
Message-ID: <1309140654.9217.79.camel@kip-laptop> (raw)
In-Reply-To: <BANLkTik4_Dg6ftFAR_yo2Ya_Xmz_h+ck3A@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1974 bytes --]
On Sun, 2011-06-26 at 08:44 +0200, Mojca Miklavec wrote:
> On Sun, Jun 26, 2011 at 02:22, Kip Warner wrote:
> > On Thu, 2011-06-23 at 07:58 +0200, Mojca Miklavec wrote:
> >> Or produce the whole document with ConTeXt + XeTeX :)
> >
> > I would, but getting ConTeXt alone up and running has taken weeks.
>
> If you have it up and running, you can use it now also for XeTeX.
>
> The only difference is that you have to run "texexec --xtx filename"
> as opposed to "context filename".
>
> > You'd think it would just be something really simple like
> > \switchfont[devangari]
> > तरीकिन
> > \unswitchfont
>
> With ConTeXt+XeTeX it boils down to:
>
> % this is plain xetex font switch; see next example
> \font\devanagari="Devanagari MT:script=Deva"
> \starttext
> {\devanagari तरीकिन}
> \stoptext
>
> Or the following one that could work in both XeTeX and LuaTeX with MKIV:
>
> \definefontfeature[devanagari][script=deva]
> \definefontsynonym[devanagari][name:Devanagari MT][features=devanagari]
>
> \starttext
> {\definedfont[devanagari] तरीकिन}
> \stoptext
>
> See attachments. XeTeX should work fine for you, the only question is
> whether you need any MKIV features or not. If you do need them, you
> could use Aditya's approach to insert snipets compiled with XeTeX (it
> will happen automatically), if you don't need them you just take XeTeX
> and you are done. The example that you sent also works fine in ConTeXt
> MKIV, but as soon as it comes to slightly more complex ligatures,
> LuaTeX won't render them properly without writing some additional
> support.
>
> Mojca
Thanks Mojca. The problem is it looks like XeTeX may not fully support
some of the features I need like mathematical characters and such yet.
Although I have no doubt it probably will eventually.
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-06-27 2:10 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-22 22:51 Kip Warner
2011-06-23 4:36 ` Khaled Hosny
2011-06-23 5:58 ` Mojca Miklavec
2011-06-23 6:06 ` Khaled Hosny
2011-06-23 7:38 ` Hans Hagen
2011-06-23 12:05 ` Daniel Stender
2011-06-24 0:23 ` Kip Warner
2011-06-26 0:22 ` Kip Warner
2011-06-26 6:44 ` Mojca Miklavec
2011-06-26 6:50 ` Aditya Mahajan
2011-06-26 6:59 ` Mojca Miklavec
2011-06-26 9:31 ` Hans Hagen
2011-06-27 2:10 ` Kip Warner [this message]
2011-06-27 7:35 ` Mojca Miklavec
2011-06-28 1:39 ` Kip Warner
2011-06-28 1:51 ` Mojca Miklavec
2011-06-28 1:57 ` Kip Warner
2011-06-24 0:25 ` Kip Warner
2011-06-24 7:06 ` Aditya Mahajan
2011-06-24 21:36 ` Kip Warner
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=1309140654.9217.79.camel@kip-laptop \
--to=kip@thevertigo.com \
--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).