From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48354 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Let's Polish the math! Date: Sat, 14 Mar 2009 03:52:36 -0400 (EDT) Message-ID: References: <20090314002625.GI11907@atos.labs.wmid.amu.edu.pl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-446910558-1237017157=:32482" X-Trace: ger.gmane.org 1237017277 29863 80.91.229.12 (14 Mar 2009 07:54:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Mar 2009 07:54:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 14 08:55:53 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LiOiT-0004LZ-ML for gctc-ntg-context-518@m.gmane.org; Sat, 14 Mar 2009 08:55:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9A3A71FB71; Sat, 14 Mar 2009 08:54:08 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02724-04; Sat, 14 Mar 2009 08:53:27 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8F9361FB29; Sat, 14 Mar 2009 08:53:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9E11F1FB29 for ; Sat, 14 Mar 2009 08:53:25 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04658-03-3 for ; Sat, 14 Mar 2009 08:53:16 +0100 (CET) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by ronja.ntg.nl (Postfix) with ESMTP id 3ADD71FADC for ; Sat, 14 Mar 2009 08:53:16 +0100 (CET) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter1-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n2E7rE4M006848 for ; Sat, 14 Mar 2009 08:53:15 +0100 Original-Received: FROM [192.168.2.8] (c-71-234-195-113.hsd1.ct.comcast.net [71.234.195.113]) BY hackers.mr.itd.umich.edu ID 49BB6268.BAEE8.7029 ; 14 Mar 2009 03:53:12 -0400 In-Reply-To: <20090314002625.GI11907@atos.labs.wmid.amu.edu.pl> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) 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: 193447857 - 1efb755ec13b X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:48354 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-446910558-1237017157=:32482 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Hi Marcin, On Sat, 14 Mar 2009, Marcin Borkowski wrote: > Hi, > > how to do this: here in Poland we have some conventions as for > typesetting math; for example, we don't use \leq, but \leqslant; The easy way is to type =E2=A9=BD (0x2A7D) instead of =E2=89=A4 (0x2264) :)= =2E You can do something like \setuplabeltext [en] [lessthanequal=3D{\leq}] \setuplabeltext [pl] [lessthanequal=3D{\leqslant}] \def\le{\labeltext{lessthanequal}} and then use \le, but I am not sure if this is a good thing to do. > we don't write "tan" for tangent, but "tg"; Do you want \tan to produce tg? Again you can do \setuplabeltext [en] [tangent=3D{tan}] \setuplabeltext [pl] [tangent=3D{tg}] \definemathcommand [tan] [nolop] {\mfunction{\labeltext{tangent}}} > we don't write "arcsin", but > "arc\,sin"; etc. Same as above. > Would it be possible to have such typographic > conventions (I could provide a more comprehensive list, of course) > enabled by \mainlanguage[pl]? It is relatively easy to do this. I am in favour of implementing the trignometric functions, etc; but I do not think that changing the meanings = of mathematical symbols is a good thing. It is really hard to remember the nam= es of symbols as is, changing meaning according to language will make it extremel= y difficult. > A related problem is dashes; where the > English use an em-dash without any spaces, the Polish use an en-dash > with spaces of around 0.2em (the left one "unbreakable", i.e., with > \penalty10000). Don't know. > Also, we put periods after section numbers, so no "1.2 > Section", but rather "1.2. Section". \setuplabeltext [pl] [section=3D{{},{.}}] > What is the ConTeXt way to have > such things for different languages? \setuplabeltext Aditya --8323328-446910558-1237017157=:32482 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --8323328-446910558-1237017157=:32482--