* 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
* Re: New structure ...
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:49 ` Hans Hagen
0 siblings, 2 replies; 10+ messages in thread
From: Alan Stone @ 2009-05-19 9:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1686 bytes --]
{\externalfigure[XY\currentheadnumber][width=0.5\textwidth]}
^
Alan
On Tue, May 19, 2009 at 11:41 AM, Willi Egger <w.egger@boede.nl> 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
[-- Attachment #1.2: Type: text/html, Size: 2505 bytes --]
[-- Attachment #2: 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
* Re: New structure ...
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
1 sibling, 1 reply; 10+ messages in thread
From: Willi Egger @ 2009-05-19 13:13 UTC (permalink / raw)
To: mailing list for ConTeXt users
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 <w.egger@boede.nl>
> 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
> ______________________________________________________________________
> _____________
___________________________________________________________________________________
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
* Re: New structure ...
2009-05-19 13:13 ` Willi Egger
@ 2009-05-19 13:21 ` luigi scarso
0 siblings, 0 replies; 10+ messages in thread
From: luigi scarso @ 2009-05-19 13:21 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 388 bytes --]
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 <w.egger@boede.nl> wrote:
> 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
[-- Attachment #1.2: Type: text/html, Size: 697 bytes --]
[-- Attachment #2: 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
* Re: New structure ...
2009-05-19 9:58 ` Alan Stone
2009-05-19 13:13 ` Willi Egger
@ 2009-05-19 13:49 ` Hans Hagen
2009-05-19 14:00 ` luigi scarso
1 sibling, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2009-05-19 13:49 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
* Re: New structure ...
2009-05-19 13:49 ` Hans Hagen
@ 2009-05-19 14:00 ` luigi scarso
2009-05-19 15:17 ` Willi Egger
2009-05-19 22:01 ` Hans Hagen
0 siblings, 2 replies; 10+ messages in thread
From: luigi scarso @ 2009-05-19 14:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 266 bytes --]
On Tue, May 19, 2009 at 3:49 PM, Hans Hagen <pragma@wxs.nl> 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
[-- Attachment #1.2: Type: text/html, Size: 732 bytes --]
[-- Attachment #2: 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
* Re: New structure ...
2009-05-19 14:00 ` luigi scarso
@ 2009-05-19 15:17 ` Willi Egger
2009-05-19 15:48 ` Alan Stone
2009-05-19 22:01 ` Hans Hagen
1 sibling, 1 reply; 10+ messages in thread
From: Willi Egger @ 2009-05-19 15:17 UTC (permalink / raw)
To: mailing list for ConTeXt users
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 <pragma@wxs.nl> 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
> ______________________________________________________________________
> _____________
___________________________________________________________________________________
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
* Re: New structure ...
2009-05-19 15:17 ` Willi Egger
@ 2009-05-19 15:48 ` Alan Stone
2009-05-21 19:22 ` Willi Egger
0 siblings, 1 reply; 10+ messages in thread
From: Alan Stone @ 2009-05-19 15:48 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1426 bytes --]
On Tue, May 19, 2009 at 5:17 PM, Willi Egger <w.egger@boede.nl> 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
[-- Attachment #1.2: Type: text/html, Size: 2258 bytes --]
[-- Attachment #2: headnumber-test.pdf --]
[-- Type: application/pdf, Size: 9080 bytes --]
[-- 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
* Re: New structure ...
2009-05-19 15:48 ` Alan Stone
@ 2009-05-21 19:22 ` Willi Egger
0 siblings, 0 replies; 10+ messages in thread
From: Willi Egger @ 2009-05-21 19:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
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 <w.egger@boede.nl> 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
> ______________________________________________________________________
> _____________
___________________________________________________________________________________
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
* Re: New structure ...
2009-05-19 14:00 ` luigi scarso
2009-05-19 15:17 ` Willi Egger
@ 2009-05-19 22:01 ` Hans Hagen
1 sibling, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2009-05-19 22:01 UTC (permalink / raw)
To: mailing list for ConTeXt users
luigi scarso wrote:
> On Tue, May 19, 2009 at 3:49 PM, Hans Hagen <pragma@wxs.nl> 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
-----------------------------------------------------------------
___________________________________________________________________________________
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).