ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "dr. Hans van der Meer" <hansm@science.uva.nl>
Subject: reference problem
Date: Sat, 19 Jun 2004 22:48:14 +0200	[thread overview]
Message-ID: <FBD9A958-C231-11D8-985F-003065568054@science.uva.nl> (raw)

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

In the ConTeXt manual (cont-eni.pdf) it says in the chapter on 
references by way of example:

> In this chapter, we can safely use references, without the danger of 
> clashing with references in other chapters. If we have a figure:
>
> \placefigure[here][fig:worldmap]{A map of the \TeX\ world}{...}
>
> In the chapter itself we can refer to this figure with:
>
> \in {figure} [fig:worldmap]

However, if I use this scheme on the following input:

> \placefigure[here][fig:exceptionhierarchy]{Sample~exception~hierarchy}%
> 	{\externalfigure[ExceptionHierarchy][scale=800]}
>
> By way of example, \in{figure}[fig:exceptionhierarchy] shows the
> hierarchy for ...

The following error trace occurs (TeXShop):

> floatblocks    : 1 placed
> ! Undefined control sequence.
> \doloop ...ndcsname \recurselevel \let \endofloop
>                                                   \dodoloop \dodoloop 1
> \removeunwantedspaces ...kip \else \exitloop \fi }
>                                                   \fi
> <argument> ...\ignorespaces \removeunwantedspaces
>                                                   \rightofreference
> \doifelsenothing #1->\edef \!!stringa {#1
>                                          }\ifx \!!stringa \empty 
> \expandafte...
> <argument> ...veunwantedspaces \rightofreference }
>                                                   {\egroup 
> \dosymbolreferenc...
>
> \doifreferencefoundelse ...ce \ifreferencefound #2
>                                        \rightofreference
> ...
> l.121 ...mple, \in{figure}[fig:exceptionhierarchy]
>                                                    shows the
> ?

What I am doing wrong? Or has some change in macros taken place?
I am using  the following version:
ConTeXt  ver: 2004.6.14  fmt: 2004.6.15  int: english  mes: english

I would be happy if someone can provide the answer.

Hans van der Meer

[-- Attachment #2: Type: text/enriched, Size: 1977 bytes --]

<fontfamily><param>Courier</param><smaller>In the ConTeXt manual
(cont-eni.pdf) it says in the chapter on references by way of example:


<excerpt>In this chapter, we can safely use references, without the
danger of clashing with references in other chapters. If we have a
figure:


\placefigure[here][fig:worldmap]{A map of the \TeX\ world}{...}


In the chapter itself we can refer to this figure with:


\in {figure} [fig:worldmap]

</excerpt>

However, if I use this scheme on the following input:


<excerpt>\placefigure[here][fig:exceptionhierarchy]{Sample~exception~hierarchy}%

	{\externalfigure[ExceptionHierarchy][scale=800]}


By way of example, \in{figure}[fig:exceptionhierarchy] shows the

hierarchy for ...

</excerpt>

The following error trace occurs (TeXShop):


<excerpt>floatblocks    : 1 placed

! Undefined control sequence.

\doloop ...ndcsname \recurselevel \let \endofloop 

                                                  \dodoloop \dodoloop 1

\removeunwantedspaces ...kip \else \exitloop \fi }

                                                  \fi 

<<argument> ...\ignorespaces \removeunwantedspaces 

                                                  \rightofreference 

\doifelsenothing #1->\edef \!!stringa {#1

                                         }\ifx \!!stringa \empty
\expandafte...

<<argument> ...veunwantedspaces \rightofreference }

                                                  {\egroup
\dosymbolreferenc...


\doifreferencefoundelse ...ce \ifreferencefound #2

                                       \rightofreference 

...

l.121 ...mple, \in{figure}[fig:exceptionhierarchy]

                                                   shows the

? 

</excerpt>

What I am doing wrong? Or has some change in macros taken place?

I am using  the following version:

ConTeXt  ver: 2004.6.14  fmt: 2004.6.15  int: english  mes: english


I would be happy if someone can provide the answer.


Hans van der Meer

</smaller></fontfamily>

             reply	other threads:[~2004-06-19 20:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-19 20:48 dr. Hans van der Meer [this message]
2004-06-20 19:45 ` Hans Hagen Outside
2004-06-22  9:38   ` dr. Hans van der Meer
     [not found] <Pine.GSO.4.30.0302090310210.29721-100000@persius.rz.uni-po tsdam.de>
2003-02-09 19:00 ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2003-02-09  2:23 Albrecht Kauffmann

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=FBD9A958-C231-11D8-985F-003065568054@science.uva.nl \
    --to=hansm@science.uva.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).