From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62413 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Verbatim typing with numbers inside float Date: Thu, 07 Oct 2010 09:19:42 +0200 Message-ID: <4CAD748E.8090209@wxs.nl> References: <4CAC870B.3010605@gmx.de> <4CACDAEA.4010508@wxs.nl> <4CACF1F4.8030201@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1286436013 26712 80.91.229.12 (7 Oct 2010 07:20:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Oct 2010 07:20:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 07 09:20:12 2010 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 1P3kls-0004hX-Eh for gctc-ntg-context-518@m.gmane.org; Thu, 07 Oct 2010 09:20:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F15D3CA721; Thu, 7 Oct 2010 09:20:04 +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 6TMp38AtS2mx; Thu, 7 Oct 2010 09:20:02 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DCB08CA70D; Thu, 7 Oct 2010 09:20:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C8785CA70D for ; Thu, 7 Oct 2010 09:19: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 lLUQwSUUZUtb for ; Thu, 7 Oct 2010 09:19:48 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id DE0F3CA707 for ; Thu, 7 Oct 2010 09:19:47 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o977Jklv032642 for ; Thu, 7 Oct 2010 09:19:47 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by pragma-net.nl (SurgeMail 4.3g4) with ESMTP id 7995-1713362 for multiple; Thu, 07 Oct 2010 09:17:52 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4 ThunderBrowse/3.3.2 In-Reply-To: <4CACF1F4.8030201@gmx.de> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=11; city=Den Haag; latitude=52.0833; longitude=4.3000; http://maps.google.com/maps?q=52.0833,4.3000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07DfHjLy9 - c8853c80fe02 - 20101007 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:62413 Archived-At: On 7-10-2010 12:02, Stefan M=FCller wrote: > Thank you very much for your effort. Pretty amazing what's doable. > Unfortunately there are two issues: The distance between numbers and > source lines is too small for bigger line numbers. I just have to make > "distance=3D0em" big enough for this to work, right? or width .. just experiment with values > The other thing: The width available for the caption is capped by the > width of the longest source line. I think I prefer the source lines to > start at the left margin. you could move the framed to the right (\hskip1em or so) but on the = other hand it might look more consistent if the numbers stick into some = virtual margin > In addition there is something else I didn't think of when I put up that > mail (sorry for that). If I put (a very long piece) source inside a > figure I won't have pagebreaks, right? So this makes me think it's > probably not what I'm looking for. no page breaks indeed (at least not now in such cases) > Splitting up long source code in several pieces (one per page) and put > them in separate figures doesn't seem right to me. Setting it as > numbered paragraph? Putting up a fake caption with \placefloatcaption > (which doesn't seem to work in MkIV)? Are there other possiblities of > numbering (by section) more or less big chunks of source code I'm not > thinking of? That would help me very much. Thanks for thinking about that. you can make your own construct, maybe something with a background = (textbackgrounds can cross pages) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________= ________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________