From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20653 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: \definetyping[C][option=commands] and the tabulator Date: Thu, 02 Jun 2005 22:36:21 +0200 Message-ID: <429F6DC5.7070302@wxs.nl> References: <429C8D37.8070200@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1117746682 31271 80.91.229.2 (2 Jun 2005 21:11:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Jun 2005 21:11:22 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 02 23:11:21 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DdwwA-0000Qb-Oj for gctc-ntg-context-518@m.gmane.org; Thu, 02 Jun 2005 23:09:10 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 26EEA1280C; Thu, 2 Jun 2005 23:12:19 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06369-03-2; Thu, 2 Jun 2005 23:12:15 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DF8BA127EE; Thu, 2 Jun 2005 23:12:15 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1CA14127EE for ; Thu, 2 Jun 2005 23:12:15 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06369-03 for ; Thu, 2 Jun 2005 23:12:14 +0200 (CEST) Original-Received: from mailrun01.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id DF818127E1 for ; Thu, 2 Jun 2005 23:10:10 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j52KacTo008369 for ; Thu, 2 Jun 2005 22:36:38 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id D35ED1FBC5; Thu, 2 Jun 2005 22:07:00 +0200 (CEST) Original-Received: from [10.100.1.53] (unknown [10.100.1.53]) by server-1.pragma-net.nl (Postfix) with ESMTP id D23C11A68A for ; Thu, 2 Jun 2005 20:06:59 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: ntg-context@ntg.nl In-Reply-To: X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on mailrelay01 X-Virus-Status: Clean X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20653 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20653 Peter M=FCnster wrote: > On Tue, 31 May 2005, Hans Hagen wrote: >=20 >=20 >>\definetyping[C][option=3Dcommands,tab=3D8] >> >>(just a few lines patch); i'll send you the files. >=20 >=20 > Thanks again for your efforts! >=20 > Just one last problem with vertical spacing in a frame: >=20 > \starttext > \framed[align=3Dlohi]{% > \starttyping > test > \stoptyping > } > \stoptext you need to - nil the before/after keys - make sure that framed constructs a vbox (by setting align) - get rid of the auto strut \definetyping[whatever][before=3D,after=3D] \framed[strut=3Dno,align=3Dnormal] {\startwhatever ... \stopwhatever} normally one will use \startframedtext ... \stopframedtext in such cases = (or the=20 textbackground mechanism if you need to spanpages or columns) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------