From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19003 Path: news.gmane.org!not-for-mail From: h h extern Newsgroups: gmane.comp.tex.context Subject: Re: critical editions in context Date: Tue, 15 Mar 2005 23:15:34 +0100 Message-ID: <42375E86.2080807@wxs.nl> References: <0533666F-ECD1-11D7-8EC5-00039318D414@uni-bonn.de> <5.2.0.9.1.20030923174431.0214f7b8@server-1> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1110962048 7216 80.91.229.2 (16 Mar 2005 08:34:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 16 Mar 2005 08:34:08 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 16 09:34:08 2005 Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DBTyf-0007G2-5m for gctc-ntg-context-518@m.gmane.org; Wed, 16 Mar 2005 09:34:05 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8FB2F1283A; Wed, 16 Mar 2005 09:34:57 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05554-07-18; Wed, 16 Mar 2005 09:34:52 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F108B12815; Wed, 16 Mar 2005 09:34:46 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9A1C91280D for ; Wed, 16 Mar 2005 09:34:45 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05654-03-12 for ; Wed, 16 Mar 2005 09:34:43 +0100 (CET) Original-Received: from mailrelay01.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id E0B8512801 for ; Wed, 16 Mar 2005 09:34:37 +0100 (CET) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j2G8YZ9m009867 for ; Wed, 16 Mar 2005 09:34:35 +0100 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 5981F18527; Wed, 16 Mar 2005 09:18:40 +0100 (CET) Original-Received: from [10.100.1.191] (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 453A417B39 for ; Wed, 16 Mar 2005 08:18:37 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: ClamAV 0.80/744/Fri Mar 4 04:01:45 2005 clamav-milter version 0.80j on mailrelay01 X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl X-MailScanner-From: ntg-context-bounces@ntg.nl X-MailScanner-To: gctc-ntg-context-518@m.gmane.org Xref: news.gmane.org gmane.comp.tex.context:19003 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19003 Thomas A.Schmitz wrote: > Sorry, hit the "send" button by accident. > > OK, I feel guilty resurrecting this stale thread, but I can't resist > asking again. > > I found this in m-arabtex.tex: > % \pushmacro\edmacloaded \let \edmacloaded \undefined > > and later > > % \popmacro\edmacloaded > > Both lines are commented out, so I'm still wondering if edmac will work > with ConTeXt "out of the box." > > The absolute basics that are needed for critical editions are: > > 1. Capability to have footnotes with reference to line-number instead of > counter. These notes must not end with a newline character (see > ASCII-art at end of post), but must provide the possibility to have > several on one line. These notes must not flow, they have to stay on the > same page as the reference. Horizontal tolerance can be set to very > sloppy to achieve this > > 2. Must be possible to apply a format like \bf vel. sim. to the reference. > > 3. Within these notes, it should be possible to refer to other line > numbers. > > 4. Nice, but not quite essential: possibility to have notes in more than > one column. > > 5. Not absolutely basic, but important for serious work: have more than > one set of notes referring to the same passage. > > Is this possible in ConTeXt "out of the box"? If not, I'd be willing to > roll up my sleeves and help, but would like to know which would be a > good starting point. > > I looked at core-ltn.tex. I'm not sure if core-nnt and page-nnt refer to > core-not and page-not; I couldn't find anything appropriate in these files. the files are in the main distribution for some time; i'm still waiting for idris to test them; following is my test file (seems that it has a patch -) % interface=en \unprotect \def\dohandlelinenote#1#2#3% {\bgroup \expanded{\beforesplitstring#2}\at--\to\linenotelinenumber \ifnum\linenotelinenumber=\linenumber\relax \def\linenotelinenumber##1{#2}% \setupnote[#1] [\c!numbercommand=\linenotelinenumber, \c!textcommand=\gobbleoneargument]% \setnote[#1]{#3}% \fi \egroup} \protect \starttext \tracelinenotestrue \setuppapersize[S6][S6] \setuplayout[width=middle,height=middle,margin=1.5cm,footer=0pt,header=1cm] \setupcolors[state=start] \setuptyping[option=color] \definelinenote[extralinenote][rule=off,frame=on,framecolor=darkgreen] \setuplinenote [linenote] [rule=off,frame=on,framecolor=darkred,n=2] \showframe \startbuffer[test] \doglobal\increment\DummyNumber % else dups due to reuse \startlinenumbering[100] test \linenote {oeps} test test test test test test test \startlinenote [well:\DummyNumber] {oeps} test test test test test test test \linenote {oeps} test test test test test test test \extralinenote {oeps} test test test test test test test \linenote {oeps} test test test test test test test \extralinenote {oeps} test test test test test test test \stoplinenote [well] test test test test test test \stoplinenumbering \stopbuffer {\typebuffer[test] \getbuffer[test]} \page \startbuffer[setup] \setuplinenumbering [align=left] \stopbuffer {\typebuffer[setup] \getbuffer[setup,test]} \page \startbuffer[setup] \setuplinenumbering [width=1em, align=left] \stopbuffer {\typebuffer[setup] \getbuffer[setup,test]} \page \startbuffer[setup] \setuplinenumbering [width=2em, distance=.5em, align=left] \stopbuffer {\typebuffer[setup] \getbuffer[setup,test]} \page \startbuffer[setup] \setuplinenumbering [width=2em, align=middle] \stopbuffer {\typebuffer[setup] \getbuffer[setup,test]} \page \startbuffer[setup] \setuplinenumbering [conversion=romannumerals, start=1, step=1, location=text, style=slanted, color=blue, width=1.5em] \stopbuffer {\typebuffer[setup] \startnarrower\getbuffer[setup,test]\stopnarrower} \page \startbuffer[setup] \setuplinenumbering [width=4em, left=--, right=--, align=middle] \stopbuffer {\typebuffer[setup] \getbuffer[setup,test]} \page \startbuffer[setup-1] \setuplinenumbering [style=\bfxx, command=\WatchThis] \stopbuffer \startbuffer[setup-2] \def\WatchThis#1% {\ifodd\linenumber \definecolor[linecolor][red]% \else \definecolor[linecolor][green]% \fi \inframed [offset=1pt,frame=off,background=color,backgroundcolor=linecolor] {#1}} \stopbuffer {\typebuffer[setup-1,setup-2] \getbuffer[setup-1,setup-2,test]} \page \startbuffer[setup-1] \setuplinenumbering [location=inright, style=\bfxx, command=\WatchThis] \stopbuffer {\typebuffer[setup-1] \getbuffer[setup-1,setup-2,test]} \page \stoptext > Best > > Thomas > > Example what should be possible: > > 1 This manual is about ConTEXt, a system for typesetting documents. > 2 Central element in this name is the word TEX because the typographical > 3 programming language TEX is the base for ConTEXt. People who are used > 4 to TEX will probably identify this manual as a TEX document. They > recognise > 5 the use of \. One may also notice that the way pararaphs are broken > into lines > 6 is often better than in the avarage typesetting system. > > 1 manual A: handbook B 2 name A: concept B,C typographical A: > computational B, euphoric C 4 manual A: handbook B (as in l. 1) > > On Sep 23, 2003, at 5:46 PM, Hans Hagen wrote: > >> At 09:12 23/09/2003 -0600, you wrote: >> >>> Hi Thomas, >>> >>> "Thomas A.Schmitz" wrote: >>> >>> > In March/April 2002, Hans and Idris had an interesting exchange about >>> > the topic "critical editions in context" here in ntg-context; the main >>> > question was whether the functionality of edmac could be >>> implemented in >>> > context. I'd be curious to know whether anything came out of it, I >>> > couldn't find any follow-up. >>> >>> Hans has already done some preliminary work in this direction. I >>> could not >>> completely test it because the implementations used hooks from e-TeX. >>> Now >>> that eOmega/Aleph is available I will be able to be a bit more >>> proactive in >>> testing/suggesting things. >>> >>> I don't remember if Hans added the xperimental stuff for critical >>> editions >>> to the latest beta. But I'm going to have to start testing this stuff >>> soon, >>> because the next issue of our journal is supposed to have a couple of >>> small >>> Arabic critical editions in it. >> >> >> if i'm right, you have somewhere: >> >> \input page-nnt >> \input core-nnt >> \input core-lnt >> >> (multiple footnote classes, arbitrary footnote placement, line refs in >> footnotes and so) >> >> Hans > > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > > -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------