* No hyphenation in Bulgarian
@ 2015-05-03 6:27 Thomas Floeren
2015-05-03 16:58 ` Thomas Floeren
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Floeren @ 2015-05-03 6:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: No hyphenation in Bulgarian
2015-05-03 6:27 No hyphenation in Bulgarian Thomas Floeren
@ 2015-05-03 16:58 ` Thomas Floeren
2015-05-03 19:09 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Floeren @ 2015-05-03 16:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
> 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 <thfl@mac.com> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: No hyphenation in Bulgarian
2015-05-03 16:58 ` Thomas Floeren
@ 2015-05-03 19:09 ` Hans Hagen
2015-05-03 20:30 ` Thomas Floeren
0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2015-05-03 19:09 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: No hyphenation in Bulgarian
2015-05-03 19:09 ` Hans Hagen
@ 2015-05-03 20:30 ` Thomas Floeren
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Floeren @ 2015-05-03 20:30 UTC (permalink / raw)
To: mailing list for ConTeXt users
> On 03 May 15, at 21:09, Hans Hagen <pragma@wxs.nl> 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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-05-03 20:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-03 6:27 No hyphenation in Bulgarian Thomas Floeren
2015-05-03 16:58 ` Thomas Floeren
2015-05-03 19:09 ` Hans Hagen
2015-05-03 20:30 ` Thomas Floeren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).