From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76162 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: description setup error Date: Sun, 13 May 2012 22:38:27 +0200 Message-ID: <0D832063-22B3-4A98-8CA5-A9184F1253F6@googlemail.com> References: <95F4D74F-5F76-42A6-B3C9-A18632068852@uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1336941521 26736 80.91.229.3 (13 May 2012 20:38:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 May 2012 20:38:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 13 22:38:41 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 1STfYu-0007sr-Bu for gctc-ntg-context-518@m.gmane.org; Sun, 13 May 2012 22:38:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5E87A101E2; Sun, 13 May 2012 22:38:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id kOn+qXJABBOP; Sun, 13 May 2012 22:38:37 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7B632101DF; Sun, 13 May 2012 22:38:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 14585101DF for ; Sun, 13 May 2012 22:38:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BS42ax2q1tRp for ; Sun, 13 May 2012 22:38:35 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 1D392101CF for ; Sun, 13 May 2012 22:38:35 +0200 (CEST) Original-Received: from mail-we0-f169.google.com (mail-we0-f169.google.com [74.125.82.169]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q4DKcX94006947 for ; Sun, 13 May 2012 22:38:34 +0200 Original-Received: by wefh52 with SMTP id h52so2172823wef.14 for ; Sun, 13 May 2012 13:38:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=d1oq9255bEIWiWvqKh0U4ynMF/BdOnR8lVUaMGMaMyk=; b=xmVhZZy+1xTRpc0sqh0tJ+WUAvWozO4ToXtoyMR0BpLqpvK5x/l0SMVzLDxXuzXmBx cH7rBnVJ7jM49gxckKwKgsJASblvRrTzS5j3EhVxx7zLtGgROALLblVbgdl5P7FDLaBc z+dgW5UDd4hI9xinh8/Fez6ZET9VlRCIMdlBiBdrcSyq9trVHnl14VX9lSOIC0Lktwt6 qZIAhf82SrBEvfmRQOu0ylw0eG0StLQ3U+W3gbPwuoaJCRpBK+E4lbCGGDNdnYK5Mgpd hu/jMmJUqLqI/AnFlB/hePCeo5IH2R6X2t3/4whtxcrsiaC78JKPKJ/AY9213+luaaZK MkLQ== Original-Received: by 10.180.105.194 with SMTP id go2mr13858828wib.22.1336941513648; Sun, 13 May 2012 13:38:33 -0700 (PDT) Original-Received: from [192.168.2.36] (p57AFD30F.dip.t-dialin.net. [87.175.211.15]) by mx.google.com with ESMTPS id e6sm30225812wix.8.2012.05.13.13.38.31 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 13 May 2012 13:38:32 -0700 (PDT) In-Reply-To: <95F4D74F-5F76-42A6-B3C9-A18632068852@uva.nl> X-Mailer: Apple Mail (2.1278) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.169; 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: 0TH9wCxzk - 677e01e91ce8 - 20120513 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:76162 Archived-At: Am 13.05.2012 um 22:16 schrieb Meer, H. van der: > Of all the parameter values for \setupdescriptions[][alternative=value] there is one that fails here, i.e. "right". right is a value mentioned in http://wiki.contextgarden.net/Command/setupdescriptions. > > Below a minimal example and the error. > > \definedescription[htmldd][before=,after=] > \setupdescriptions[htmldd][alternative=right] > \starttext > Text before.\crlf > \starthtmldd{item-1}description\stophtmldd > \starthtmldd{item-2}description\stophtmldd > Text after. > \stoptext > > ! Undefined control sequence. > > system > tex > error on line 5 in file description.tex: Undefined control sequence ... > > \12>:153>:right:none ...nstructions_pure_hang_box > \raggedleft \rlap {\hskip ... > \148>construction ...parameter \c!renderingsetup } > \relax \dostoptagged \dost... > \dodogotopar ...andler \v!construction \endcsname > \BeforePar \emptytoks > > d > l.5 \starthtmldd{item-1}d > escription\stophtmldd > > Hans van der Meer The commented line in the setups environment is wrong and the line below is the fix. \unprotect \startsetups[\??constructionrenderings:\v!right:\v!none] \let\\=\crlf \noindent \leftskip\leftconstructionskip \rightskip\dimexpr\rightconstructionskip+\constructionsheadwidth\relax %\strc_constructions_pure_hang_box\raggedleft \strc_constructions_set_pure_box\v!flushright \rlap { \hskip\dimexpr\hsize-\leftskip-\rightskip\relax \copy\constructionheadbox \hskip\rightconstructionskip } \advance\rightskip \constructionsheaddistance \useconstructionstyleandcolor\c!style\c!color \ignorespaces \stopsetups \protect \definedescription[description][alternative=right,headalign=] \starttext BEFORE \startdescription{Knuth} \input knuth \stopdescription AFTER \stoptext 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 ___________________________________________________________________________________