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
{\externalfigure[XY\currentheadnumber][width=0.5\textwidth]}
^
Alan
On Tue, May 19, 2009 at 11:41 AM, Willi Egger
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
___________________________________________________________________________________ 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
___________________________________________________________________________________
-- Alan
Hi Alan, thanks for your reply, humble but I can not see the difference in your replied line and the line stated in the example file. Sorry Willli On May 19, 2009, at 11:58 AM, Alan Stone wrote:
{\externalfigure[XY\currentheadnumber][width=0.5\textwidth]} {\externalfigure[XY\currentheadnumber][width=0.5/textwidth]}
Alan
On Tue, May 19, 2009 at 11:41 AM, Willi Egger
wrote: 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 ______________________________________________________________________ _____________ 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 ______________________________________________________________________ _____________
-- Alan ______________________________________________________________________ _____________ 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 ______________________________________________________________________ _____________
ERRATA
.14 ...Y\currentheadnumber][width=0.5/textwidth]}
CORRIGE
.14 ...Y\currentheadnumber][width=0.5\textwidth]}
ie
not '/textwidth'
but \textwidth
On Tue, May 19, 2009 at 3:13 PM, Willi Egger
Hi Alan,
thanks for your reply, humble but I can not see the difference in your replied line and the line stated in the example file. Sorry
-- luigi
Alan Stone wrote:
{\externalfigure[XY\currentheadnumber][width=0.5\textwidth]}
\the\dimexpr.5\texidth\relax ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Don't worry, Holland is still fine... But the problem I refer to is not in the dimension whether or not it is spelled correcltly. The error is still the same: ! 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 ...er][width=\the\dimexpr.5\textwidth\relax]} \starttext \chapter{One} \placefigure [here] [] {A figure} {\externalfigure[XY\currentheadnumber][width=\the\dimexpr.5\textwidth \relax]} \stoptext Willi On May 19, 2009, at 4:00 PM, luigi scarso wrote:
On Tue, May 19, 2009 at 3:49 PM, Hans Hagen
wrote: Alan Stone wrote: {\externalfigure[XY\currentheadnumber][width=0.5\textwidth]} \the\dimexpr.5\texidth\relax
\the\dimexpr.5\texwidth\relax
what's happening in Holland ? -- luigi
______________________________________________________________________ _____________ 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 ______________________________________________________________________ _____________
On Tue, May 19, 2009 at 5:17 PM, Willi Egger
Don't worry, Holland is still fine...
But the problem I refer to is not in the dimension whether or not it is spelled correcltly. The error is still the same:
! 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 ...er][width=\the\dimexpr.5\textwidth\relax]}
\starttext \chapter{One} \placefigure [here] [] {A figure}
{\externalfigure[XY\currentheadnumber][width=\the\dimexpr.5\textwidth\relax]} \stoptext
Willi
With... \starttext \chapter{One} \placefigure [here] [] {A figure} % {\externalfigure[XY\currentheadnumber][width=0.5/textwidth]} {\externalfigure[XY\currentheadnumber][width=0.5\textwidth]} % {\externalfigure[XY\currentheadnumber][width=\the\dimexpr.5\texwidth\relax]} \stoptext I get: see attachment. -- Alan
Hi ALan, thanks for your investigation. Here it keeps showing this error. Will have to see with next beta... KR Willi On May 19, 2009, at 5:48 PM, Alan Stone wrote:
On Tue, May 19, 2009 at 5:17 PM, Willi Egger
wrote: Don't worry, Holland is still fine... But the problem I refer to is not in the dimension whether or not it is spelled correcltly. The error is still the same:
! 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 ...er][width=\the\dimexpr.5\textwidth\relax]}
\starttext \chapter{One} \placefigure [here] [] {A figure} {\externalfigure[XY\currentheadnumber][width=\the\dimexpr.5 \textwidth\relax]} \stoptext
Willi
With...
\starttext \chapter{One} \placefigure [here] [] {A figure} % {\externalfigure[XY\currentheadnumber][width=0.5/textwidth]} {\externalfigure[XY\currentheadnumber][width=0.5\textwidth]} % {\externalfigure[XY\currentheadnumber][width=\the\dimexpr.5 \texwidth\relax]} \stoptext
I get: see attachment.
-- Alan <headnumber- test.pdf>_____________________________________________________________ ______________________ 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 ______________________________________________________________________ _____________
luigi scarso wrote:
On Tue, May 19, 2009 at 3:49 PM, Hans Hagen
wrote: Alan Stone wrote:
{\externalfigure[XY\currentheadnumber][width=0.5\textwidth]}
\the\dimexpr.5\texidth\relax
\the\dimexpr.5\texwidth\relax
dimensions are directly passed to luatex so they need to be 'expanded'
what's happening in Holland ?
how so? Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Alan Stone
-
Hans Hagen
-
luigi scarso
-
Willi Egger