From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85035 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: Tue, 29 Oct 2013 15:19:02 +0100 Message-ID: <877gcw2m95.fsf@micropit.couberia.selfip.net> References: <878uy6uhce.fsf@micropit.couberia.selfip.net> <52526D0E.6070607@wxs.nl> <87y565trdq.fsf@micropit.couberia.selfip.net> <52528753.9060806@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 1383056478 9572 80.91.229.3 (29 Oct 2013 14:21:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Oct 2013 14:21:18 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 29 15:21:23 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 1VbAAd-0002LR-Jw for gctc-ntg-context-518@m.gmane.org; Tue, 29 Oct 2013 15:21:23 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 88FF7101E5; Tue, 29 Oct 2013 15:21:22 +0100 (CET) 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 EkPQWrJUlrBp; Tue, 29 Oct 2013 15:21:20 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 2DEB8101EE; Tue, 29 Oct 2013 15:21:20 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 74B51101EE for ; Tue, 29 Oct 2013 15:21:19 +0100 (CET) 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 nLH3+h0yn4jN for ; Tue, 29 Oct 2013 15:21:17 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 9F203101E5 for ; Tue, 29 Oct 2013 15:21:17 +0100 (CET) Original-Received: from smtp.smtpout.orange.fr (smtp05.smtpout.orange.fr [80.12.242.127]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9TELHEQ005990 for ; Tue, 29 Oct 2013 15:21:17 +0100 Original-Received: from micropit.couberia.selfip.net ([2.12.201.216]) by mwinf5d62 with ME id j2MG1m00t4geCuS032MGx9; Tue, 29 Oct 2013 15:21:16 +0100 Original-Received: by micropit.couberia.selfip.net (Postfix, from userid 1000) id 1D9CCA60B3C; Tue, 29 Oct 2013 15:19:03 +0100 (CET) Mail-Followup-To: mailing list for ConTeXt users In-Reply-To: <52528753.9060806@wxs.nl> (Hans Hagen's message of "Mon, 07 Oct 2013 12:05:07 +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.127; 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: 0QKH2lhlq - e09ac3ece8f3 - 20131029 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:85035 Archived-At: Hello Hans, Is it also possible, to break inside the \type{} only at well defined characters and without hyphenation? Example: --8<---------------cut here---------------start------------->8--- \definebreakpoint[compound][_] \setuplayout[width=25mm] \startsetups Test \setbreakpoints[compound] \stopsetups \definetype[Test][lines=hyphenated, setups=Test, space=stretch] \showframe \starttext hellohello hellohello % should break like this: hel- lohello (ok) hellohello \Test{hel_lohello} % should break like this: hel_ lohello (not ok) hellohello \Test{hellohello} % should not break at all (not ok) \stoptext --8<---------------cut here---------------end--------------->8--- TIA for any help, -- 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 ___________________________________________________________________________________