Hi, I have to typeset a Bulgarian document but the hyphenation doesn’t work. The lang-bg.lua file is not loaded, according to the log. (All four lang-bg files are present in /tex/texmf-context/tex/context/patterns/) \usetypescriptfile[type-gentium] \usetypescript[gentium] \setupbodyfont[gentium,12pt] \mainlanguage [bg] \starttext \hyphenatedword{програмираната} \stoptext Do I have to do anything special, in addition to \mainlanguage [bg] ? Russian hyphenation does work. Thanks for any advice. -- Tom
Do I have to do anything special, in addition to \mainlanguage [bg] ?
In reply to my own question: It seems I must add \installlanguage [bg] [lefthyphenmin=2, righthyphenmin=2, patterns=bg, … …] -- Tom
On 03 May 15, at 08:27, Thomas Floeren
wrote: Hi,
I have to typeset a Bulgarian document but the hyphenation doesn’t work. The lang-bg.lua file is not loaded, according to the log. (All four lang-bg files are present in /tex/texmf-context/tex/context/patterns/)
\usetypescriptfile[type-gentium] \usetypescript[gentium] \setupbodyfont[gentium,12pt] \mainlanguage [bg] \starttext \hyphenatedword{програмираната} \stoptext
Do I have to do anything special, in addition to \mainlanguage [bg] ?
Russian hyphenation does work.
Thanks for any advice.
-- Tom
___________________________________________________________________________________ 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 ___________________________________________________________________________________
On 5/3/2015 6:58 PM, Thomas Floeren wrote:
Do I have to do anything special, in addition to \mainlanguage [bg] ?
In reply to my own question:
It seems I must add
\installlanguage [bg] [lefthyphenmin=2, righthyphenmin=2, patterns=bg, … …]
so what is the complete bulgarian setup then? ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On 03 May 15, at 21:09, Hans Hagen
wrote: On 5/3/2015 6:58 PM, Thomas Floeren wrote:
Do I have to do anything special, in addition to \mainlanguage [bg] ?
In reply to my own question:
It seems I must add
\installlanguage [bg] [lefthyphenmin=2, righthyphenmin=2, patterns=bg, … …]
so what is the complete bulgarian setup then?
I guess you are asking for the complete *and correct* setup? So, I don’t know, I have no clue of Bulgarian; for the moment I’m using the settings from the other cyrillic languages (ru, uk) in lang-def.mkiv \installlanguage [bg] [lefthyphenmin=2, righthyphenmin=2, patterns=bg, spacing=packed, leftsentence=\leftguillemot, rightsentence=\rightguillemot, leftsubsentence=\lowerleftdoubleninequote, rightsubsentence=\upperrightdoubleninequote, leftquote=\lowerleftdoubleninequote, rightquote=\upperrightdoubleninequote, leftquotation=\leftguillemot, rightquotation=\rightguillemot, date={day,\space,month,\space,year}] I needed hyphenation in order to typeset the first revision of a translated book. I have to wait for feedback from the translator to tell if these settings are OK for bg. -- Tom
participants (2)
-
Hans Hagen
-
Thomas Floeren