Hans,
Even with the local scope, I cannot get multiple enumerations in a
paragraph at the same time as I get inright labels in footnotes. The
footnote enumerations appear only with display=yes, but that causes
paragraph breaks after each enumeration. The default alignment works,
but I need marginal indices.
Labels seem to me a bit more flexible here since they do not require
paragraph semantics for termination. I am not looking for a taggable
mark, simply a visible reference index to which reference can be applied.
So, with enumerations providing no benefit and introducing additional
problems, is it unreasonable to request that labels be officially
supported in MKIV and not marked as MKII relicts?
Here is my latest test harness.
\defineconstructionalternative
[mylabel]
[renderingsetup=constructionrenderings:mylabel,
width=]
\startsetups[constructionrenderings:mylabel]
\dontleavehmode
\inright[scope=local]{\flushconstructionheadbox}
\stopsetups
%% constructionrenderings testing alternatives
% \inright[scope=local]{\flushconstructionheadbox}
% \flushconstructionheadbox
% \inright{\flushconstructionheadbox}
\defineenumeration
[Enu]
[alternative=mylabel,
display=no,
before=,
after=]
\definelabel
[Lab]
[alternative=mylabel,
before=,
after=]
\definenote
[endnote]
\setupnotation
[endnote]
[way=bytext,
location=none,
conversion=numbers]
\definenote
[footnote]
\setupnotation
[footnote]
[way=bypage,
numberconversion=set 2]
\define\testTextOne{\quotation{\startEnu\input ward \stopEnu}
And the rest of the paragraph.}
\define\testTextTwo{\startEnu\input jojomayer \stopEnu
\quotation{\startEnu\input ward \stopEnu}
And the rest of the paragraph.}
\define\testTextThree{\Lab\input jojomayer
\quotation{\Lab\input ward }
And the rest of the paragraph.}
\setupwhitespace[small]
\starttext
\startchapter[title=bar]
Paragraph with one enumeration: \testTextOne\ A footnote with
one enumeration\footnote{\testTextOne} and an endnote with one
enumeration.\endnote{\testTextOne}
Paragraph with two enumerations: \testTextTwo\ A footnote with
two enumerations\footnote{\testTextTwo} and an endnote with two
enumeration.\endnote{\testTextTwo}
Paragraph with two labels: \testTextThree\ A footnote with
two labels\footnote{\testTextThree} and an endnote with two
labels.\endnote{\testTextThree}
\stopchapter
\startchapter[title=notes]
\placenotes[endnote]
\stopchapter
\stoptext
--
Rik
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________