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’s protocol for attachments.) 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=margin, font={DropFont sa 3}, n=2, color=black, distance=-1em, hoffset=1.25em] \starttext \placeinitial[Greek]Ⲥελήνη {\red Coptic capital sima}\quad\input ward \placeinitial[Greek]Ἡλίου {\red Greek capital eta with dasia (combining)}\quad\input ward \placeinitial[Greek]Ⲏ̔λίου {\red Coptic capital hate with dasia (combining)}\quad\input ward \placeinitial[Greek]῾Ⲏλίου {\red Coptic capital hate with dasia (non-combining)}\quad\input ward \stoptext
On 6/21/2014 3:54 PM, Alan Bowen wrote:
\definefontfamily[mainface][serif][IFAO Grec Unicode][] \setupbodyfont[mainface,10pt] \definefontsynonym[DropFont][name:IFAO Grec Unicode]
\defineinitial [Greek] [location=margin, font={DropFont sa 3}, n=2, color=black, distance=-1em, hoffset=1.25em]
\starttext
\placeinitial[Greek]Ⲥελήνη {\red Coptic capital sima}\quad\input ward
\placeinitial[Greek]Ἡλίου {\red Greek capital eta with dasia (combining)}\quad\input ward
\placeinitial[Greek]Ⲏ̔λίου {\red Coptic capital hate with dasia (combining)}\quad\input ward
\placeinitial[Greek]῾Ⲏλίου {\red Coptic capital hate with dasia (non-combining)}\quad\input ward
\stoptext
\defineinitial [Greek2] [Greek] [m=2] \placeinitial[Greek2]῾Ⲏλίου {\red Coptic capital hate with dasia (non-combining)}\quad\input ward ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Wonderful, Hans! That’s got it. Many thanks.
Alan
On Sun, Jun 22, 2014 at 10:53 AM, Hans Hagen
On 6/21/2014 3:54 PM, Alan Bowen wrote:
\definefontfamily[mainface][serif][IFAO Grec Unicode][] \setupbodyfont[mainface,10pt] \definefontsynonym[DropFont][name:IFAO Grec Unicode]
\defineinitial [Greek] [location=margin, font={DropFont sa 3}, n=2, color=black, distance=-1em, hoffset=1.25em]
\starttext
\placeinitial[Greek]Ⲥελήνη {\red Coptic capital sima}\quad\input ward
\placeinitial[Greek]Ἡλίου {\red Greek capital eta with dasia (combining)}\quad\input ward
\placeinitial[Greek]Ⲏ̔λίου {\red Coptic capital hate with dasia (combining)}\quad\input ward
\placeinitial[Greek]῾Ⲏλίου {\red Coptic capital hate with dasia (non-combining)}\quad\input ward
\stoptext
\defineinitial [Greek2] [Greek] [m=2]
\placeinitial[Greek2]῾Ⲏλίου
{\red Coptic capital hate with dasia (non-combining)}\quad\input ward
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ____________________________________________________________ _______________________ 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 ____________________________________________________________ _______________________
participants (2)
-
Alan Bowen
-
Hans Hagen