ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Idris Samawi Hamid <ishamid@lamar.colostate.edu>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: RE: prevent hyphenation
Date: Thu, 19 May 2005 21:32:37 -0600	[thread overview]
Message-ID: <42FD4E90@webmail.colostate.edu> (raw)

Hi Peter
>===== Original Message From Peter <peter@orgelvlaardingen.nl> =====
>I'm typesetting a text with some citations in nineteenth-century Dutch
>and French, in which I don't want hyphenation. How can this be done?
>
>I now have two macros:
>\def\stophyph{\pretolerance=15000\tolerance=400}
>\def\starthyph{\pretolerance=200\tolerance=400}
>
>At the beginning of every citation I enter \stophyph{} and at the end
>\starthyph{}. But the cited words are still hyphenated.

Here is a better approach:

==================================================
\setupoutput[pdftex]%

\installlanguage[NH][lefthyphenmin=100,righthyphenmin=100]

\starttext

\language[NH]

\input knuth

\language[en]

\input knuth

\stoptext

==================================================

Even better, take the definition of [nl] in type-ger.tex and add it to 
\installlanguage[NH].

Hans: the following would be nice to have:

\setuplanguage[<name>][hyphenation=off]

>Putting single words in a mbox also doesn't help... ;(

mbox?!? Dost thou blaspheme!?!
:-)

Best
Idris

============================
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

             reply	other threads:[~2005-05-20  3:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-20  3:32 Idris Samawi Hamid [this message]
2005-05-20  7:25 ` Hans Hagen
2005-05-20 11:35 ` Peter
2005-05-20 12:50   ` Hans Hagen
2005-05-20 14:21     ` Taco Hoekwater
2005-05-20 16:08       ` Peter
  -- strict thread matches above, loose matches on Subject: below --
2005-05-20  1:09 Peter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42FD4E90@webmail.colostate.edu \
    --to=ishamid@lamar.colostate.edu \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).