ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Andreas Mang <mang@imt.uni-luebeck.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: label in enumerations broken?
Date: Sun, 19 Feb 2012 14:47:14 +0100	[thread overview]
Message-ID: <5C0CC9D5-0CFB-4A59-8A8C-0C8EBB7E5BE8@imt.uni-luebeck.de> (raw)

Dear all,

As I have learned from the mailing list, there have been some changes in the enumeration / description environment. Did I miss something (i.e. has there also been a change in how to define the labels for the description / enumeration?) I have attached my prefs, a minimal example and an error message.

Your help is very much appreciated.

Thanks in advance,
Andreas

%============================
% PREFS 
%============================
% ConTeXt  ver: 2012.02.18 10:50 MKIV  fmt: 2012.2.18  int: english/english
% LuaTeX, Version beta-0.70.1-2011051908 (rev 4277)

%============================
% MINIMAL EXAMPLE 
%============================
\setupenumerations%
[%
alternative=hanging,%
width=broad,%
headstyle=bold,%
titlestyle=bold,% 
]%

\defineenumeration[mydefinition]%
[text=Definition,%
style=italic,%
title=yes,%
listtext={Definition }%
]%


\starttext

% \startmydefinition WITHOUT "[ref2mydef]" and/or the title "{The Definition}"  works fine
% note: I have added alternative instead of location as suggested in the mailing list
% note: I have switched the title on and off and accordingly have also removed "The Definition"

\startmydefinition[ref2mydef]{The Definition}

Let something be defined.

\stopmydefinition

\stoptext



%============================
% ERROR MESSAGE
%============================
\strc_descriptions_start_yes_reference ...e_state 
                                                  \expandafter \strc_descrip...
\strc_descriptions_start_yes ...art_yes_reference 
                                                  [#1]
l.21 \startmydefinition[ref2mydef]
                                  {The Definition}
? 
! Emergency stop.

system          > tex > error on line 21 in file /Users/Chip/Desktop/dump/context-minimal/minimal.tex: Emergency stop


___________________________________________________________________________________
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:[~2012-02-19 13:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-19 13:47 Andreas Mang [this message]
2012-02-19 17:38 ` Wolfgang Schuster

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=5C0CC9D5-0CFB-4A59-8A8C-0C8EBB7E5BE8@imt.uni-luebeck.de \
    --to=mang@imt.uni-luebeck.de \
    --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).