ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \registerhyphenationexception not working
@ 2020-03-07 18:52 Jano Kula
  2020-03-07 20:05 ` Pablo Rodriguez
  0 siblings, 1 reply; 2+ messages in thread
From: Jano Kula @ 2020-03-07 18:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 481 bytes --]

Hello Hans,

\registerhyphenationexception as described in latest languages-mkiv.pdf and
i-context.pdf does nothing, contrary to \startexceptions, which behaves as
expected. Here is the minimal example:

\mainlanguage[cs]
\showmakeup[discretionary]
\registerhyphenationexception[cs][cíl-em]%
% \startexceptions[cs]
% cíl-em
% \stopexceptions
\startTEXpage
cílem
\stopTEXpage

By the way, what is the reason to print \showlayout on four pages?

Regards,
Jano

[-- Attachment #1.2: Type: text/html, Size: 770 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: \registerhyphenationexception not working
  2020-03-07 18:52 \registerhyphenationexception not working Jano Kula
@ 2020-03-07 20:05 ` Pablo Rodriguez
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Rodriguez @ 2020-03-07 20:05 UTC (permalink / raw)
  To: ntg-context

On 3/7/20 7:52 PM, Jano Kula wrote:
> Hello Hans,
>
> \registerhyphenationexception as described in latest languages-mkiv.pdf
> and i-context.pdf does nothing, contrary to \startexceptions, which
> behaves as expected. Here is the minimal example:

Hi Jano,

this shows the right hyphenation:

    \setuplanguage[cs][righthyphenmin=2]
    \mainlanguage[cs]
    \setuphyphenation[method=traditional]
    \registerhyphenationexception[cs][cíl-em]%
    \starttext
    \startTEXpage[offset=1ex]
    \hyphenatedword{cílem}
    \stopTEXpage
    \stoptext

The value for righthyphenmin in Czech is 3. Unless you set it up to 2,
it won’t work.

I hope it helps,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-07 20:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-07 18:52 \registerhyphenationexception not working Jano Kula
2020-03-07 20:05 ` Pablo Rodriguez

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).