ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Kevin D. Robbins" <robbins.kevin.d@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Problem or bug with enumerations in latest ConTeXt beta
Date: Wed, 21 Oct 2009 18:12:38 -0600	[thread overview]
Message-ID: <f5d0b64b0910211712l40ed0ad5oc495389f3f00ef79@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1125 bytes --]

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 #1.2: Type: text/html, Size: 1447 bytes --]

[-- Attachment #2: test-enumerations.tex --]
[-- Type: application/x-tex, Size: 696 bytes --]

[-- Attachment #3: Type: text/plain, Size: 486 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2009-10-22  0:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-22  0:12 Kevin D. Robbins [this message]
2009-10-24 13:07 ` Hans Hagen
2009-10-26 18:10   ` Kevin D. Robbins

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=f5d0b64b0910211712l40ed0ad5oc495389f3f00ef79@mail.gmail.com \
    --to=robbins.kevin.d@gmail.com \
    --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).