From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62254 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: mixed English and Arabic using Simplefonts? Date: Sat, 2 Oct 2010 11:25:12 +0200 Message-ID: <20101002092512.GA1986@khaled-laptop> References: <7CF895ED-3E56-452C-857B-A5CCB2A83315@fastmail.fm> <3F00641B-254B-477C-97DC-355C704CD410@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1286011531 9630 80.91.229.12 (2 Oct 2010 09:25:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Oct 2010 09:25:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Oct 02 11:25:28 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P1yLP-0004Mz-Kx for gctc-ntg-context-518@m.gmane.org; Sat, 02 Oct 2010 11:25:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3C1E7CA5F6; Sat, 2 Oct 2010 11:25:26 +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 fQXO1XYYLge8; Sat, 2 Oct 2010 11:25:23 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1EA36CA67D; Sat, 2 Oct 2010 11:25:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B7A89CA67D for ; Sat, 2 Oct 2010 11:25:21 +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 ZzAXNG+pumVN for ; Sat, 2 Oct 2010 11:25:18 +0200 (CEST) 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 2E4D1CA5F6 for ; Sat, 2 Oct 2010 11:25:18 +0200 (CEST) Original-Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o929PHER027282 for ; Sat, 2 Oct 2010 11:25:17 +0200 Original-Received: by wwa36 with SMTP id 36so4164744wwa.2 for ; Sat, 02 Oct 2010 02:25:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=DM/qTVRnEh6AgrtTSpRPDJs4i5kthJG3+kDMCMqRkpA=; b=XO6UguTGNmCe23IiW0qL/Wc9XI/q6d/3nC/+RclV3TyDir7X7kEsQBNtiI+ieJ5cNQ 615zgCOWWHU5svEB2d3DXR51gpYoGlmSW+t29xU3S6tP1/j/RWFuGwLQc/RmSITq820M f7WlGgb8fgpBQd2pmibHEGpJCu58zzuXPQg7U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=EngPCqYE0nlLmgflgqQMkH21BJsRbnjNGMEDj+NTTmD0TGVDZzlEWwjF/6rt/HlmNP eKbLBA5dSxHI28iNXgiYebho+84Rkactb5IXDeHTYropEB0ewNlEl0xiANeQ7DjUe+Jm t+HB9+GWp3tBf42kyakAvrT7tAr64DwLw8AUs= Original-Received: by 10.227.146.149 with SMTP id h21mr5659094wbv.153.1286011517296; Sat, 02 Oct 2010 02:25:17 -0700 (PDT) Original-Received: from localhost ([41.238.235.153]) by mx.google.com with ESMTPS id fz1sm1970686wbb.0.2010.10.02.02.25.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 02 Oct 2010 02:25:16 -0700 (PDT) Content-Disposition: inline In-Reply-To: <3F00641B-254B-477C-97DC-355C704CD410@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; 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: 0rDdJphce - f68dd81e9858 - 20101002 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:62254 Archived-At: On Sat, Oct 02, 2010 at 06:32:05AM +0200, Wolfgang Schuster wrote: > > Am 02.10.2010 um 02:16 schrieb Talal Al-Azem: > > > My apologies if I'm dumbing down the level of discussion here. But I'm trying to get my head around fonts and bidirectionality using ConTeXt MkIV (as a rather unsophisticated user, not as a developer). > > > > To begin with, since it's all bit much at once, I'm trying to use simplefonts. I am unclear how to establish English as my language and its font as my main font (using the default font), and Arabic as a secondary language (using Scheherazade). > > > > What would I change in the ara-sty environment found on wiki.contextgarden.net/Arabic_and_Hebrew? Or, if I don't need to use this, should I define my own macro in my tex document for directionality? > > > > I'm probably making a mess of some basic things here, but could use some help. I have working familiarity with Fontspec over on the XeLaTeX side of things, but the sparse documentation of simplefonts is leading to my uncertainty as how to proceed. > > \usemodule[simplefonts] > > %\setmainfont[Antykwa Poltawskiego] > \setmainfontfallback[Scheherazade][range={arabic,arabicpresentationformsa,arabicpresentationformsb,arabicsupplement}] I think there is no need for presentation forms, they are deprecated symbols not used for entering text. -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ 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 ___________________________________________________________________________________