From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75755 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: \textcomma (was Re: Comma separating multiple footnotes) Date: Thu, 19 Apr 2012 18:11:57 -0400 (EDT) Message-ID: References: <1334020440.20725.16.camel@kip-laptop> <0C9EE148-3654-4770-98D6-1B2FFDD78394@googlemail.com> <1334266466.11310.102.camel@kip-laptop> <4F8DCF02.9050104@wxs.nl> <1334709034.2011.22.camel@kip-laptop> <1E2E050C-3E58-4E07-9779-E0BF118AEBE9@googlemail.com> <1334789779.5024.3.camel@kip-laptop> <0E949E07-E444-4D32-BDA2-8EA66F9AAE92@googlemail.com> <4F90762F.3030902@wxs.nl> <76441B65-EED5-4B48-A6F7-AC8086D746FA@googlemail.com> <4F907FC2.7090805@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1700616762-1334873518=:19372" X-Trace: dough.gmane.org 1334873541 26047 80.91.229.3 (19 Apr 2012 22:12:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 19 Apr 2012 22:12:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 20 00:12:12 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SKzaD-0005j9-2u for gctc-ntg-context-518@m.gmane.org; Fri, 20 Apr 2012 00:12:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E0CA4101E0; Fri, 20 Apr 2012 00:12:07 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id saS8iyMPaUhw; Fri, 20 Apr 2012 00:12:06 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0BAB8101E1; Fri, 20 Apr 2012 00:12:06 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 08425101E1 for ; Fri, 20 Apr 2012 00:12:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qOVI4nm34+Yz for ; Fri, 20 Apr 2012 00:12:02 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 82199101E0 for ; Fri, 20 Apr 2012 00:12:02 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q3JMBxSR002250 for ; Fri, 20 Apr 2012 00:12:01 +0200 Original-Received: FROM adi-netbook (bas3-montreal02-1096682554.dsl.bell.ca [65.94.12.58]) By hackers.mr.itd.umich.edu ID 4F908DAE.44693.4866 ; Authuser adityam; 19 Apr 2012 18:11:58 EDT In-Reply-To: <4F907FC2.7090805@wxs.nl> User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.81; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07GXWbXGm - 17a05b1fe81f - 20120420 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:75755 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1700616762-1334873518=:19372 Content-Type: TEXT/PLAIN; charset=windows-1252; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Thu, 19 Apr 2012, Hans Hagen wrote: > On 19-4-2012 22:59, Wolfgang Schuster wrote: > >> Is there a reason the make them into math commands, I think it=92s bette= r the=20 >> define them >> as =93contextname=3D=85=94 to let them behave as in MkII where \textcomm= a is=20 >> defined as >>=20 >> enco-def.mkii:\definecharacter textcomma , >> enco-def.mkii:\definecharacter textperiod . > > indeed, so what about math I don't think that these are needed in math. We can simply delete lines=20 443-445 from char-def: { class=3D"punctuation", name=3D"textperiod", }, and add contextname=3D"textperiod", The case with , (comma) is more tricky. Normally, in plain TeX comma is=20 defined as punctuation. But since comma is used as a separator in Europe,= =20 ConTeXt deos something smart based on the setting of autopunction. I don't= =20 completely understand how that works. If autopunction is ignored, then we simply need to map , to punctuation. I= =20 think that the definition of "mathcomma" can also be deleted. Thus, we can= =20 simply delete lines 408 onwards: mathspec=3D{ { class=3D"punctuation", name=3D"textcomma", }, { class=3D"ord", name=3D"mathcomma", }, }, Full patch: @@ -404,17 +404,8 @@ description=3D"COMMA", direction=3D"cs", linebreak=3D"is", + contextname=3D"textcomma", mathclass=3D"punctuation", - mathspec=3D{ - { - class=3D"punctuation", - name=3D"textcomma", - }, - { - class=3D"ord", - name=3D"mathcomma", - }, - }, unicodeslot=3D0x002C, }, { @@ -434,6 +425,7 @@ description=3D"FULL STOP", direction=3D"cs", linebreak=3D"is", + contextname=3D"textperiod", mathclass=3D"ord", mathspec=3D{ { @@ -442,10 +434,6 @@ }, { class=3D"punctuation", - name=3D"textperiod", - }, - { - class=3D"punctuation", name=3D"ldotp", }, }, Aditya --8323328-1700616762-1334873518=:19372 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 ___________________________________________________________________________________ --8323328-1700616762-1334873518=:19372--