Re: [NTG-context] preventing hyphenation in headings

2015-05-05 Thread Csikos Bela
Hans Hagen írta:
>On 5/5/2015 2:42 PM, Csikos Bela wrote:
>> Hello list members:
>>
>> I would like to disable hyphenation in headings (chapter, section, etc. 
>> titles)
>> while allow it in body text. Is there a setting for this? Or do I have to 
>> adjust
>> all the headings manually by inserting line breaks?
>
>... align={flushleft,nothyphenated},...

Excellent.
Thank you,

bcsikos
___
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] preventing hyphenation in headings

2015-05-05 Thread Hans Hagen

On 5/5/2015 2:42 PM, Csikos Bela wrote:

Hello list members:

I would like to disable hyphenation in headings (chapter, section, etc. titles)
while allow it in body text. Is there a setting for this? Or do I have to adjust
all the headings manually by inserting line breaks?


... align={flushleft,nothyphenated},...

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

[NTG-context] preventing hyphenation in headings

2015-05-05 Thread Csikos Bela
Hello list members:

I would like to disable hyphenation in headings (chapter, section, etc. titles)
while allow it in body text. Is there a setting for this? Or do I have to adjust
all the headings manually by inserting line breaks?

Thanks,

bcsikos

___
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] Preventing hyphenation?

2003-09-10 Thread John Culleton
On Wednesday 10 September 2003 06:10, Mari Voipio wrote:
> I know this has been on the list earlier, but I don't seem to be able
> to parse the old messages enough to implement anything...
>
> My current (urgent) project has a bunch of words/codes with a hyphen:
>   K-Patents
>   PR-23-XX
>   etc.
>
> These should not get a line break at the hyphen, i.e. not K-
> Patents but K-Patents or K-Pa-tents. As far as I understand it, the
> beginner's manual and the full manual only talk about how to tell
> ConTeXt where the proper hyphenation points are, but not, how to
> prevent hyphenation altogether.
>
There are a few of plain tex tricks you can try. 

1. If you enclose a word in an \hbox then it should print out but not be 
hyphenated.
2. If you raise the numeric value of \pretolerance then the likelihood 
of the paragaph being hyphenated will be reduced.
3. If the paragraph is long then you can set \looseness=1 which may 
eliminate an hyphenation somewhere along the line.

HTH

-- 
John Culleton
Able Indexers and Typesetters
http://wexfordpress.com




Free 20MB Web Site Hosting and Personalized E-mail Service!
Get It Now At Doteasy.com http://www.doteasy.com/et/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Preventing hyphenation?

2003-09-10 Thread Mari Voipio

I know this has been on the list earlier, but I don't seem to be able to
parse the old messages enough to implement anything...

My current (urgent) project has a bunch of words/codes with a hyphen:
K-Patents
PR-23-XX
etc.

These should not get a line break at the hyphen, i.e. not K-
Patents but K-Patents or K-Pa-tents. As far as I understand it, the
beginner's manual and the full manual only talk about how to tell ConTeXt
where the proper hyphenation points are, but not, how to prevent
hyphenation altogether.

The trick can be awkward to type, as there's a limited number of problem
codes, so I can use the synonym mechanism, if necessary.

Any ideas?


In the end of project frenzy,

Mari

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context