From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84263 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: texnansi encoding. Date: Sat, 14 Sep 2013 20:06:54 +0200 Message-ID: <64F4D228-5D9E-4001-88D9-4116B1180685@gmail.com> References: <20130912160506.2ffe8ada@localb.wexfordpress.net> <52325F3D.80609@wxs.nl> <20130914093412.4a12eae2@localb.wexfordpress.net> <4F85C0D6-E6E5-4696-9056-F944C6E110AF@gmail.com> <20130914131645.70143e77@localb.wexfordpress.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: multipart/mixed; boundary="===============0245046920==" X-Trace: ger.gmane.org 1379182018 26552 80.91.229.3 (14 Sep 2013 18:06:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Sep 2013 18:06:58 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 14 20:07:03 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VKuFK-0001kZ-Re for gctc-ntg-context-518@m.gmane.org; Sat, 14 Sep 2013 20:07:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DC01910211; Sat, 14 Sep 2013 20:05:12 +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 Rs-32mUnpujO; Sat, 14 Sep 2013 20:05:09 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C32EE101F9; Sat, 14 Sep 2013 20:05:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3BBA5101F9 for ; Sat, 14 Sep 2013 20:05:08 +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 FiJHvBiYoh8f for ; Sat, 14 Sep 2013 20:05:07 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 13F45101F7 for ; Sat, 14 Sep 2013 20:05:06 +0200 (CEST) Original-Received: from mail-ee0-x231.google.com (mail-ee0-x231.google.com [IPv6:2a00:1450:4013:c00::231]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r8EI6tIk020689 for ; Sat, 14 Sep 2013 20:06:55 +0200 Original-Received: by mail-ee0-f49.google.com with SMTP id d41so1185078eek.22 for ; Sat, 14 Sep 2013 11:06:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=F4q4VGh2RKJwa2xt8sXsKd8eaWlziTyl3Y3dl93eDwg=; b=oCoYJkuoNM0nwraAPuo7NsdJn4P0qR8gmb4+VZoL7xf+qqcZxpgxb7J9TkRhAEPOev impCb1mC5Ogiz+YuLafjBmEpuEfwPMfJIfpLWM9hJPNMVgh0YsxDTcB+hIa6cRnbYHPQ CPLD8useAiat0D5MwUwSvfT93VBHdR/jXfow85NOTbuqH/ti0R6+pYUGJfBYRQ06+5jH H5pOAvShtZTa9OfTtMNt2lHVri0QZXnWP7tnvFz6J090tol0bgxV/dPocWCnsl2aBoPo kZpsE0R3vBKnHy6e/ybgWe+jgFIXrtOki6G9YYxYBHufGD/7VMQfHoqEc9I4146pkpTJ BCYg== X-Received: by 10.14.113.137 with SMTP id a9mr27791158eeh.3.1379182014840; Sat, 14 Sep 2013 11:06:54 -0700 (PDT) Original-Received: from keima.localdomain (x2f22b6e.dyn.telefonica.de. [2.242.43.110]) by mx.google.com with ESMTPSA id p5sm26097631eeg.5.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 14 Sep 2013 11:06:54 -0700 (PDT) In-Reply-To: <20130914131645.70143e77@localb.wexfordpress.net> X-Mailer: Apple Mail (2.1510) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::231; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RKp66T41 - a2a267f93c75 - 20130914 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:84263 Archived-At: --===============0245046920== Content-Type: multipart/alternative; boundary="Apple-Mail=_FE388ED9-9186-426D-95DB-FF6F000E0BCD" --Apple-Mail=_FE388ED9-9186-426D-95DB-FF6F000E0BCD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 14.09.2013 um 19:16 schrieb john Culleton : > On Sat, 14 Sep 2013 17:42:42 +0200 > Wolfgang Schuster wrote: >=20 >>=20 >> Am 14.09.2013 um 15:34 schrieb john Culleton : >>=20 >>> Excellent! Now in MKIV how would I encode an opening quote mark >>> American style? In previous TeX programs it was always ``. The MKIV >>> substitute \quotation{foo}=20 >>> is not practical for my application, where the raw input code >>> may use the ditto mark " for both opening and closing quotes. I am >>> looking for something in MKIV equivalent to \char92 in plain TeX. On >>> the unicode table I find the hex value 008013 but I don't know how >>> to plug that in to a macro that redefines the first occurrence of " >>> to be that character, and the second occurrence to be hex 000814 >>> etc. I can write the macro, I just need the expression equivalent >>> to \char that gives me such characters in MKIV. >>=20 >> Are you sure these are the correct values? >>=20 >> http://www.fileformat.info/info/unicode/char/8013/index.htm >>=20 >>=20 >> What=92s wrong with \char? >>=20 >> \starttext >>=20 >> \char"201C TEXT\char"201D >>=20 >> \utfchar{"201C}TEXT\utfchar{"201D} >>=20 >> \fontchar{quotedblleft}TEXT\fontchar{quotedblright} >>=20 >> \stoptext >>=20 >> Wolfgang >=20 > Well you answered my question. The chart I read for unicode characters=20= > gave the values I quoted. I guess I was reading the wrong chart. What > chart do you use? - http://www.unicode.org/charts/ - http://www.unicode.org/charts/PDF/U2000.pdf - http://www.decodeunicode.org/ - http://www.decodeunicode.org/u+201C - http://www.typografie.de/product_info.php?products_id=3D1409&language=3D= en Wolfgang= --Apple-Mail=_FE388ED9-9186-426D-95DB-FF6F000E0BCD Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 John@wexfordpress.com>:=
On = Sat, 14 Sep 2013 17:42:42 +0200
Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:


Am 14.09.2013 um 15:34 = schrieb john Culleton <
John@wexfordpress.com>:
Excellent! Now in MKIV how would I encode an = opening quote mark
American style? In previous TeX programs it was = always ``. The MKIV
substitute \quotation{foo}
is not practical = for my application, where the raw input code
may use the ditto mark " = for both opening and closing quotes. I am
looking for something in = MKIV equivalent to \char92 in plain TeX. On
the unicode table I find = the hex value 008013 but I don't know how
to plug that in to a macro = that redefines the first occurrence of "
to be that character, and = the second occurrence to be hex 000814
etc. I can write the macro, I = just need the expression equivalent
to \char that gives me such = characters in MKIV.

Are you sure these are the = correct values?

http:= //www.fileformat.info/info/unicode/char/8013/index.htm


What= =92s wrong with \char?

\starttext

\char"201C = TEXT\char"201D

\utfchar{"201C}TEXT\utfchar{"201D}

\fontchar{= quotedblleft}TEXT\fontchar{quotedblright}

\stoptext

Wolfgang=

Well you answered my question. The chart I read for = unicode characters
gave the values I quoted. I guess I was reading = the wrong chart. What
chart do you = use?

http://www.decodeunicode.org/

Wolfgang
= --Apple-Mail=_FE388ED9-9186-426D-95DB-FF6F000E0BCD-- --===============0245046920== 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 ___________________________________________________________________________________ --===============0245046920==--