Changes

Jump to navigation Jump to search
try to update EBGaramond samples
The following source displays the differences for each character with both accents (uppercase and lowercase characters):<ref>Of course, you should replace <code>Minion Pro</code> with the name of the font you want to test.</ref>
<texcodecontext source="yes">\definefontfamily[mainface][rm][Minion ProEBGaramond]\setupbodyfont[mainface, 60pt]
\definecolor [tred] [r=1,t=.5,a=1]
\definecolor [tblue] [b=1,t=.25,a=1]
\unexpanded\def\tonosoxia[#1][#2]
{\startTEXpage[pagestate=start, offset=1ex]dontleavehmode
\startoverlay
{\color[tred]{#1}}
{\color[tblue]{#2}}
\stopoverlay
\stopTEXpage}
\starttext
\startTEXpage[width=7.5em, align=center, offset=1ex]
\tonosoxia[Ά][Ά]
\tonosoxia[Έ][Έ]
\tonosoxia[ΰ][ΰ]
\tonosoxia[ώ][ώ]
\stopTEXpage
\stoptext
</texcodecontext>
Depending on your operative system and your keyboard layout for polytonic Greek, it might be that it composes the acute with the monotonic accent (as it seems to happen in ''Linux'').
A workaround to avoid this would be the following:<!--<ref>Although the ConTeXt distribution seems to include the ''EB Garamond'' font family, it is probably not included in the wiki.</ref>-->
<context source="yes">\startluacode
[mainface]
[rm]
[EB GaramondEBGaramond]
[features={default, tonosoxia}]
139

edits

Navigation menu