ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bug in nothyphenated?
@ 2015-09-13 17:59 Pablo Rodriguez
  2015-09-21 16:55 ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Pablo Rodriguez @ 2015-09-13 17:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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] 7+ messages in thread

* Re: bug in nothyphenated?
  2015-09-13 17:59 bug in nothyphenated? Pablo Rodriguez
@ 2015-09-21 16:55 ` Hans Hagen
  2015-09-21 19:44   ` Pablo Rodriguez
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2015-09-21 16:55 UTC (permalink / raw)
  To: ntg-context

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
-----------------------------------------------------------------
___________________________________________________________________________________
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] 7+ messages in thread

* Re: bug in nothyphenated?
  2015-09-21 16:55 ` Hans Hagen
@ 2015-09-21 19:44   ` Pablo Rodriguez
  2015-09-22 11:53     ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Pablo Rodriguez @ 2015-09-21 19:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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] 7+ messages in thread

* Re: bug in nothyphenated?
  2015-09-21 19:44   ` Pablo Rodriguez
@ 2015-09-22 11:53     ` Hans Hagen
  2015-09-22 18:59       ` Pablo Rodriguez
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2015-09-22 11:53 UTC (permalink / raw)
  To: ntg-context

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
-----------------------------------------------------------------
___________________________________________________________________________________
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] 7+ messages in thread

* Re: bug in nothyphenated?
  2015-09-22 11:53     ` Hans Hagen
@ 2015-09-22 18:59       ` Pablo Rodriguez
  0 siblings, 0 replies; 7+ messages in thread
From: Pablo Rodriguez @ 2015-09-22 18:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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] 7+ messages in thread

* Re: bug in nothyphenated?
  2015-09-23 15:45 Andres Conrado
@ 2015-09-23 18:21 ` Pablo Rodriguez
  0 siblings, 0 replies; 7+ messages in thread
From: Pablo Rodriguez @ 2015-09-23 18:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 09/23/2015 05:45 PM, Andres Conrado wrote:
> [...]
> This maybe is not very important to you, but, as a designer, I see
> \ConTeXt as a logotype, so, it's not supposed to be hyphenated. 

Hi Andrés,

\ConTeXt is also a word and sometimes hyphenation is required:

    %~ \def\ConTeXt{Con\-\TeX{}t}
    \setupbodyfont[palatino, 16pt]
    \starttext
    I need to hyphenate the logotype when
    it is placed here: \ConTeXt. \input zapf
    \stoptext

I realized that after writing a document about ConTeXt.


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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: bug in nothyphenated?
@ 2015-09-23 15:45 Andres Conrado
  2015-09-23 18:21 ` Pablo Rodriguez
  0 siblings, 1 reply; 7+ messages in thread
From: Andres Conrado @ 2015-09-23 15:45 UTC (permalink / raw)
  To: ntg-context


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

2015-09-23 5:00 GMT-05:00 <ntg-context-request@ntg.nl>:

> \ConTeXt


This maybe is not very important to you, but, as a designer, I see \ConTeXt
as a logotype, so, it's not supposed to be hyphenated.

Andrés Conrado Montoya
El Andi
andresconrado@gmail.com
http://chiquitico.org
----------------------------------------
Los fines no justifican los medios, porque la medida verdadera de nuestro
carácter está dada por los medios que estamos dispuestos a utilizar, no por
los fines que proclamamos.
----------------------------------------
Por favor, evite enviarme documentos adjuntos en formato Word o PowerPoint.
Lea http://www.gnu.org/philosophy/no-word-attachments.es.html
----------------------------------------
"Naturalmente, la gente normal no desea la guerra, pero al final son los
líderes de una nación quienes determinan su política, y resulta muy
sencillo doblegar a la gente, sea una democracia, una dictadura fascista,
un parlamento o una dictadura comunista. Con voz o sin voz, la gente
siempre podrá entregarse a la voluntad de sus líderes. Es fácil. Lo único
que hay que hacer es decirles que están siendo atacados, y denunciar a los
pacifistas por su falta de patriotismo y exponer el país al peligro.
Funciona igual en todos los países."
---Hermann Goering, en los juicios de Nuremberg.

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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2015-09-23 18:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-13 17:59 bug in nothyphenated? Pablo Rodriguez
2015-09-21 16:55 ` Hans Hagen
2015-09-21 19:44   ` Pablo Rodriguez
2015-09-22 11:53     ` Hans Hagen
2015-09-22 18:59       ` Pablo Rodriguez
2015-09-23 15:45 Andres Conrado
2015-09-23 18:21 ` 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).