On 4/12/2016 9:42 AM, Otared Kavian wrote:
Hi Hans,

It seems that the new beta has introduced an issue with enumerations: the title 
does not show up as it did previously (until last Friday for instance).

Below is an example.
Best regards

%%%%%%% bug-enumeartion.tex
%%%%%%%
\defineframedtext[ProclaimFramed]
        [width=\textwidth,
        frame=off,
        leftframe=on,
        framecolor=darkred,
        rulethickness=2pt,
        offset=0pt,
        loffset=4pt,
        roffset=4pt,
        ]
\defineenumeration[proclaim]
        [text=,
        before={\startProclaimFramed},
        after={\stopProclaimFramed},
        style=slanted,
        title=yes,
        titleleft=,
        titleright={.},
        alternative=hanging,
        width=fit,
        right={~},
        way=bysection,
        prefix=yes,
        prefixsegments={chapter:section}]
%%%%%%%

\starttext

\startproclaim{Definition}
The title of this \type{\startproclaim} does not show up.
Is this a bug?
\stopproclaim

\stoptext

swapped arguments in ... (actually that was a fix for something else, a space in captions)

\unexpanded\def\strc_enumerations_inject_extra_text
  {\ifconditional\c_strc_constructions_title_state

\clf_doifelselisthastitle{\currentconstructionmain}\numexpr\currentconstructionlistentry\relax
       \strc_enumerations_inject_extra_text_indeed
       \donothing
   \fi}



-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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 via email to