ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger <w.egger@boede.nl>
To: NTG-Context ConTeXt users <ntg-context@ntg.nl>
Subject: New structure ...
Date: Tue, 19 May 2009 11:41:01 +0200	[thread overview]
Message-ID: <CCCE2FA2-D942-41B2-8155-D6B46BFF92F7@boede.nl> (raw)

[-- Attachment #1: Type: text/plain, Size: 921 bytes --]

Hi all,

I should call the current head number in a figure.

I am getting the following error:

! Undefined control sequence.
<argument> \reporttextprefixerror

\secondoftwoarguments #1#2->#2

\rightlabeltext ...ts \let \reporttextprefixerror
                                                    
\doreporttextprefixerror \...
\labeltexts ...eftlabeltext {#1}#2\rightlabeltext
                                                   {#1}
\doifundefinedelse #1->\ifcsname #1
                                    \endcsname \@EA  
\secondoftwoarguments \el...
<argument> ... {\??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

[-- Attachment #2: headnumber-test.tex --]
[-- Type: application/octet-stream, Size: 251 bytes --]

% 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

[-- Attachment #3: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

             reply	other threads:[~2009-05-19  9:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-19  9:41 Willi Egger [this message]
2009-05-19  9:58 ` Alan Stone
2009-05-19 13:13   ` Willi Egger
2009-05-19 13:21     ` luigi scarso
2009-05-19 13:49   ` Hans Hagen
2009-05-19 14:00     ` luigi scarso
2009-05-19 15:17       ` Willi Egger
2009-05-19 15:48         ` Alan Stone
2009-05-21 19:22           ` Willi Egger
2009-05-19 22:01       ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CCCE2FA2-D942-41B2-8155-D6B46BFF92F7@boede.nl \
    --to=w.egger@boede.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).