From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68601 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \type and linebreak (again) Date: Mon, 23 May 2011 12:11:01 +0200 Message-ID: <32DBA66B-7D21-4DB2-856D-FD212BF16685@googlemail.com> References: <9640862.20110523115916@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1306145488 2638 80.91.229.12 (23 May 2011 10:11:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 May 2011 10:11:28 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 23 12:11:24 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOS6d-0002eT-P0 for gctc-ntg-context-518@m.gmane.org; Mon, 23 May 2011 12:11:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9ADC2CAD35; Mon, 23 May 2011 12:11:22 +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 U2pr8LCdzsVi; Mon, 23 May 2011 12:11:22 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A0F5CCAD36; Mon, 23 May 2011 12:11:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D6CD4CAD36 for ; Mon, 23 May 2011 12:11:17 +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 2l2e55lGg5gE for ; Mon, 23 May 2011 12:11:06 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 99D1ECAD35 for ; Mon, 23 May 2011 12:11:06 +0200 (CEST) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4NAB5np022453 for ; Mon, 23 May 2011 12:11:05 +0200 Original-Received: by bwz17 with SMTP id 17so6811977bwz.14 for ; Mon, 23 May 2011 03:11:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :x-priority:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=I5GDWbv7DCtvv8/EC2E2WSVDYP7oiSf4FE4aj7REYpk=; b=ryzKwlaEfaKbkO/XiwqY5gzdxQq6ooZLfMfhHkCKqerBJGpVutf9/hxxm0Fn5KxJN1 skJR20apwSEPQoFodE/4IvC2BhGrAv7Iq/5GbPXniNEMwBGr/ee2e2k9WukIPLJ3WRDF oi8+HzH75uUbez8fs77hMwnp6GsKpanNK0yYI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:x-priority:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=eRqJ6hnlG9nEGlOSa8EKK3ELeQf/1hvOD2guePJVqE4ed+IOUVNzFVVaZ99gEAsDEB bxC61tKj0Cb3l0e8RKOl0DcU5b5MHHhPFsEltrI0BNDKNf26HTjLJttNj8TMM79BSef5 9A2Zp1jBUfn+GocWPLsY+/g5C3J8OLOZT5gbg= Original-Received: by 10.204.19.5 with SMTP id y5mr2005856bka.194.1306145465029; Mon, 23 May 2011 03:11:05 -0700 (PDT) Original-Received: from [192.168.2.34] (p5B29496D.dip.t-dialin.net [91.41.73.109]) by mx.google.com with ESMTPS id q24sm3794364bks.9.2011.05.23.03.11.03 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 23 May 2011 03:11:04 -0700 (PDT) X-Priority: 3 (Normal) In-Reply-To: <9640862.20110523115916@gmx.de> X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03EKWb5w1 - af53952fc514 - 20110523 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:68601 Archived-At: Am 23.05.2011 um 11:59 schrieb Andreas Schneider: > Hi, > > I stumbled across the same problem that was discussed earlier this > month: \type doesn't break, even if there are opportunities. I tried > to follow the suggestions given in that thread, but with no success: > > \setuppapersize[A4][A4] > > \starttext > \setuptype[space=stretch] > %\setupalign[stretch] > %\setuptolerance[stretch] > \type{cp $SOMEVAR/some/very/very/very/long/directory/WITHFILE $SOMEVAR/other/long/directory} > \startitemize > \item \type{cp $SOMEVAR/some/very/very/very/long/directory/WITHFILE $SOMEVAR/other/long/directory} > \stopitemize > \stoptext > > > I tried with and without the \setupalign/\setuptolerance commands, > without success; both lines exceed the margins. (Tested with ConTeXt > ver: 2011.05.18 22:26 MKIV fmt: 2011.5.23) > > Is there anything else I can do/setup to get such long verbatim lines > broken? I would also like an option for character-based line wraps; > i.e. it should (optionally; not in this particular case for example) > break a word even in the middle if necessary, and without hyphenation > mark. Especially in similar cases where I have a very very long > directory name, I wouldn't care if it gets broken "the hard way". \filename{cp \$SOMEVAR/some/very/very/very/long/directory/WITHFILE \$SOMEVAR/other/long/directory} Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________