From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69503 Path: news.gmane.org!not-for-mail From: Kip Warner Newsgroups: gmane.comp.tex.context Subject: Re: Sanskrit Devanagari characters Date: Fri, 24 Jun 2011 14:36:18 -0700 Message-ID: <1308951378.9217.40.camel@kip-laptop> References: <1308783116.3578.23.camel@kip-laptop> <20110623043639.GA22664@khaled-laptop> <1308875122.9217.1.camel@kip-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0922038269==" X-Trace: dough.gmane.org 1308951428 30031 80.91.229.12 (24 Jun 2011 21:37:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 24 Jun 2011 21:37:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 24 23:37:04 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QaE3k-0003PX-8X for gctc-ntg-context-518@m.gmane.org; Fri, 24 Jun 2011 23:37:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 98FCECADAD; Fri, 24 Jun 2011 23:37:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5VcLPbXNY82a; Fri, 24 Jun 2011 23:37:01 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0785CCADA3; Fri, 24 Jun 2011 23:37:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C9626CADA3 for ; Fri, 24 Jun 2011 23:36:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id FjSA65ahwJjO for ; Fri, 24 Jun 2011 23:36:47 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id D001FCAD97 for ; Fri, 24 Jun 2011 23:36:47 +0200 (CEST) Original-Received: from hapkido.dreamhost.com (hapkido.dreamhost.com [66.33.216.122]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p5OLaiEw006323 for ; Fri, 24 Jun 2011 23:36:45 +0200 Original-Received: from homiemail-a45.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by hapkido.dreamhost.com (Postfix) with ESMTP id BB0CB17F292 for ; Fri, 24 Jun 2011 14:36:37 -0700 (PDT) Original-Received: from homiemail-a45.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a45.g.dreamhost.com (Postfix) with ESMTP id 03BFB48070; Fri, 24 Jun 2011 14:36:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thevertigo.com; h=subject:from:to :cc:in-reply-to:references:content-type:date:message-id: mime-version; q=dns; s=thevertigo.com; b=lMj8tbf6+ZneyZs8VEz4FgO NTHM4W0rbc/Dv+X8P2EskHFEiiyCkGAFzP0/2J6EWVu6Cov/cAp5oDZYU4CZuSsJ G2cGfsWTPPN7LH6zYHdyksbFWt1naoqlMq7y/0pPT1RQHxW4L1H1xHP+oaTESWDv oFwvnsrEYa1Jm1JsaIXQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thevertigo.com; h=subject :from:to:cc:in-reply-to:references:content-type:date:message-id: mime-version; s=thevertigo.com; bh=JWEbP36GY7nkd1xMNoIfmgh9Rhc=; b=QsIDZsY9Nnn5fSJQ65ZBOMEv/HgSmBXl+DjKSzkzQAh0hf9GaqHOOpWpvEnqu thvRyyYLVg3EJMQuMXINwqyrhokiKLaGkRt8zWgmq6Y6/IXiZtAqjZzLPK47t/1a U2+tJwZ8kNNMf1hWZpeypAi4l4P1AxKzZ7YFj9AajoBmkU= Original-Received: from [192.168.1.64] (76-10-184-148.dsl.teksavvy.com [76.10.184.148]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: kip@thevertigo.com) by homiemail-a45.g.dreamhost.com (Postfix) with ESMTPSA id B926248058; Fri, 24 Jun 2011 14:36:19 -0700 (PDT) In-Reply-To: X-Mailer: Evolution 2.32.1 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=66.33.216.122; country=US; region=CA; city=Brea; postalcode=92821; latitude=33.9269; longitude=-117.8612; metrocode=803; areacode=714; http://maps.google.com/maps?q=33.9269,-117.8612&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05EXVAIIJ - c9d730ccbca9 - 20110624 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:69503 Archived-At: --===============0922038269== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-g5j/ZiPgvrL3+s62W6K5" --=-g5j/ZiPgvrL3+s62W6K5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2011-06-24 at 03:06 -0400, Aditya Mahajan wrote: > If you really have to do it this way .... the dev version of the filter= =20 > module [1] supports pre and postambles (@Mojca: you needed these for=20 > gnuplot module). You can use: >=20 > \usemodule[filter] >=20 > \defineexternalfilter[mkii] > [filter=3D{texexec --xtx --result=3D\externalfilter= outputfile }, > output=3D\externalfilterbasefile.pdf, > directory=3Doutput, > continue=3Dyes, > readcommand=3D\readMKII] >=20 > \define[1]\readMKII > {\dontleavehmode\externalfigure[#1][location=3Dlohi]} >=20 > \startmkiipreamble > \enableregime[utf-8] > % I don't know how to setup typescripts with xetex > % The rending is wrong. I think that one needs to enable > % some language specific ligatures > \font\devnagari=3D"Lohit-Hindi" at 12pt > \starttext > \startTEXpage[foregroundstyle=3D\devnagari] > \stopmkiipreamble >=20 > \startmkiipostamble > \stopTEXpage > \stoptext > \stopmkiipostamble >=20 > \starttext >=20 > Check if this works. >=20 > \startmkii > \startlines > =E0=A4=9C=E0=A4=BE=E0=A4=A4=E0=A4=BF =E0=A4=A8 =E0=A4=AA=E0=A5=82=E0=A4= =9B=E0=A5=8B =E0=A4=B8=E0=A4=BE=E0=A4=A7=E0=A5=81 =E0=A4=95=E0=A5=80, =E0= =A4=AA=E0=A5=82=E0=A4=9B =E0=A4=B2=E0=A5=80=E0=A4=9C=E0=A4=BF=E0=A4=8F =E0= =A4=97=E0=A5=8D=E2=80=8D=E0=A4=AF=E0=A4=BE=E0=A4=A8=E0=A5=A4 > =E0=A4=AE=E0=A5=8B=E0=A4=B2 =E0=A4=95=E0=A4=B0=E0=A5=8B =E0=A4=A4=E0=A4= =B2=E0=A4=B5=E0=A4=BE=E0=A4=B0 =E0=A4=95=E0=A5=87, =E0=A4=AA=E0=A4=A1=E0=A4= =BC=E0=A4=BE =E0=A4=B0=E0=A4=B9=E0=A4=A8 =E0=A4=A6=E0=A5=8B =E0=A4=AE=E0=A5= =8D=E2=80=8D=E0=A4=AF=E0=A4=BE=E0=A4=A8=E0=A5=A4=E0=A5=A4 > \stoplines > \stopmkii >=20 > \stoptext > % \inlinemkii does not currently work with pre- and postamble >=20 > Aditya >=20 > [1]: https://github.com/adityam/filter/blob/dev/ Hey Aditya. That's pretty convuluted and a bit too much for one or two words of Sanskrit in a document. I think I'll hold off until there is native straightforward support. Thanks anyways. --=20 Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com --=-g5j/ZiPgvrL3+s62W6K5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAk4FA1IACgkQLXnfK7bii234fQCgkacIuUnveVFsQE/vQiK6m7Kf AZYAnRmTQnEqwV0OozOK+U4Gzpige6Je =bJuF -----END PGP SIGNATURE----- --=-g5j/ZiPgvrL3+s62W6K5-- --===============0922038269== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0922038269==--