Dear list, I have the following sample: \def\abc{Con\-\TeX{}t} \hyphenation{Con-TeXt} \starttext \startTEXpage[offset=1em, align={right, nothyphenated}] \hyphenatedword{legibility}\\ \hyphenatedword{\abc}\\ \abc\\ \hyphenatedword{\ConTeXt} \stopTEXpage \stoptext I have to define \ConTeXt as in \abc. Otherwise, it won’t get hyphenated at all. If I add \hyphenation{Con-TeXt}, no kerning will be applied in the pair nT. But redefining \ConTeXt as Con\-\TeX{}t hyphenates the word even when nothyphenated is selected. Isn’t this a bug with nothyphenated? Many thanks for your help, Pablo -- http://www.ousia.tk
On 9/13/2015 7:59 PM, Pablo Rodriguez wrote:
Dear list,
I have the following sample:
\def\abc{Con\-\TeX{}t} \hyphenation{Con-TeXt} \starttext \startTEXpage[offset=1em, align={right, nothyphenated}] \hyphenatedword{legibility}\\ \hyphenatedword{\abc}\\ \abc\\ \hyphenatedword{\ConTeXt} \stopTEXpage \stoptext
I have to define \ConTeXt as in \abc. Otherwise, it won’t get hyphenated at all. If I add \hyphenation{Con-TeXt}, no kerning will be applied in the pair nT.
But redefining \ConTeXt as Con\-\TeX{}t hyphenates the word even when nothyphenated is selected.
Isn’t this a bug with nothyphenated?
it has to do with uppercase .. that prevents hyphenation Hans ----------------------------------------------------------------- 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 09/21/2015 06:55 PM, Hans Hagen wrote:
On 9/13/2015 7:59 PM, Pablo Rodriguez wrote:
\def\abc{Con\-\TeX{}t} \hyphenation{Con-TeXt} \starttext \startTEXpage[offset=1em, align={right, nothyphenated}] \hyphenatedword{legibility}\\ \hyphenatedword{\abc}\\ \abc\\ \hyphenatedword{\ConTeXt} \stopTEXpage \stoptext
I have to define \ConTeXt as in \abc. Otherwise, it won’t get hyphenated at all. If I add \hyphenation{Con-TeXt}, no kerning will be applied in the pair nT.
But redefining \ConTeXt as Con\-\TeX{}t hyphenates the word even when nothyphenated is selected.
Isn’t this a bug with nothyphenated?
it has to do with uppercase .. that prevents hyphenation
Sorry, Hans, but I’m afraid I don‘t get it. The issue is that hyphenation takes place even when nothyphenated should prevent it. What am I missing in your eplanation? Many thanks for your help, Pablo -- http://www.ousia.tk
On 9/21/2015 9:44 PM, Pablo Rodriguez wrote:
On 09/21/2015 06:55 PM, Hans Hagen wrote:
On 9/13/2015 7:59 PM, Pablo Rodriguez wrote:
\def\abc{Con\-\TeX{}t} \hyphenation{Con-TeXt} \starttext \startTEXpage[offset=1em, align={right, nothyphenated}] \hyphenatedword{legibility}\\ \hyphenatedword{\abc}\\ \abc\\ \hyphenatedword{\ConTeXt} \stopTEXpage \stoptext
I have to define \ConTeXt as in \abc. Otherwise, it won’t get hyphenated at all. If I add \hyphenation{Con-TeXt}, no kerning will be applied in the pair nT.
But redefining \ConTeXt as Con\-\TeX{}t hyphenates the word even when nothyphenated is selected.
Isn’t this a bug with nothyphenated?
it has to do with uppercase .. that prevents hyphenation
Sorry, Hans, but I’m afraid I don‘t get it.
The issue is that hyphenation takes place even when nothyphenated should prevent it.
What am I missing in your eplanation?
\- is explicit, nothyphenated only prevents the pattern based hyphen injector Hans ----------------------------------------------------------------- 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 09/22/2015 01:53 PM, Hans Hagen wrote:
On 9/21/2015 9:44 PM, Pablo Rodriguez wrote:
[...] Sorry, Hans, but I’m afraid I don‘t get it.
The issue is that hyphenation takes place even when nothyphenated should prevent it.
What am I missing in your eplanation?
\- is explicit, nothyphenated only prevents the pattern based hyphen injector
Many thanks for the reply, Hans. It seems that the task of hyphenating \ConTeXt is unsolvable. I get either too much or no hyphenation at all. Many thanks for your help, Pablo -- http://www.ousia.tk
participants (2)
-
Hans Hagen
-
Pablo Rodriguez