From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50594 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: New structure ... Date: Tue, 19 May 2009 11:41:01 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: multipart/mixed; boundary=Apple-Mail-1-278372825 X-Trace: ger.gmane.org 1242726131 30588 80.91.229.12 (19 May 2009 09:42:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 May 2009 09:42:11 +0000 (UTC) To: NTG-Context ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 19 11:42:04 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1M6Lpk-0008BE-34 for gctc-ntg-context-518@m.gmane.org; Tue, 19 May 2009 11:42:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AF4FD1FD6D; Tue, 19 May 2009 11:42:03 +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 09206-03; Tue, 19 May 2009 11:41:21 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0E4A01FCF5; Tue, 19 May 2009 11:41:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 22F291FCF5 for ; Tue, 19 May 2009 11:41:17 +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 08673-06-5 for ; Tue, 19 May 2009 11:41:05 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by ronja.ntg.nl (Postfix) with ESMTP id 1F3981FCA1 for ; Tue, 19 May 2009 11:41:04 +0200 (CEST) Original-Received: from mail.7values.nl (pluto.digitpaint.nl [83.98.197.3]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4J9f35c025237 for ; Tue, 19 May 2009 11:41:03 +0200 Original-Received: from localhost (dp5.intern.digitpaint.nl [192.168.0.7]) by mail.7values.nl (Postfix) with ESMTP id 6109317ECB for ; Tue, 19 May 2009 11:41:03 +0200 (CEST) Original-Received: from mail.7values.nl ([192.168.0.1]) by localhost (dp5.digitpaint.nl [192.168.0.7]) (amavisd-new, port 10024) with LMTP id 1WhkjHCoo+qr for ; Tue, 19 May 2009 11:41:02 +0200 (CEST) Original-Received: from [192.168.0.17] (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by mail.7values.nl (Postfix) with ESMTP id 34C2017EC9 for ; Tue, 19 May 2009 11:41:03 +0200 (CEST) X-Mailer: Apple Mail (2.753.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=83.98.197.3; country=NL; region=07; city=Hilversum; latitude=52.2333; longitude=5.1833; http://maps.google.com/maps?q=52.2333,5.1833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 228126565 - 705960b5de66 - 20090519 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:50594 Archived-At: --Apple-Mail-1-278372825 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi all, I should call the current head number in a figure. I am getting the following error: ! Undefined control sequence. \reporttextprefixerror \secondoftwoarguments #1#2->#2 \rightlabeltext ...ts \let \reporttextprefixerror \doreporttextprefixerror \... \labeltexts ...eftlabeltext {#1}#2\rightlabeltext {#1} \doifundefinedelse #1->\ifcsname #1 \endcsname \@EA \secondoftwoarguments \el... ... {\??ef \??ef XY\currentheadnumber } {\useexternalfigure [\s!d... ... l.14 ...Y\currentheadnumber][width=0.5/textwidth]} Using: This is LuaTeX, Version beta-0.40.1-2009050813 (Web2C 7.5.7) ConTeXt ver: 2009.05.14 16:44 MKIV fmt: 2009.5.19 int: english/ english Minimal example attached KR Willi --Apple-Mail-1-278372825 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0644; name=headnumber-test.tex Content-Disposition: attachment; filename=headnumber-test.tex % Context file % Filename: untitled.tex % Willi Egger % 19-05-2009 % Copyright (c) 2009 BOEDE. All rights reserved. \starttext \chapter{One} \placefigure [here] [] {A figure} {\externalfigure[XY\currentheadnumber][width=0.5/textwidth]} \stoptext --Apple-Mail-1-278372825 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --Apple-Mail-1-278372825--