I'm trying to get straight in my head what critical-edition-related
commands are already implemented in ConTeXt.

Implemented:
(a) footnotes on specific lines, specified inline: \linenote{note text}
(b) ditto on line ranges: \startlinenote[tag]{note text} ... \stoplinenote[tag]
(c) tag a line and refer to it later in text: \someline[tag]; refer
back with \inline[tag] or \inlinerange[tag] (the former has a spurious
space before the number). The low-level backreferences are
\in[lr:b:tag] and \in[lr:e:tag]; see page-lin.mkiv
(d) ditto for line ranges: \startlines[tag] ... \stoplines[tag]; refer
to these with \inlinerange[tag].

Not implemented AFAIK:
(e) tag a line, but write the linenote on it later; at the end of the
stanza or the quotation, say. Nice to keep notes from overpowering the
text in the source code.).
(f) ditto for line ranges
This would have the added advantage that you could place tags in the
text according to its contents, and then use those tags for both
footnotes and textual references.

Hans wrote:
> but as you mention the interface is a bit problematic as start/stop is not 
> nice when being nested

Do you mean it doesn't look nice, or is it so that nesting or
interleaving \startlinenote[tag] ... \stoplinenote[tag] environments
causes problems because the commands start with \start... and
\stop...?
If looks are the only problem, I think that is a problem with
interleaving environments; no matter whether you call them
\startlinenote...\stoplinenote, or \fromlinenote...\tolinenote. And in
that case, I think consistently naming environment commands
\start...\stop... is a very valuable thing, and should get priority.

Regards,

Sietse
Sietse Brouwer
___________________________________________________________________________________
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