From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83852 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Persian digits in math formulas Date: Sat, 17 Aug 2013 14:38:10 +0200 Message-ID: <3012C084-178F-4906-8CA0-B02511A861C8@gmail.com> References: <520CF61E.8080908@wxs.nl> <520D3F2B.9010503@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1376743111 19575 80.91.229.3 (17 Aug 2013 12:38:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Aug 2013 12:38:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Aug 17 14:38:34 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 1VAfm6-0000gZ-ER for gctc-ntg-context-518@m.gmane.org; Sat, 17 Aug 2013 14:38:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6D0AD10216; Sat, 17 Aug 2013 14:37:33 +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 wUM5rMViQqLn; Sat, 17 Aug 2013 14:37:22 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 85E691021A; Sat, 17 Aug 2013 14:37:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D74281021A for ; Sat, 17 Aug 2013 14:37:20 +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 kUJZAd+eIYmT for ; Sat, 17 Aug 2013 14:37:10 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 5C17410216 for ; Sat, 17 Aug 2013 14:37:10 +0200 (CEST) Original-Received: from mail-ea0-x233.google.com (mail-ea0-x233.google.com [IPv6:2a00:1450:4013:c01::233]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r7HCc9Kt032357 for ; Sat, 17 Aug 2013 14:38:09 +0200 Original-Received: by mail-ea0-f179.google.com with SMTP id b10so1430462eae.24 for ; Sat, 17 Aug 2013 05:38:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=lkq7Vbk8Z7kAlsMC4Hwe+G6xWF5ghroOWGz0MG6drbg=; b=w1h+jp1TFXLWjzQVVIKcTX1yKsVCZlS8Z+O2Zaz2jWSlscz5HErBZVkZj3+Z4Mvda8 Si+2p0PUoPWYgtCt5e+fj8f4JKUXkWXQJG8VTvRT7TcbHjFnpA2xQnCElF3LStFbY8eg AhtvTOn7KwsvwJiPULlPneGGMo/8WSUms47GeROQYNqBufCZRjvwjikiHMdtclIdSz/W 4Epbx9whED2g2I24TeWMrQmhoyn84sdSRv2V2bqSOHLosweEw8bNrYNx5kQcAkkwzV0h W7Fwyw+8mF7kcHw1n+UsgsHkG9ZGRbBSXhSB1Fga6cm1JKOimOnjrLH5N7xYl0oTqXD0 RmYQ== X-Received: by 10.15.35.196 with SMTP id g44mr5318170eev.18.1376743089503; Sat, 17 Aug 2013 05:38:09 -0700 (PDT) Original-Received: from keima.localdomain (x2f21bd7.dyn.telefonica.de. [2.242.27.215]) by mx.google.com with ESMTPSA id d8sm3394058eeh.8.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 17 Aug 2013 05:38:08 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1508) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c01::233; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07KdMC9rO - 1799f92b2c33 - 20130817 (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:83852 Archived-At: Am 17.08.2013 um 09:57 schrieb Mingranina Gingranina : > With the above code the digits are not changed to persian. For your > information I have > attached the source, log, and PDF files. = The following example from Hans worked in my system: \usetypescriptfile[mathdigits] \usetypescript [mathdigits] [xits-dejavu] [arabicindic] \setupbodyfont[dejavu] \starttext $3+2=3D5 \quad \bf 3+2=3D5$ \stoptext > Please note that I have changed '\setupbodyfont[dejavu] to > \setupbodyfont[dejavusans] > because the font 'dejavu' is not installed on my system. The DejaVu fonts are shipped with your context installation and you can use= them with \setupbodyfont[dejavu], when you write \setupbodyfont[dejavusans] cont= ext uses Latin Modern because there is no typeface with the name =93dejavusans= =94. Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________