From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87247 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Calling fonts (was: Hebrew vowel placement in ConTeXt) Date: Mon, 5 May 2014 17:54:38 +0200 Message-ID: <8AFDBEA1-A1CD-4AD4-B795-5A736491AC55@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Content-Type: multipart/mixed; boundary="===============1079976843==" X-Trace: ger.gmane.org 1399398828 2848 80.91.229.3 (6 May 2014 17:53:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 May 2014 17:53:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 06 19:53:41 2014 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 1WhiJU-0007df-IS for gctc-ntg-context-518@m.gmane.org; Tue, 06 May 2014 18:33:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8794E1024F for ; Mon, 5 May 2014 17:55:01 +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 HtjvPETS+fAE for ; Mon, 5 May 2014 17:55:01 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 27FDF1022C for ; Mon, 5 May 2014 17:54:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 46FB5101E2 for ; Mon, 5 May 2014 17:54:53 +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 HTmCFvsACEAb for ; Mon, 5 May 2014 17:54:51 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id CD307101E1 for ; Mon, 5 May 2014 17:54:43 +0200 (CEST) Original-Received: from mail-ee0-x232.google.com (mail-ee0-x232.google.com [IPv6:2a00:1450:4013:c00::232]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s45GFt1A021953 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 5 May 2014 18:15:55 +0200 Original-Received: by mail-ee0-f50.google.com with SMTP id e51so858663eek.37 for ; Mon, 05 May 2014 08:54:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=ohHG/PeokCv9LvOJucOJuxuwnbOVPhW1UacuIeb+Pug=; b=UkULckmytWLehJgW11XAo3yqu1dxW90TB+HbtOekQxOjR55/nIddRjMMEsNI80ATz7 d+tR663U3QD7e62DGQhrysRaKBbwQ143liR1zovXYmm4RWa/0CBX1hV6F/h63zPI6a7u A8A6IV8GMfGexH0pPCf2H+RYl2OK1ht3qaCQPFEWG5aJWYt5Qj3y5LXZmbVQs0rxvqvc sl8vOf4yqmhv405cDXLXIAuwUITw9QiSKQZKVfkxSX2t0QgF3DGmx7V0hAoffYDzkRUS FZrGUbr7WDdNtXWTAYBjpcX4e7BHi0fhWu85iL5U1jZWLRTY4cFy8Nhv7/uQE19NMsnI zKhQ== X-Received: by 10.15.48.129 with SMTP id h1mr4496702eew.57.1399305282624; Mon, 05 May 2014 08:54:42 -0700 (PDT) Original-Received: from keima.localdomain (x2f35904.dyn.telefonica.de. [2.243.89.4]) by mx.google.com with ESMTPSA id m44sm3971027eep.6.2014.05.05.08.54.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 May 2014 08:54:41 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1874) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::232; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01LWgfTN0 - 19e842321ef6 - 20140505 (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:87247 Archived-At: --===============1079976843== Content-Type: multipart/alternative; boundary="Apple-Mail=_AB60ADC7-9EC0-4AB5-87F7-4CF66F478426" --Apple-Mail=_AB60ADC7-9EC0-4AB5-87F7-4CF66F478426 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Am 05.05.2014 um 17:29 schrieb Michael Ash : > ... see message 56606 > in = the > list archive. This is not the post-simplefonts solution, but the > pre-simplefonts solution. It does allow much better control over all = of > the fonts that make up the typeface (using ConTeXt terminology). > =20 > If you set only some Hebrew/Aramaic/Arabic, and especially if you do = not > need font variants (bold, italic, ...) you might prefer to define a > single font.=20 >=20 > Thank you very much again. This was helpful, and here is my minimal = working example: >=20 >=20 > \definefontfeature[hebrew][default][script=3Dhebr,ccmp=3Dyes] > \definefont [myhebrew] [SILEOTSR.ttf*hebrew]=20 > \setupdirections[bidi=3Don,method=3Dtwo] >=20 > \starttext > Here is the first line of the Bible. >=20 > {\myhebrew =D7=91=D6=BC=D6=B0=D7=A8=D6=B5=D7=90=D7=A9=D7=81=D6=B4=D6=96= =D7=99=D7=AA =D7=91=D6=BC=D6=B8=D7=A8=D6=B8=D6=A3=D7=90 = =D7=90=D6=B1=D7=9C=D6=B9=D7=94=D6=B4=D6=91=D7=99=D7=9D =D7=90=D6=B5=D6=A5=D7= =AA =D7=94=D6=B7=D7=A9=D7=81=D6=BC=D6=B8=D7=9E=D6=B7=D6=96=D7=99=D6=B4=D7=9D= =D7=95=D6=B0=D7=90=D6=B5=D6=A5=D7=AA =D7=94=D6=B8=D7=90=D6=B8=D6=BD=D7=A8= =D6=B6=D7=A5=D7=83 } > \stoptext >=20 >=20 >=20 > I still have some questions. It took me a long time to understand = that >=20 > \definefont [myhebrew] [SILEOTSR.ttf*hebrew]=20 >=20 > would use the fontfeature "hebrew" that I had defined together with = the font file SILEOTSR.ttf and assign this pairing to the nickname = "myhebrew". Rik's example also has "sa 1" which I do not understand.=20 >=20 > \definefontfeature [aramaic] [default][ccmp=3Dyes,script=3Dhebr] > \definefont [aramaic] [KeterYG-Medium.ttf*aramaic sa 1] >=20 > Is the syntax for definefont using "*" documented somewhere? Is it = similar to definefontsynonym at = http://wiki.contextgarden.net/Fonts_in_LuaTeX (and below)? You can find a description about the options in the old and new fonts = manuals: - http://pragma-ade.com/general/manuals/mfonts.pdf - http://pragma-ade.com/general/manuals/fonts-mkiv.pdf Wolfgang --Apple-Mail=_AB60ADC7-9EC0-4AB5-87F7-4CF66F478426 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Am 05.05.2014 um 17:29 schrieb Michael = Ash <mash@econs.umass.edu>:
... see = message 56606
<http://www.mail-arch= ive.com/ntg-context%40ntg.nl/msg56606.html> in the
list = archive. This is not the post-simplefonts solution, but = the
pre-simplefonts = solution. It does allow much better control over all of
the = fonts that make up the typeface (using ConTeXt = terminology).
 
If you set only some Hebrew/Aramaic/Arabic, and especially if you do = not
need font variants (bold, italic, ...) you might prefer to define a
single font. 

Thank you very much = again.  This was helpful, and here is my minimal working = example:


\definefontfeature[h= ebrew][default][script=3Dhebr,ccmp=3Dyes]
\definefont [myhebrew] = [SILEOTSR.ttf*hebrew] 
\setupdirections[bidi=3Don,method=3D= two]

\starttext
Here is the first = line of the Bible.

{\myhebrew =  =D7=91=D6=BC=D6=B0=D7=A8=D6=B5=D7=90=D7=A9=D7=81=D6=B4=D6=96=D7=99=D7= =AA =D7=91=D6=BC=D6=B8=D7=A8=D6=B8=D6=A3=D7=90 =D7=90=D6=B1=D7=9C=D6=B9=D7= =94=D6=B4=D6=91=D7=99=D7=9D =D7=90=D6=B5=D6=A5=D7=AA = =D7=94=D6=B7=D7=A9=D7=81=D6=BC=D6=B8=D7=9E=D6=B7=D6=96=D7=99=D6=B4=D7=9D = =D7=95=D6=B0=D7=90=D6=B5=D6=A5=D7=AA =D7=94=D6=B8=D7=90=D6=B8=D6=BD=D7=A8=D6= =B6=D7=A5=D7=83  }
=
\stoptext



I still have some questions.  It took me a long time to = understand that

\definefont [myhebrew] = [SILEOTSR.ttf*hebrew] 

would use the fontfeature "hebrew" that I had = defined together with the font file SILEOTSR.ttf and assign this pairing = to the nickname "myhebrew".  Rik's example also has "sa 1" which I = do not understand. 

\definefontfeature = [aramaic] [default][ccmp=3Dyes,<= span = style=3D"font-family:arial,sans-serif;font-size:13px">script=3Dhebr]
\definefont = [aramaic] [KeterYG-Medium.ttf*= aramaic sa 1]

Is the syntax for definefont using "*" documented somewhere? =  Is it similar to definefontsynonym at http://wiki.context= garden.net/Fonts_in_LuaTeX  (and below)?

You can find a description = about the options in the old and new fonts = manuals:


Wolf= gang

= --Apple-Mail=_AB60ADC7-9EC0-4AB5-87F7-4CF66F478426-- --===============1079976843== 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 ___________________________________________________________________________________ --===============1079976843==--