[NTG-context] How to disable hyphenation at the end of a line?

2024-05-19 Thread Joel via ntg-context
I'm using mostly default ConTeXt settings, but an editor has warned I should 
avoid using hyphenation at the end of lines--at least for my particular 
audience.
I've found manual text that says how to disable specific words from being 
hyphenated.

Is there a whole-document switch to disable it?
--Joel
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


Re: [NTG-context] How to disable hyphenation?

2013-03-08 Thread Marcin Borkowski
Dnia 2013-03-07, o godz. 18:25:42
Aditya Mahajan adit...@umich.edu napisaƂ(a):

 On Thu, 7 Mar 2013, Marcin Borkowski wrote:
 
  Hi,
 
  I'd like to typeset some text flush left and *completely* without
  hyphenation.  What do I do?  (For now, I wrote \hyphenpenalty=1,
  but this is obviously not very ConTeXt-way.)
 
 \setupalign[nothypenated]
 
 or inside an environment that accepts the align key
 
 ... align=nothyphenated
 
 It may be a good idea to either increase the tolerance, or set the
 text to be flush left as well.

Thanks!  Of course, I have [flushleft] also.

And it's a shame: I wanted to add it to the wiki...  but it's already
there, only difficult to find.  (At least I didn't succeed.)  Maybe it
would be a good idea to add a page about hyphenation in general?

 Aditya
 

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___
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
___

[NTG-context] How to disable hyphenation?

2013-03-07 Thread Marcin Borkowski
Hi,

I'd like to typeset some text flush left and *completely* without
hyphenation.  What do I do?  (For now, I wrote \hyphenpenalty=1,
but this is obviously not very ConTeXt-way.)

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___
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
___


Re: [NTG-context] How to disable hyphenation?

2013-03-07 Thread Alan BRASLAU
On Thu, 7 Mar 2013 23:47:27 +0100
Marcin Borkowski mb...@wmi.amu.edu.pl wrote:

 Hi,
 
 I'd like to typeset some text flush left and *completely* without
 hyphenation.  What do I do?  (For now, I wrote \hyphenpenalty=1,
 but this is obviously not very ConTeXt-way.)
 
 Best,
 

\setupalign [nothyphenated]

Alan
___
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
___


Re: [NTG-context] How to disable hyphenation?

2013-03-07 Thread Aditya Mahajan

On Thu, 7 Mar 2013, Marcin Borkowski wrote:


Hi,

I'd like to typeset some text flush left and *completely* without
hyphenation.  What do I do?  (For now, I wrote \hyphenpenalty=1,
but this is obviously not very ConTeXt-way.)


\setupalign[nothypenated]

or inside an environment that accepts the align key

... align=nothyphenated

It may be a good idea to either increase the tolerance, or set the text to 
be flush left as well.


Aditya
___
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
___


[NTG-context] How to disable hyphenation?

2011-02-24 Thread Cecil Westerhof
I have a Dutch document where I use the word genereren. Because it is on the
end of the line ge- is put on the end and nereren is put on the beginning of
the next line. I find this quit ugly. Can I disable hyphenation, or let it
behave more 'beautiful'? I searched on ContextGarden, but did not find
anything.

-- 
Cecil Westerhof
___
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
___


Re: [NTG-context] How to disable hyphenation?

2011-02-24 Thread Andreas Harder

Am 24.02.2011 um 14:05 schrieb Cecil Westerhof:

 I have a Dutch document where I use the word genereren. Because it is on the 
 end of the line ge- is put on the end and nereren is put on the beginning of 
 the next line. I find this quit ugly. Can I disable hyphenation, or let it 
 behave more 'beautiful'? I searched on ContextGarden, but did not find 
 anything.

\hyphenation{genereren} or \hyphenation{gene-re-ren} or
\setuplanguage
  [du] % ?
  [lefthyphenmin=3,righthyphenmin=2]

Greeting
Andreas

___
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
___


Re: [NTG-context] How to disable hyphenation?

2011-02-24 Thread Henning Hraban Ramm

Am 2011-02-24 um 14:05 schrieb Cecil Westerhof:

I have a Dutch document where I use the word genereren. Because it  
is on the end of the line ge- is put on the end and nereren is put  
on the beginning of the next line. I find this quit ugly. Can I  
disable hyphenation, or let it behave more 'beautiful'? I searched  
on ContextGarden, but did not find anything.



\hbox{genereren} % single use
\hyphenation{genereren} % prohibit hyphenation of that word generally


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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
___


Re: [NTG-context] How to disable hyphenation?

2011-02-24 Thread Cecil Westerhof
Thanks for the very speedy reply.

2011/2/24 Andreas Harder ahar...@uni-koblenz.de

  I have a Dutch document where I use the word genereren. Because it is on
 the end of the line ge- is put on the end and nereren is put on the
 beginning of the next line. I find this quit ugly. Can I disable
 hyphenation, or let it behave more 'beautiful'? I searched on ContextGarden,
 but did not find anything.

 \hyphenation{genereren} or \hyphenation{gene-re-ren} or
 \setuplanguage
  [du] % ?
  [lefthyphenmin=3,righthyphenmin=2]


It is of-course not only about genereren. So I choose your second option. I
have included:
\setuplanguage[nl][
  lefthyphenmin=5,
  righthyphenmin=4,
]
\language[nl]

But I found something peculiar happening. I think it is a bug, but maybe I
am wrong. Where genereren first was hypenated, it now gets put completly put
at the end of the sentence. If that is possible now, why was it not possible
beforehand?
In another paragraph I am using gedocumenteerd. First it was gedo-
cumenteerd, now it is gedocu- menteerd.
What is happening here?

-- 
Cecil Westerhof
___
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
___


Re: [NTG-context] How to disable hyphenation?

2011-02-24 Thread Marco
 But I found something peculiar happening. I think it is a bug, but maybe I
 am wrong. Where genereren first was hypenated, it now gets put completly put
 at the end of the sentence.

What else did you expect after you told the system to leave at least five
characters to the left and four character to the right of a hypenatable word?

 If that is possible now, why was it not possible beforehand?

It was possible. But ConTeXt calculates the breakpoints (including possible
hypenation) so that the paragraphs look nice and the inter word space will not
be stretched too much.

 In another paragraph I am using gedocumenteerd. First it was gedo-
 cumenteerd, now it is gedocu- menteerd.
 What is happening here?

What else did you expect after you told the system to leave at least five
characters to the left and four character to the right of a hypenatable word?


Marco


___
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
___


Re: [NTG-context] How to disable hyphenation?

2011-02-24 Thread Cecil Westerhof
2011/2/24 Marco net...@lavabit.com

  If that is possible now, why was it not possible beforehand?

 It was possible. But ConTeXt calculates the breakpoints (including possible
 hypenation) so that the paragraphs look nice and the inter word space will
 not
 be stretched too much.


Okay, that explains it. Thanks.

-- 
Cecil Westerhof
___
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
___


Re: [NTG-context] How to disable hyphenation?

2011-02-24 Thread Wolfgang Schuster

Am 24.02.2011 um 14:26 schrieb Andreas Harder:

 
 Am 24.02.2011 um 14:05 schrieb Cecil Westerhof:
 
 I have a Dutch document where I use the word genereren. Because it is on the 
 end of the line ge- is put on the end and nereren is put on the beginning of 
 the next line. I find this quit ugly. Can I disable hyphenation, or let it 
 behave more 'beautiful'? I searched on ContextGarden, but did not find 
 anything.
 
 \hyphenation{genereren} or \hyphenation{gene-re-ren} or

\startexceptions[du]
gene-re-ren
\stopexceptions

or

\startexceptions
gene-re-ren
\stopexceptions

Wolfgang

___
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
___