From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84601 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: \definetype[xxx][linebreaks=yes, breakpoints=name] Date: Mon, 07 Oct 2013 10:30:25 +0200 Message-ID: <87y565trdq.fsf@micropit.couberia.selfip.net> References: <878uy6uhce.fsf@micropit.couberia.selfip.net> <52526D0E.6070607@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1381134687 18885 80.91.229.3 (7 Oct 2013 08:31:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Oct 2013 08:31:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 07 10:31:32 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VT6E0-0006iq-2d for gctc-ntg-context-518@m.gmane.org; Mon, 07 Oct 2013 10:31:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 557CD1020F; Mon, 7 Oct 2013 10:29:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 66vaWAUsYFGF; Mon, 7 Oct 2013 10:29:00 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id AD7D110203; Mon, 7 Oct 2013 10:29:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3DEA010203 for ; Mon, 7 Oct 2013 10:28:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uHdedlvTZglZ for ; Mon, 7 Oct 2013 10:28:57 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 9B77410200 for ; Mon, 7 Oct 2013 10:28:57 +0200 (CEST) Original-Received: from smtp.smtpout.orange.fr (smtp08.smtpout.orange.fr [80.12.242.130]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r978VOxZ027096 for ; Mon, 7 Oct 2013 10:31:24 +0200 Original-Received: from micropit.couberia.selfip.net ([2.2.210.90]) by mwinf5d31 with ME id a8XP1m00K1xaDUa038XQ4Z; Mon, 07 Oct 2013 10:31:24 +0200 Original-Received: by micropit.couberia.selfip.net (Postfix, from userid 1000) id EAD0EA60C06; Mon, 7 Oct 2013 10:30:25 +0200 (CEST) Mail-Followup-To: mailing list for ConTeXt users In-Reply-To: <52526D0E.6070607@wxs.nl> (Hans Hagen's message of "Mon, 07 Oct 2013 10:13:02 +0200") User-Agent: Gnus/5.130008 (=?utf-8?Q?=E7=9C=9F?= Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.130; country=FR; latitude=48.8600; longitude=2.3500; http://maps.google.com/maps?q=48.8600,2.3500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08Ky8votj - f8c36d5110c4 - 20131007 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:84601 Archived-At: On Mon, Oct 07 2013, Hans Hagen wrote: >> If not, here my feature request: something like >> \definetype[xxx][linebreaks=yes, breakpoints=compound] > > this should be redefined: > > \unexpanded\def\specialstretchedspace{\hskip.5\interwordspace\s!plus.125\interwordspace\relax} Hi Hans, Unfortunately it does not work: --8<---------------cut here---------------start------------->8--- \unprotect \unexpanded\def\specialstretchedspace{\hskip.5\interwordspace\s!plus.125\interwordspace\relax} \protect \definetype[whatever][lines=yes, space=stretch] \setbreakpoints[compound] \starttext \hsize4cm \whatever{fasdfjkl-fjsdkal-jskla-fjksdla-fjksdl-afjksdla} fasdfjkl-fjsdkal-jskla-fjksdla-fjksdl-afjksdla \stoptext --8<---------------cut here---------------end--------------->8--- What am I doing wrong please? -- Peter ___________________________________________________________________________________ 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 ___________________________________________________________________________________