ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* label in enumerations broken?
@ 2012-02-19 13:47 Andreas Mang
  2012-02-19 17:38 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Mang @ 2012-02-19 13:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-19 17:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-19 13:47 label in enumerations broken? Andreas Mang
2012-02-19 17:38 ` Wolfgang Schuster

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).