On 03/26/2015 06:23 AM, Andrés Conrado wrote:
Hello, list. When I try to use the EBGaramond font (http://www.georgduffner.at/ebgaramond/) in spanish (using \mainlanguage[es]), ligatures disappear. But they only disappear when they belong to a word (when alone, they look fine). See MWE, if you remove the comment in the \mainlanguage command, ligatures get screwed up:
Hi Andrés, I’m afraid this is a proper bug. It isn’t related to Spanish as language. The bug is triggered when a the ligature has a hyphenation point at the end. Here is another mininmal example with German as main language: \mainlanguage[de] \loadtypescriptfile[ebgaramond] \setupbodyfont[ebgaramond,24pt] \starttext \hsize\zeropoint figura afigura \es figura afigura \en figura afigura \stoptext German only inserts a hyphenation point after three characters (and before other three characters). This is why the first word has the ligature and the second word doesn’t have it. English doesn’t show the bug, because it doesn’t find any hyphenation point in the words. Until this is fixed, you may use the new hyphenator. You need a fairly new beta. Add the following lines at the top of your preamble: \setuphyphenation[method=traditional] \sethyphenationfeatures[strict] I hope it helps, Pablo
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % remove the comment below to see the effect on ligatures. %\mainlanguage[es]
\loadtypescriptfile[ebgaramond]
\setupbodyfont[ebgaramond,48pt]
\starttext
flagrantemente y figurativamente ff fl fi ffi ffl ffii figura ffla fflego
\stoptext %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Thanks for any ideas you may have, I'm clueless, and really need to use those ligatures. I can edit whatever needs to be edited, but I can't find any ideas in the source, nor the mailing list.
___________________________________________________________________________________ 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 ___________________________________________________________________________________