From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80876 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: \| should give two || and not one Date: Tue, 19 Feb 2013 13:09:38 +0100 Message-ID: References: <0586C40F-41EA-4278-BE5B-B347317FA964@web.de> <5123460F.70300@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1361275796 19536 80.91.229.3 (19 Feb 2013 12:09:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Feb 2013 12:09:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 19 13:10:16 2013 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 1U7m1X-00089V-T4 for gctc-ntg-context-518@m.gmane.org; Tue, 19 Feb 2013 13:10:15 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B20AE101EF; Tue, 19 Feb 2013 13:09:55 +0100 (CET) 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 2h0Dj7pf9MWN; Tue, 19 Feb 2013 13:09:51 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 54747101E3; Tue, 19 Feb 2013 13:09:51 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ACC4D101E3 for ; Tue, 19 Feb 2013 13:09:49 +0100 (CET) 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 ns7G8ujUT0Kl for ; Tue, 19 Feb 2013 13:09:40 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id E164B101E0 for ; Tue, 19 Feb 2013 13:09:39 +0100 (CET) Original-Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r1JC9dT1022843 for ; Tue, 19 Feb 2013 13:09:39 +0100 Original-Received: by mail-wi0-f174.google.com with SMTP id hi8so4685852wib.13 for ; Tue, 19 Feb 2013 04:09:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=Jby60L2aC2XmZus4hamBwlO2m5IjMUhssOihUNx8Tig=; b=hPM/qbjOD8SLvtgcLco0g1FvcUzWS3fjk38dHqHpJwGRBPbNtXuzj2hbDKPZ/zWyWg xwJmOGinPE1bXTt5gjAwTIGHmBf3QRwv7712TzhAIFYGaYMx2TNQzHTXfTeuou/pq5uO oKSEZnWol425n6SkALfQt99l2xltlDj/RwZIHdlgva7vXORXTGJZMOeIP+SLQbjM+7hh 0oxi89O6HcPuTVuQrgRXj+3HplwquXJG4lsFXvNVKlRw3QwC30KDuKGBSMsYQs77bcMs 4t7L5Rbn8CZbeNItdhG9JeFW967XRiUPJr71G0KehPZ4hkvBbn0/irovXFxp+2dMF3c6 2lgA== X-Received: by 10.180.94.69 with SMTP id da5mr26620424wib.30.1361275779050; Tue, 19 Feb 2013 04:09:39 -0800 (PST) Original-Received: by 10.194.9.1 with HTTP; Tue, 19 Feb 2013 04:09:38 -0800 (PST) In-Reply-To: <5123460F.70300@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.174; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QJ2c9DFR - 0fe7d8ef7e34 - 20130219 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:80876 Archived-At: On Tue, Feb 19, 2013 at 10:29 AM, Hans Hagen wrote: > On 2/19/2013 8:36 AM, Keith J. Schultz wrote: >> >> Hi All, >> >> In a way, it is correct that for compatibility reasons and and convert >> it is good to keep the old syntax. >> >> Yet, ConTeXt is suppose to be more natural. > > I consider the \{ \} \| etc to be escapes for tex characters. In fact, if > one wants || in math then it's more natural to support || directly. Except that braces actually need an escape, while bars don't. I don't see any advantage of "\|" representing a single vertical bar, it only breaks compatibility and helps confuse those who used "\|" in other flavours of TeX. There is a nice thread on SX: http://tex.stackexchange.com/questions/498/mid-vert-lvert-rvert As others have already written, one should use the appropriate unicode character, not two bars. (Two bars are a separate symbol - I guess that you probably don't want to recognise two subsequent bars are replace them with a different glyph?) And even then there is a problem with typographical conventions: whether the symbol is used as left/right delimiter, as a binary operator, ... Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________