From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38097 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Re: hyphenation again (mkii) [solved] Date: Tue, 18 Dec 2007 12:12:27 +0100 Message-ID: <8FC48E0C-31AF-4C38-8652-A6B37F6AFD0D@st.estfiles.de> References: <0CE05AD6-5352-413D-98F2-08A547BBF662@st.estfiles.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1197976466 13133 80.91.229.12 (18 Dec 2007 11:14:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2007 11:14:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 18 12:14:38 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1J4aP7-0006IV-PJ for gctc-ntg-context-518@m.gmane.org; Tue, 18 Dec 2007 12:14:29 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CFD3E1FB8C; Tue, 18 Dec 2007 12:14:06 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10595-02-2; Tue, 18 Dec 2007 12:13:30 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5698A1FB5E; Tue, 18 Dec 2007 12:13:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1897F1FB30 for ; Tue, 18 Dec 2007 12:13:18 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10593-02-2 for ; Tue, 18 Dec 2007 12:12:38 +0100 (CET) Original-Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de [80.67.18.43]) by ronja.ntg.nl (Postfix) with ESMTP id A62001FB8C for ; Tue, 18 Dec 2007 12:12:31 +0100 (CET) Original-Received: (qmail 24659 invoked from network); 18 Dec 2007 11:12:29 -0000 Original-Received: from unknown (HELO [192.168.1.3]) (698580@[89.247.76.235]) (envelope-sender ) by smtprelay05.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 18 Dec 2007 11:12:29 -0000 In-Reply-To: <0CE05AD6-5352-413D-98F2-08A547BBF662@st.estfiles.de> X-Mailer: Apple Mail (2.753) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:38097 Archived-At: Wolfgang knew the answer, and as the solution is so brilliant I don't = want to be selfish about this treasure: \definetextmodediscretionary ThinSpace {\penalty\plustenthousand\hskip.166em\relax} \definetextmodediscretionary ThickSpace {\penalty\plustenthousand\hskip.277em\relax} ... and in situations like "today is the 204.|ThinSpace|anniversary = of the death of Johann Gottfried von Herder" you will avoid an = unintended line-break after "204." but will keep all hyphenation = points in "anniversary". And that's great. Cheers Johann Gottfried, btw!! Steffen Am 18.12.2007 um 11:05 schrieb Steffen Wolfrum: > > Am 17.12.2007 um 14:54 schrieb Steffen Wolfrum: > >> Hi, >> >> please have a look at the following minimal (4 text-lines): >> >> >> \hyphenation{Er-g=E4n-zungs-lie-fe-rung} >> \showframe >> >> \starttext >> >> Text text text text text text text text text text text text text text >> text 26.\,Erg=E4nzungslieferung% this should brake after Erg=E4n- >> >> Text text text text text text text text text text text text text text >> text 26.|\,|Erg=E4nzungslieferung% this does brake after Erg=E4n- >> >> Text text text text text text text text text text text text text text >> text text 26.|\,|Erg=E4nzungslieferung% this should NOT brake after 26. >> >> Text text text text text text text text text text text text text text >> text text 26.\,Erg=E4nzungslieferung% this does NOT brake after 26. >> >> \stoptext >> >> >> I need a thinspace that prevents line-break between "26." and >> "Erg=E4nzungslieferung". >> On the other hand this thinspace shouldn't kill my hyphenation points >> (i.e. the word should stay breakable)! > > > The tilde sign "~" would be perfect, it is just to wide: > > \hyphenation{ > Er-g=E4n-zungs-lie-fe-rung > } > \showframe > \starttext > > Text text text text text text text text text text text text text text > text 26.~Erg=E4nzungslieferung% this should brake after Erg=E4n- > > Text text text text text text text text text text text text text text > text text 26.~Erg=E4nzungslieferung% this should NOT brake after 26. > > Text text text text text text text text text text text text text text > text text 26.\,Er-g=E4nzungslieferung% this should NOT brake after 26. > > Text text text text text text text text text text text text text text > text text 26.\,Er-g=E4nzungslieferung% this should NOT brake after 26. > > \stoptext > > > Is there something that is narrow as \, or \thinspace but behaves > (see above) like ~ ??? > > Steffen > ______________________________________________________________________ = > _____________ > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ______________________________________________________________________ = > _____________ ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________