ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* New structure ...
@ 2009-05-19  9:41 Willi Egger
  2009-05-19  9:58 ` Alan Stone
  0 siblings, 1 reply; 10+ messages in thread
From: Willi Egger @ 2009-05-19  9:41 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-05-21 19:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-19  9:41 New structure Willi Egger
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

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).