From: Hans Hagen <pragma@wxs.nl>
Subject: Re: prevent hyphenation
Date: Fri, 20 May 2005 09:25:17 +0200 [thread overview]
Message-ID: <428D90DD.6080203@wxs.nl> (raw)
In-Reply-To: <42FD4E90@webmail.colostate.edu>
Idris Samawi Hamid wrote:
> 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]
i must think this over, since normally when a language has no patterns it's off
anyway
\definelanguage[mine][default=en,patterns=]
not sure if that works as expected
>>Putting single words in a mbox also doesn't help... ;(
>
>
> mbox?!? Dost thou blaspheme!?!
> :-)
-)
how about using \setupalign[nothyphenated] (or \nohyphens)
btw, i recently saw things like
there was this guy called \hbox {Idris} ... (another 10 times this hbox)
where of course the best solution is
\hyphenation{Idris} at the top of your document, i.e. add such names to the
dictionary but do not provide
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
next prev parent reply other threads:[~2005-05-20 7:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-20 3:32 Idris Samawi Hamid
2005-05-20 7:25 ` Hans Hagen [this message]
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=428D90DD.6080203@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.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).