From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87783 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: \placeinitial trickery? Date: Sat, 21 Jun 2014 09:54:13 -0400 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1391507948==" X-Trace: ger.gmane.org 1403358881 14029 80.91.229.3 (21 Jun 2014 13:54:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Jun 2014 13:54:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jun 21 15:54:37 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 1WyLkb-0001nh-L8 for gctc-ntg-context-518@m.gmane.org; Sat, 21 Jun 2014 15:54:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1E2C610258 for ; Sat, 21 Jun 2014 15:54:37 +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 uHHMPHSS0vqO for ; Sat, 21 Jun 2014 15:54:37 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 76D8210223 for ; Sat, 21 Jun 2014 15:54:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CDDB6101E8 for ; Sat, 21 Jun 2014 15:54:28 +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 gxV4-8k7BUoz for ; Sat, 21 Jun 2014 15:54:26 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 137E7101E2 for ; Sat, 21 Jun 2014 15:54:15 +0200 (CEST) Original-Received: from mail-qa0-x229.google.com (mail-qa0-x229.google.com [IPv6:2607:f8b0:400d:c00::229]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s5LDsDdc013452 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sat, 21 Jun 2014 15:54:14 +0200 Original-Received: by mail-qa0-f41.google.com with SMTP id cm18so4178485qab.14 for ; Sat, 21 Jun 2014 06:54:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=uUETZXzRNenFFFtbImUmRkecAe68qN/Ybb5qt6KkNjg=; b=w2Zl5to/tERxtMbtiYQ6di57UZeLxQNbZrzIrhY5iD1FchBo4smYROmJXa/ybFj3yL HBzm51HizvbFKInJVIRZOWZ8tCpuVQAc4MXx4Mr1dKW3XPv+6CNxCf6gWAib7ShMqVoL d1/aAvL3HpT22Qn7pJaA+1LaHDkKycOVLKV6lyB+CV4tOhqVKJH0wZVxtuWUeUuJDo0Z WgUaA2IZfybfdk3j4ZZ7l3KdHs1w8KtZlcUR298Pm170GtYnxB5Lt+YbCmAWk627zN/9 Q7ZYhrn4m9XpMgj8yIsifg6NvX78+3h0sJQ41xlRTjV/31QtifFOlgZChUiWf4+kyxzy KdTQ== X-Received: by 10.140.83.209 with SMTP id j75mr14333282qgd.42.1403358853121; Sat, 21 Jun 2014 06:54:13 -0700 (PDT) Original-Received: by 10.229.13.68 with HTTP; Sat, 21 Jun 2014 06:54:13 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400d:c00::229; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RMh1SeAP - 029a1ccfbba6 - 20140621 (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:87783 Archived-At: --===============1391507948== Content-Type: multipart/alternative; boundary=001a11c13b60eecb4e04fc58f15c --001a11c13b60eecb4e04fc58f15c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I am setting some late Greek text which uses characters of a Coptic origin and am having a problem when the Coptic letters are to be set as drop characters. It works if they do not have diacritical marks but fails when the diacriticals must be entered as non-combining. The appended code shows the problem and, incidentally, why non-combining marks are needed. (I would attach the .pdf file if I knew the list=E2=80=99s protocol for attach= ments.) The question is: Is there a way to get \placeinitial to take the first two characters of the opening word? In the example below, I need case 4 to work so that it looks like case 2. Alan \definefontfamily[mainface][serif][IFAO Grec Unicode][] \setupbodyfont[mainface,10pt] \definefontsynonym[DropFont][name:IFAO Grec Unicode] \defineinitial [Greek] [location=3Dmargin, font=3D{DropFont sa 3}, n=3D2, color=3Dblack, distance=3D-1em, hoffset=3D1.25em] \starttext \placeinitial[Greek]=E2=B2=A4=CE=B5=CE=BB=CE=AE=CE=BD=CE=B7 {\red Coptic capital sima}\quad\input ward \placeinitial[Greek]=E1=BC=A9=CE=BB=CE=AF=CE=BF=CF=85 {\red Greek capital eta with dasia (combining)}\quad\input ward \placeinitial[Greek]=E2=B2=8E=CC=94=CE=BB=CE=AF=CE=BF=CF=85 {\red Coptic capital hate with dasia (combining)}\quad\input ward \placeinitial[Greek]=E1=BF=BE=E2=B2=8E=CE=BB=CE=AF=CE=BF=CF=85 {\red Coptic capital hate with dasia (non-combining)}\quad\input ward \stoptext --001a11c13b60eecb4e04fc58f15c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I am setting some late Greek text which uses characters of a Coptic= origin and am having a problem when the Coptic letters are to be set as dr= op characters. It works if they do not have diacritical marks but fails whe= n the diacriticals must be entered as non-combining. The appended code show= s the problem and, incidentally, why non-combining marks are needed. =C2=A0= (I would attach the .pdf file if I knew the list=E2=80=99s protocol for att= achments.)

The ques= tion is: Is there a way to get \placeinitial to take the first two characte= rs of the opening word? In the example below, I need case 4 to work so that= it looks like case 2.

Alan

\definefontfamily[mainface][serif][IFAO Grec U= nicode][]
\setupbodyfont[mainface,10pt]
\definefontsynonym[DropFont][name:IFAO Gre= c Unicode]

\define= initial
[Greek]
[location=3Dmargin,
font=3D{DropFont sa 3},
n=3D2,
color=3Dblack,
distance=3D-1em,
hoffset=3D1.25em]

\startt= ext

\placeinitial[Greek]=E2=B2=A4=CE=B5=CE=BB=CE=AE=CE=BD=CE=B7=C2=A0
{\red Coptic capital sima}\quad\input ward

\placei= nitial[Greek]=E1=BC=A9=CE=BB=CE=AF=CE=BF=CF=85=C2=A0
{\red Greek = capital eta with dasia (combining)}\quad\input ward

\placei= nitial[Greek]=E2=B2=8E=CC=94=CE=BB=CE=AF=CE=BF=CF=85=C2=A0
{\red= Coptic capital hate with dasia (combining)}\quad\input ward

\placei= nitial[Greek]=E1=BF=BE=E2=B2=8E=CE=BB=CE=AF=CE=BF=CF=85=C2=A0
{\r= ed Coptic capital hate with dasia (non-combining)}\quad\input ward

\stopte= xt
--001a11c13b60eecb4e04fc58f15c-- --===============1391507948== 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 ___________________________________________________________________________________ --===============1391507948==--