From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77465 Path: news.gmane.org!not-for-mail From: Sietse Brouwer Newsgroups: gmane.comp.tex.context Subject: Re: Critical editions with ConTeXt Date: Fri, 20 Jul 2012 19:33:18 +0200 Message-ID: References: <9a69cc6e3c778869.50068b7e@uniovi.es> <50068B59.7070803@uni-bonn.de> <500701D4.2020609@web.de> <50097C2B.2030609@uni-bonn.de> <50098B18.4000407@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1342805627 5410 80.91.229.3 (20 Jul 2012 17:33:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 Jul 2012 17:33:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 20 19:33:47 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SsH5G-0003Lv-Ol for gctc-ntg-context-518@m.gmane.org; Fri, 20 Jul 2012 19:33:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CAAC1102E1; Fri, 20 Jul 2012 19:33:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id MCjjTHnsdDOO; Fri, 20 Jul 2012 19:33:43 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C2391101F6; Fri, 20 Jul 2012 19:33:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 96676101F6 for ; Fri, 20 Jul 2012 19:33:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id bs3MjRGT3i8g for ; Fri, 20 Jul 2012 19:33:41 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 750E7101F4 for ; Fri, 20 Jul 2012 19:33:41 +0200 (CEST) Original-Received: from mail-gh0-f169.google.com (mail-gh0-f169.google.com [209.85.160.169]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q6KHXdNU029301 for ; Fri, 20 Jul 2012 19:33:40 +0200 Original-Received: by ghrr18 with SMTP id r18so5262077ghr.14 for ; Fri, 20 Jul 2012 10:33:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=d03a5veP7opmk98A/pPK/HyLSUZrRi2cYKR/2Yd3mRY=; b=oAVkXdbdrpsHcqgTK7DPyWdgzky1MktrBLtDrqcNl4ZvLa5nVKSFLAzvJt/3hOK5WK wMoamqREDskMocr6x7hL16m7YD2w0eqKWMOoMXTegAn0XY07ufkHWsr7G9xUKLoj47yz 2A/FcuEwlR90JM8q8vYKOcD90g25CvqPgpwvp0q99/q7oCoUggWrO4wayS3XBVQeyJ+u qUtL1Ryao+UC7Lo7FskvTpKTAcwnty8Ii31u0/wHB6l+OmriPpRijJR2MX0RjDyfpOYD 64VhGQrwgEkd0AnXeFza3hMp0q5vMO8dbGe8VT2cw61ShXQKgrFvm077VhxiLXT6wbTH hyNg== Original-Received: by 10.50.158.168 with SMTP id wv8mr9090808igb.24.1342805619255; Fri, 20 Jul 2012 10:33:39 -0700 (PDT) Original-Received: by 10.64.5.234 with HTTP; Fri, 20 Jul 2012 10:33:18 -0700 (PDT) In-Reply-To: <50098B18.4000407@wxs.nl> X-Bayes-Prob: 0.3787 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.160.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RHAFxE39 - ca5b67b77ae1 - 20120720 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:77465 Archived-At: 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 ___________________________________________________________________________________