Hello all,

I have attached a fairly minimal example that demonstrates three problems I
currently have using an enumeration for code listings.

The first problem is that \placelist[enumeration:listing] errors out with:

! Missing number, treated as zero.
<to be read again>
                   )
\placestructurelist ...sts.process("#1","#2","#3")
                                                  }
\doplacerawlist ...mber \listparameter \c!number }
                                                  \stoplistreferences
\endgr...
\doplacelist ...ginoflist \doplacerawlist [#1][#2]
                                                  \doendoflist
<to be read again>
                   \par
l.24

The second problem is that \in{Listing}[lst:b] produces Listing 2.2 rather
than Listing 2 as I expect since I've asked for numbering way=bytext in
\defineenumeration. How can I get the number produced by \in{Listing}[lst:b]
to match the listing number typeset in the listing title?

The third problem is that the document hyperlinks produced by
\in{Listing}[lst:b] with interaction enabled don't seem to do anything.

Cheers,

Kevin

Attachment: test-enumerations.tex
Description: TeX document

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to