* Bug in enumeration?
@ 2016-04-12 7:42 Otared Kavian
2016-04-12 8:11 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Otared Kavian @ 2016-04-12 7:42 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
%%%%%%% end bug-enumeartion.tex
___________________________________________________________________________________
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] 3+ messages in thread
* Re: Bug in enumeration?
2016-04-12 7:42 Bug in enumeration? Otared Kavian
@ 2016-04-12 8:11 ` Hans Hagen
2016-04-12 9:29 ` Otared Kavian
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2016-04-12 8:11 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-04-12 9:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-12 7:42 Bug in enumeration? Otared Kavian
2016-04-12 8:11 ` Hans Hagen
2016-04-12 9:29 ` Otared Kavian
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).