ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sietse Brouwer <sbbrouwer@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Critical editions with ConTeXt
Date: Fri, 20 Jul 2012 19:33:18 +0200	[thread overview]
Message-ID: <CAF=dkzz+OhVKd725JnStR5GayvgNS96fFmGUy5FNJgm21ezBgg@mail.gmail.com> (raw)
In-Reply-To: <50098B18.4000407@wxs.nl>

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
___________________________________________________________________________________


  parent reply	other threads:[~2012-07-20 17:33 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-18  8:10 MANUEL GONZALEZ SUAREZ
2012-07-18 10:09 ` Thomas A. Schmitz
2012-07-18 18:35   ` Pablo Rodríguez
2012-07-19 10:57     ` MANUEL GONZALEZ SUAREZ
2012-07-20 15:41       ` Thomas A. Schmitz
2012-07-20 16:45         ` Hans Hagen
2012-07-20 17:03           ` Thomas A. Schmitz
2012-07-20 17:33           ` Sietse Brouwer [this message]
2012-07-20 18:01             ` Wolfgang Schuster
2012-07-20 18:21               ` Thomas A. Schmitz
2012-07-20 20:41                 ` Hans Hagen
2012-07-22 15:54                   ` Pablo Rodríguez
2012-07-22 18:07                 ` Pablo Rodríguez
2012-07-23 13:42                   ` Thomas A. Schmitz
2015-07-22 19:26           ` Talal
2015-07-22 20:19             ` Pablo Rodriguez
2015-07-22 21:33               ` talazem
2015-07-23 18:09                 ` Pablo Rodriguez
2015-07-24 10:10                 ` Hans Hagen
2012-07-20 18:10         ` Pablo Rodríguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAF=dkzz+OhVKd725JnStR5GayvgNS96fFmGUy5FNJgm21ezBgg@mail.gmail.com' \
    --to=sbbrouwer@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).