Hi: When I compile a document with the following preamble: \mainlanguage[es] %\setuphyphenation[method=traditional] \usemodule[simplefonts] \setuplanguage[es][patterns={es,agr}] \definefallbackfamily [mainface] [serif] [Old Standard] [range={greekandcoptic, greekextended}, force=yes, rscale=auto] \definefontfamily [mainface] [serif] [TeX Gyre Schola] \setupbodyfont[mainface,11pt] \starttext ... \stoptext with Context LuaTeX, hyphenation patterns work for Greek, but not for Spanish. I do the compilation with Mac. Any ideas to solve it? Thanks Manuel González.
Am 2020-01-17 um 12:05 schrieb MANUEL GONZALEZ SUAREZ
: Hi: When I compile a document with the following preamble:
\mainlanguage[es] %\setuphyphenation[method=traditional] \usemodule[simplefonts] \setuplanguage[es][patterns={es,agr}] \definefallbackfamily [mainface] [serif] [Old Standard] [range={greekandcoptic, greekextended}, force=yes, rscale=auto] \definefontfamily [mainface] [serif] [TeX Gyre Schola] \setupbodyfont[mainface,11pt]
I suspect "patterns" understands only one file, as far as I understood the source, but don’t trust me on this. When you mark your Greek passages with {\agr ἡ Ἑλληνικὴ γλῶσσα} (or \language[agr] instead of \agr), you should get the right pattern without that setup. The module simplefonts is obsolete since 2013. Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD
On 17.01.20 12:55, Henning Hraban Ramm wrote:
I suspect "patterns" understands only one file, as far as I understood the source, but don’t trust me on this.
When you mark your Greek passages with {\agr ἡ Ἑλληνικὴ γλῶσσα} (or \language[agr] instead of \agr), you should get the right pattern without that setup.
No, since the patterns for Spanish and Greek are utf8, they can co-exist, there's no need to mark the Greek passages.
The module simplefonts is obsolete since 2013.
Yes, that's right. I get both Spanish and Greek hyphenation in a test file: \mainlanguage[es] \setuplanguage[es][patterns={es,agr}] \setupbodyfont[gentium,11pt] \starttext \hyphenatedword{ἄνθρωπος selección} \stoptext If this fails for OP, he will have to produce a real example, taking out irrelevant parts and telling us which version he uses. In the original example, there was only "..." which of course doesn't hyphenate. Thomas
On 1/17/20 12:05 PM, MANUEL GONZALEZ SUAREZ wrote:
Hi: When I compile a document with the following preamble: [...] \usemodule[simplefonts]
Hi Manuel, as Hraban and Thomas mentioned, the module has been deprecated. The commands \definefallbackfamily, \definefontfamily and \setupbodyfont are standard ConTeXt commands, they don’t require any module.
\definefallbackfamily [mainface] [serif] [Old Standard] [range={greekandcoptic, greekextended}, force=yes, rscale=auto]
"preset=range:greek" might replace "range={greekandcoptic, greekextended}". Just in case it helps, Pablo -- http://www.ousia.tk
participants (4)
-
Henning Hraban Ramm
-
MANUEL GONZALEZ SUAREZ
-
Pablo Rodriguez
-
Thomas A. Schmitz