From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74439 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \definedescription[...][hang=fit] broken in latest beta? Date: Sat, 11 Feb 2012 06:48:28 +0100 Message-ID: References: <4F3561CC.7030608@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1328939340 12723 80.91.229.3 (11 Feb 2012 05:49:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Feb 2012 05:49:00 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 11 06:49:00 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rw5pQ-0003ln-MA for gctc-ntg-context-518@m.gmane.org; Sat, 11 Feb 2012 06:48:56 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 82C8ACB207; Sat, 11 Feb 2012 06:48:55 +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 EZDQYQaFfuYj; Sat, 11 Feb 2012 06:48:52 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 940A3CB1F4; Sat, 11 Feb 2012 06:48:52 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4E114CB1F4 for ; Sat, 11 Feb 2012 06:48:51 +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 3TtZH146b+6g for ; Sat, 11 Feb 2012 06:48:37 +0100 (CET) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id 07E88CABBD for ; Sat, 11 Feb 2012 06:48:36 +0100 (CET) Original-Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q1B5ohwi019909 for ; Sat, 11 Feb 2012 06:50:43 +0100 Original-Received: by eekc13 with SMTP id c13so1333296eek.14 for ; Fri, 10 Feb 2012 21:48:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=ke0dpsSYAsfplED3VDbQOxaYlNAWEfaVaGk2JeLvZ8I=; b=GZbwPALb4laGZHt5dwuLAWUSfPWJKY2hBpsikhGk1caa2Kyx7aFuA08VrENRDdM5aP xt6fv48kWGmkWG0v+NVcglAQu8sHj1/5ZHgXOqiPh+YBh+p6lL+SXZp5ZeZQm2Uihphe NUtqcGOzhkz7lykUHioBHgX30ap4jVyjTsaNg= Original-Received: by 10.213.20.16 with SMTP id d16mr1473811ebb.17.1328939315891; Fri, 10 Feb 2012 21:48:35 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFC4C0.dip.t-dialin.net. [87.175.196.192]) by mx.google.com with ESMTPS id n56sm30882829eeh.6.2012.02.10.21.48.31 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 10 Feb 2012 21:48:34 -0800 (PST) In-Reply-To: <4F3561CC.7030608@web.de> X-Mailer: Apple Mail (2.1257) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.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: 0IGwtOH8L - 3795bd373f4c - 20120211 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 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:74439 Archived-At: Am 10.02.2012 um 19:28 schrieb Pablo Rodr=EDguez: > Hi there, > = > I'm not able to compile this code using the latest beta: > = > \definedescription[optionlisting][hang=3Dfit] > \starttext > \optionlisting{range} especifica espectro > \stoptext > = > Just in case it helps, 1. You need a empty line or \par at the end of the description (or use \sta= rtoptionlisting =85 \stopoptionlisting) 2. Change this in strc-con.mkvi \def\strc_constructions_set_hang#1% {\edef\p_hang{\constructionparameter\c!hang}% \ifx\p_hang\empty \else\ifx\p_hang\v!fit \scratchdimen\htdp\constructionheadbox \getnoflines\scratchdimen \hangafter-\noflines \else\ifx\p_hang\v!broad \scratchdimen\dimexpr\htdp\constructionheadbox+.5\strutht\relax \getnoflines\scratchdimen \hangafter-\noflines \else \hangafter-\p_hang - \fi + \fi\fi\fi \relax \hangindent\ifx#1\v!right-\fi\constructionsheadwidth} Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________