From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68599 Path: news.gmane.org!not-for-mail From: Andreas Schneider Newsgroups: gmane.comp.tex.context Subject: \type and linebreak (again) Date: Mon, 23 May 2011 11:59:16 +0200 Message-ID: <9640862.20110523115916@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1306144784 30644 80.91.229.12 (23 May 2011 09:59:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 May 2011 09:59:44 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon May 23 11:59:40 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 1QORvH-0004Dt-Fp for gctc-ntg-context-518@m.gmane.org; Mon, 23 May 2011 11:59:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 90208CAD3B; Mon, 23 May 2011 11:59:38 +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 PLV+xvnlAqc2; Mon, 23 May 2011 11:59:34 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BCABDCAD30; Mon, 23 May 2011 11:59:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 59FF0CAD32 for ; Mon, 23 May 2011 11:59:33 +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 2QDPc9GrdYYE for ; Mon, 23 May 2011 11:59:22 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 976E7CAD30 for ; Mon, 23 May 2011 11:59:22 +0200 (CEST) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id p4N9xLCC024027 for ; Mon, 23 May 2011 11:59:22 +0200 Original-Received: (qmail invoked by alias); 23 May 2011 09:59:21 -0000 Original-Received: from aksdb.de (EHLO [78.46.84.203]) [78.46.84.203] by mail.gmx.net (mp008) with SMTP; 23 May 2011 11:59:21 +0200 X-Authenticated: #2825193 X-Provags-ID: V01U2FsdGVkX18XHqNB7O4X2h1wxZAt3ONguqjWcRk5VyxxZZ6s0P IYz7398ZkZb3EH X-Mailer: Voyager ct Special Edition (v4.2.38.7) Professional X-Priority: 3 (Normal) X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.22; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eEKVXlkc - 41827c822791 - 20110523 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:68599 Archived-At: 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". Thanks in advance! -- Best Regards, Andreas ___________________________________________________________________________________ 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 ___________________________________________________________________________________