From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19429 Path: news.gmane.org!not-for-mail From: Nikolai Weibull Newsgroups: gmane.comp.tex.context Subject: Problem with \type in captions Date: Tue, 29 Mar 2005 21:39:18 +0200 Message-ID: <20050329193918.GA5794@puritan.pcp.ath.cx> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1112125136 27551 80.91.229.2 (29 Mar 2005 19:38:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2005 19:38:56 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 29 21:38:54 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 1DGMXp-0006Yg-9p for gctc-ntg-context-518@m.gmane.org; Tue, 29 Mar 2005 21:38:33 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 31C19127D1; Tue, 29 Mar 2005 21:39:28 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06908-05; Tue, 29 Mar 2005 21:39:25 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 25E4B127A9; Tue, 29 Mar 2005 21:39:25 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C3477127A9 for ; Tue, 29 Mar 2005 21:39:22 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06994-02-2 for ; Tue, 29 Mar 2005 21:39:22 +0200 (CEST) Original-Received: from mxfep02.bredband.com (mxfep02.bredband.com [195.54.107.73]) by ronja.ntg.nl (Postfix) with ESMTP id EBCDE127A0 for ; Tue, 29 Mar 2005 21:39:21 +0200 (CEST) Original-Received: from puritan.pcp.ath.cx ([213.112.43.228] [213.112.43.228]) by mxfep02.bredband.com with ESMTP id <20050329193919.HKLJ22685.mxfep02.bredband.com@puritan.pcp.ath.cx> for ; Tue, 29 Mar 2005 21:39:19 +0200 Original-Received: by puritan.pcp.ath.cx (Postfix, from userid 1000) id E5C5AA0034; Tue, 29 Mar 2005 21:39:18 +0200 (CEST) Original-To: NTG-context List Mail-Followup-To: NTG-context List Content-Disposition: inline User-Agent: Mutt/1.5.8i X-Virus-Scanned: by 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-Virus-Scanned: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:19429 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19429 \starttext \placefigure {\type{0|}} {} \stoptext gives me ! Argument of \next has an extra }. \par } ...p {\strutdepth }\begstrut \type {0|} \endstrut \endgraf \doattributes ...sname #1#2\@EA \endcsname \fi {#4 }\dostopattributes \putcompletecaption ...trut #3\endstrut \endgraf } \fi \dostopattributes \docheckcaptioncontent ...ecaption {#4}{#2}{#3}{0} }\ifdim \wd \tempcaptionbo... ... l.4 {} Remove the 0 and it works fine. Is there a quick fix?, nikolai -- ::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden ::: ::: page: minimalistic.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}