Re: [NTG-context] Critical editions with ConTeXt

2015-07-24 Thread Hans Hagen

On 7/22/2015 11:33 PM, tala...@fastmail.fm wrote:

Dear Pablo,

Thank you very much for what you proposed — it did work indeed. I tried to 
achieve the same at some length this afternoon. I think I understand what is 
going on in the first macro, but wouldn’t have been able to arrive at the  the 
second one for \variant, or the counter (and still don’t fully understand it). 
Thanks again.

Hans, Idris, Thomas, and others interested in critical editions: I wonder 
whether this code — with the user-facing command \variant{#1}{#2} — might be 
something that could become part of an eventual CritTeXt package.


This is rather specific code and one then ends up with options for 
either or not the ] and so which then makes it more complex. Better is 
to collect such things into a module. If there is enough we can always 
see if some mechanisms are needed.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___

Re: [NTG-context] Critical editions with ConTeXt

2015-07-23 Thread Pablo Rodriguez
On 07/22/2015 11:33 PM, tala...@fastmail.fm wrote:
 Dear Pablo,
 
 Thank you very much for what you proposed — it did work indeed. I
 tried to achieve the same at some length this afternoon. I think I
 understand what is going on in the first macro, but wouldn’t have been
 able to arrive at the the second one for \variant, or the counter (and
 still don’t fully understand it). Thanks again.

Dear Talal,

well, both macros come from Hans... I’m afraid I’m not smart enough for
that code ;-).

BTW, I just accidentally discovered a possible fix for the hyphenation
issue (although I’m not sure it is a bug itself).

I will open another thread to discuss that with the experts.


Pablo
-- 
http://www.ousia.tk
___
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
___

Re: [NTG-context] Critical editions with ConTeXt

2015-07-22 Thread Pablo Rodriguez
On 07/22/2015 09:26 PM, Talal wrote:
 [...]
 I would like to be able to automate (through macros) the making of a
 critical apparatus' note. This is for two reasons. First, the body text
 and the lemma in the note below should be identical: as such, they
 ideally not have to be typed twice, as it introduces the possibility of
 error. Furthermore, if one manually writes out \linenote{Lemma ]
 Comment} in the body of the text, you forego the separation of content
 and style, since the separator ] has been hardcoded in.

Hi Talal,

I wonder whether creating a new thread should be the right thing to do.
The original thread is three years old.

Anyway, this may help you (it isn’t my original code):

\unexpanded\def\doVariant#1#2#3%
   {\startlinenote[#1]{#2] #3}#2\stoplinenote[#1]}

\newcounter\countvariants
\unexpanded\def\variant
   {\doglobal\increment\countvariants
\normalexpanded{\doVariant{Varia:\countvariants}}}

\starttext

\startlinenumbering

\dorecurse{20}{\variant{donald e knuth}{herman zapf} }

\stoplinenumbering

\stoptext

BTW, it has a “minor issue”: hyphenation doesn’t work in the body text
It works fine in the notes. I reported this, but I’m afraid it hasn’t
been solved.

Just in case it helps,


Pablo
-- 
http://www.ousia.tk
___
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
___

Re: [NTG-context] Critical editions with ConTeXt

2015-07-22 Thread Talal
Hans Hagen pragma at wxs.nl writes:

   Actually ranges have always been supported ... 
  Maybe I should add those commands.
  Hans 

Picking up on an old thread, again. 

The document below lays out the three basic parts of a critical
apparatus of a critical edition of a text: (1) the body text; (2) the
lemma (which is the part of the body text being commented upon); and
(3) the comment on the lemma.

I would like to be able to automate (through macros) the making of a
critical apparatus' note. This is for two reasons. First, the body text
and the lemma in the note below should be identical: as such, they
ideally not have to be typed twice, as it introduces the possibility of
error. Furthermore, if one manually writes out \linenote{Lemma ]
Comment} in the body of the text, you forego the separation of content
and style, since the separator ] has been hardcoded in.

This is my attempt so far:

- - -

\setuplinenumbering[%   style=\tfxx,referencing=on, step=1,
location=outer, method=page,align=left, distance=1em,
width=0.4em,]

\definelinenote[linenote][% paragraph=yes,  frame=on,framecolor=red,
]% \setupnotation[linenote][%   alternative=serried,width=broad,
distance=.5em,  display=yes,]%

\def\variant#1#2{{#1}\linenote{{#1}] {#2}}}

\def\lemma{This is the LEMMA.} \def\comment{This is my COMMENT on the
lemma.} \def\bodytext{This is the BODY TEXT. It should be identical to
the lemma in the note: their being identical should be automated so as
to minimise errors and reduce the amount of typing.}

%% DOCUMENT

\starttext

\startlinenumbering

% EX1 \section{EX1} \variant{Lemma lemma lemma lemma lemma lemma lemma
lemma lemma lemma lemma lemma lemma} {Comment comment comment.}.\blank

% EX2 \section{EX2} \section{With start and stop} \startlinenote[one]
{\lemma ] \comment} \bodytext \stoplinenote[one]

\stoplinenumbering

\stoptext

- - -

In the above, I have been able to successfully do automate this using
the macro command variant. With this approach, however, the line
number is only that of the last word in the lemma.

To get line numbers that span more than one line, Hans instructed us to
use \startlinenote[x]...\stoplinenote[x]. However, I have not been able
to figure out how to automate the making of the lemma and comment
like was done in EX1 in such a stopstart block. I assume that the
solution lies in using \startsetups…\stopsetups + \definestartstop.
However, despite many attempts, I haven't been able to concoct the
right set of macros within that to get it working.

I'd be grateful for any help that could be offered.

Many thanks, Talal

p.s. Hans: When using \startlinenote…\stoplinenote, the addition of
some unique name (e.g. \startlinenote[one]) is obviously necessary. Is
there any way to automate this as well, as part of some sets of
macros/commands?
___
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
___

Re: [NTG-context] Critical editions with ConTeXt

2015-07-22 Thread tala...@fastmail.fm
Dear Pablo,

Thank you very much for what you proposed — it did work indeed. I tried to 
achieve the same at some length this afternoon. I think I understand what is 
going on in the first macro, but wouldn’t have been able to arrive at the  the 
second one for \variant, or the counter (and still don’t fully understand it). 
Thanks again.

Hans, Idris, Thomas, and others interested in critical editions: I wonder 
whether this code — with the user-facing command \variant{#1}{#2} — might be 
something that could become part of an eventual CritTeXt package.

With many thanks and all best wishes,
Talal

p.s. I had thought it better to add this on to the old thread, since the topic 
was contiguous. Admittedly, I’m not sure what the proper etiquette for such 
matters is.

 On 22 Jul 2015, at 21:19, Pablo Rodriguez oi...@gmx.es wrote:
 
 On 07/22/2015 09:26 PM, Talal wrote:
 [...]
 I would like to be able to automate (through macros) the making of a
 critical apparatus' note. This is for two reasons. First, the body text
 and the lemma in the note below should be identical: as such, they
 ideally not have to be typed twice, as it introduces the possibility of
 error. Furthermore, if one manually writes out \linenote{Lemma ]
 Comment} in the body of the text, you forego the separation of content
 and style, since the separator ] has been hardcoded in.
 
 Hi Talal,
 
 I wonder whether creating a new thread should be the right thing to do.
 The original thread is three years old.
 
 Anyway, this may help you (it isn’t my original code):
 
\unexpanded\def\doVariant#1#2#3%
   {\startlinenote[#1]{#2] #3}#2\stoplinenote[#1]}
 
\newcounter\countvariants
\unexpanded\def\variant
   {\doglobal\increment\countvariants
\normalexpanded{\doVariant{Varia:\countvariants}}}
 
\starttext
 
\startlinenumbering
 
\dorecurse{20}{\variant{donald e knuth}{herman zapf} }
 
\stoplinenumbering
 
\stoptext
 
 BTW, it has a “minor issue”: hyphenation doesn’t work in the body text
 It works fine in the notes. I reported this, but I’m afraid it hasn’t
 been solved.
 
 Just in case it helps,
 
 
 Pablo
 -- 
 http://www.ousia.tk
 ___
 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
 ___

___
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
___

Re: [NTG-context] Critical editions with ConTeXt

2012-07-23 Thread Thomas A. Schmitz

[If this is considered too off-topic for this list, please ignore this
mail. My main point has still something to do with ConTeXt, but I guess
this discussion shouldn't be continued on the list.]

On 07/22/2012 08:07 PM, Pablo Rodríguez wrote:

And to explain that a bit: it's not merely ugly. If all you want
is

the printed book, you don't care about the ugliness and simply
code this way to get the desired output. However, we are in the
21st century. We should be beyond the point where a critical
edition is the printed text, we should think of the typeset
result as just one way of representing the logical structure of
the edition. With a syntax as the one Wolfgang shows above, it is
difficult for most parsers to understand what is meant. Which
means most ways of representing such a structure will fail
because it's not a consistent logical construct. And yes, as
Pablo pointed out, TEI itself hasn't reached a clear conclusion
on such points, and they are specialists who have been working on
these problems for quite a while...

Thomas, many thanks for your reply.

You are the real expert on this topic. I don't really know why there
are so many people from TEI working on textual variants, but my guess
is that this might be also related to the different needs each of
them might face for each kind of texts. Probably the needs to
critically edit an ancient Greek or Latin author might differ with
the ones for an early modern (or even contemporary) English or German
author.

I'm not an expert at all, but I'm trying to put together a research 
project that would help us make some progress here. But your assumption 
is basically correct: there are many different philologies with 
different habits and norms, and TEI has to take that into account.



There is another issue that I would like to discuss. My question is
what changes in a critical edition with no page model. I don't mean
that critical editions need to be printed (it isn't a paper-based
model), but I'm not so sure they can be properly represented without
a page model. So, if I'm not wrong, it isn't only a question of data
representation, but it is related to the logic of the text structure
itself.

Some have characterized the electronic text as infinite, in
opposition to a page-based text that by definition finite. XML is a
good example of a human-readable text, but this human-readability is
relevant because of a prior machine-readability. XML is meaningful
and useful for non-coders as source code to generate a
human-understandable representation of text.

Footnotes can be displayed not using a page model, because reference
is on both the body and the note texts. A hyperlink is the right way
to link each other. So, an infinite text is not a problem. The
footnote doesn't need to be on the same page (as in a printed book),
because there is a way to go to the note and back to the text (as on
the physical book).

But linenotes are different. The reference is on the note, but not
on the body. The same line can have many linenotes. And the same word
or passage can be referenced in more than one apparatus
simultaneously. Linenotes work on a page model, because all relevant
information is given at a glance. Looking at a page, one knows which
words of text passages have relevant information on the
apparatus(es). Using the model of the infinite text, there are some
issues, unless one reconstructs the page model on a screen model (I
mean, that each portion of body text displayed in the screen has also
the apparatus(es) included on that same screen). These issues are:
which words or text passages have additional information, how to
distinguish between references to different apparatuses and how to
access to each of these different apparatuses. Maybe marking the text
with different features might be a way to distinguish them (colors,
underline or a mixture of both). And enabling contextual information
is the way to workaround these issues. But I wonder how this is
really helpful in practice.

Sorry, but I'm afraid I'm a bit skeptical about this. Probably I'm
wrong, but I think it will take some time before having an ePub file
containing the electronic version of a critical edition.


I think you misunderstand. I'm absolutely not interested in epub. I'm
not arguing against printed output per se
(or electronic representations of printed output such as pdf). But it
has severe limitations that we need to transcend. I take as an example
the text that I'm currently re-reading, Ovid's Metamorphoses in the new
edition by R. Tarrant, published in 2004. There are more than 400
complete medieval manuscripts of this text. As things stand now, with a
printed edition, no editor can investigate all of them. No editor can
record in his apparatus the readings of all the manuscripts he has
consulted. No editor can record all the data of the secondary
transmission (quotations, allusions, translations etc.) But Tarrant has
certainly much more information available than he can include in 

Re: [NTG-context] Critical editions with ConTeXt

2012-07-22 Thread Pablo Rodríguez
On 20/07/12 22:41, Hans Hagen wrote:
 On 20-7-2012 20:21, Thomas A. Schmitz wrote:
 [...]
 And to explain that a bit: it's not merely ugly. If all you want is
 the printed book, you don't care about the ugliness and simply code this
 way to get the desired output. However, we are in the 21st century. We
 should be beyond the point where a critical edition is the printed text,
 we should think of the typeset result as just one way of representing
 the logical structure of the edition. With a syntax as the one Wolfgang
 shows above, it is difficult for most parsers to understand what is
 meant. Which means most ways of representing such a structure will fail
 because it's not a consistent logical construct. And yes, as Pablo
 pointed out, TEI itself hasn't reached a clear conclusion on such
 points, and they are specialists who have been working on these problems
 for quite a while...
 
 In xml one could do
 
 note tag=bla range=yessome text/note  . note tag=bla/
 
 i.e. use an empty element to indicate a matching end.

Hans,

thanks for your reply.

TEI would propose something like this for a just invented example (not
100% sure TEI encoding right, but I think it is [a cheat sheet on
critical apparatuses can be found at
http://marjorie.burghart.online.fr/?q=en/content/tei-critical-apparatus-cheatsheet]):

pEntia non sunt multiplicanda
app
  lempraeter necessitatem/lem
  rdg wit=#Hsine necessitate/lem
/app
/p

Which can be typeset with ConTeXt:

\mainlanguage[la]
\definelinenote[linenote]
\starttext
\startlinenumbering
Entia non sunt multiplicanda \startlinenote[one]{praeter necessitatem]
sine necessitate H} praeter necessitatem \stoplinenote[one].
\stoplinenumbering
\stoptext

If I'm not wrong, I'm afraid there might be a bug here, since there is
no space between «multiplicanda» and «praeter» in the body.

I don't know how ConTeXt parses XML directly, but I think unless a
counter (or an unique ID) is entered, problems might arise to
distinguish between different critical annotations. (Sorry if that was
obvious.)

BTW, how about the option to only display the number from line on the
first linenote if many linenotes coming from the same line? I only want
to know whether this feature could be considered for inclusion in
ConTeXt in the future.

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk


___
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
___

Re: [NTG-context] Critical editions with ConTeXt

2012-07-22 Thread Pablo Rodríguez
On 20/07/12 20:21, Thomas A. Schmitz wrote:
 [...]
 And to explain that a bit: it's not merely ugly. If all you want is 
 the printed book, you don't care about the ugliness and simply code this 
 way to get the desired output. However, we are in the 21st century. We 
 should be beyond the point where a critical edition is the printed text, 
 we should think of the typeset result as just one way of representing 
 the logical structure of the edition. With a syntax as the one Wolfgang 
 shows above, it is difficult for most parsers to understand what is 
 meant. Which means most ways of representing such a structure will fail 
 because it's not a consistent logical construct. And yes, as Pablo 
 pointed out, TEI itself hasn't reached a clear conclusion on such 
 points, and they are specialists who have been working on these problems 
 for quite a while...

Thomas, many thanks for your reply.

You are the real expert on this topic. I don't really know why there are
so many people from TEI working on textual variants, but my guess is
that this might be also related to the different needs each of them
might face for each kind of texts. Probably the needs to critically edit
an ancient Greek or Latin author might differ with the ones for an early
modern (or even contemporary) English or German author.

There is another issue that I would like to discuss. My question is what
changes in a critical edition with no page model. I don't mean that
critical editions need to be printed (it isn't a paper-based model), but
I'm not so sure they can be properly represented without a page model.
So, if I'm not wrong, it isn't only a question of data representation,
but it is related to the logic of the text structure itself.

Some have characterized the electronic text as infinite, in opposition
to a page-based text that by definition finite. XML is a good example of
a human-readable text, but this human-readability is relevant because of
a prior machine-readability. XML is meaningful and useful for non-coders
as source code to generate a human-understandable representation of text.

Footnotes can be displayed not using a page model, because reference is
on both the body and the note texts. A hyperlink is the right way to
link each other. So, an infinite text is not a problem. The footnote
doesn't need to be on the same page (as in a printed book), because
there is a way to go to the note and back to the text (as on the
physical book).

But linenotes are different. The reference is on the note, but not on
the body. The same line can have many linenotes. And the same word or
passage can be referenced in more than one apparatus simultaneously.
Linenotes work on a page model, because all relevant information is
given at a glance. Looking at a page, one knows which words of text
passages have relevant information on the apparatus(es). Using the model
of the infinite text, there are some issues, unless one reconstructs the
page model on a screen model (I mean, that each portion of body text
displayed in the screen has also the apparatus(es) included on that same
screen). These issues are: which words or text passages have additional
information, how to distinguish between references to different
apparatuses and how to access to each of these different apparatuses.
Maybe marking the text with different features might be a way to
distinguish them (colors, underline or a mixture of both). And enabling
contextual information is the way to workaround these issues. But I
wonder how this is really helpful in practice.

Sorry, but I'm afraid I'm a bit skeptical about this. Probably I'm
wrong, but I think it will take some time before having an ePub file
containing the electronic version of a critical edition.

Just in case it might help,


Pablo
-- 
http://www.ousia.tk


___
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
___


Re: [NTG-context] Critical editions with ConTeXt

2012-07-20 Thread Thomas A. Schmitz

Just a few comments on this helpful mail:

On 07/19/2012 12:57 PM, MANUEL GONZALEZ SUAREZ wrote:

I'm not a classical philologist, but the way ConTeXt works is much
clearer than ledmac to me (although I have only tested ledmac for a
couple of days).

I haven't looked at ledmac too closely, and of course I'm a huge fan of 
ConTeXt; nevertheless, we shouldn't promise too much: for the time 
being, ledmac provides a pretty good working environment which you can 
just use; ConTeXt offers a much better overall syntax and programming 
interface, but right now, it's more of a DIY experience when it comes to 
critical editions. There is no ready drop-in replacement for ledmac



But there are two features from ledmac that aren't available in ConTeXt
(or at least I don't know how to achieve them):

-ConTeXt numbers all linenotes that come from the same line and there
seems to be no way to limit number in the apparatus to only the first
linenote from that line.


This is something that can be fixed, I assume. The best you could do: 
make a small example file, explain what output you expect and what you 
get, and ask Hans nicely if he can implement this. Chances are he'll 
reply on a rainy Sunday afternoon, maybe, and you'll have to give him 
a couple of weeks and gently remind him. He (or the Wolfgang) will be 
willing and helpful, but of course time is a finite resource. So: the 
better and clearer and shorter your example, the more polite your 
request, the better your chances to see this implemented.



-From the way linenotes are implemented, linenotes mark a point in the
body text, but not a text passage, so it seems to be impossible to refer
to a passage that is typeset in different lines (such as 2-3).


This may be a bit more difficult, because it involves thinking about 
proper input syntax. How do you want to mark this passage? If you can 
come up with clean and unequivocal syntax and demonstrate it in an 
example, your chances aren't too bad. However, I mean really clean 
syntax, not just a kludge to give you the output you want. Ideally, have 
a look at the TEI syntax. IMO, this is the best way to go; I don't think 
TeX is a good input format for critical editions. If you can come up 
with a good mapping TEI -- ConTeXt -- output, that would facilitate 
things.


Just my personal opinions; I'm not a spokesperson for ConTeXt in any way!

All best

Thomas
___
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
___


Re: [NTG-context] Critical editions with ConTeXt

2012-07-20 Thread Hans Hagen

On 20-7-2012 17:41, Thomas A. Schmitz wrote:


This may be a bit more difficult, because it involves thinking about
proper input syntax. How do you want to mark this passage? If you can
come up with clean and unequivocal syntax and demonstrate it in an
example, your chances aren't too bad. However, I mean really clean
syntax, not just a kludge to give you the output you want. Ideally, have
a look at the TEI syntax. IMO, this is the best way to go; I don't think
TeX is a good input format for critical editions. If you can come up
with a good mapping TEI -- ConTeXt -- output, that would facilitate
things.


Actually ranges have always been supported (as we needed in the previous 
century already for referring to passages in texts where students had to 
comment on):


\definelinenote[linenote] % was commented but will be predefined

\starttext

\setuplinenumbering[distance=2em]
\setuplinenote [linenote] 
[distance=2em,rule=off,frame=on,framecolor=darkred]


\startlinenumbering
test test test \dorecurse{40}{test }.
\linenote {A simple linenote does not have a number range}
\startlinenote [one] {A linenote environment has a range that covers the
first line of an environment up to the last.}
\dorecurse{40}{test }.
\stoplinenote [one]
\linenote {A simple linenote does not have a number range}
\dorecurse{30}{test }\removeunwantedspaces.
\stoplinenumbering

\stoptext

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


\let\fromlinenote\startlinenote
\let\tolinenote  \stoplinenote

\startlinenumbering
test test test \dorecurse{40}{test }.
\linenote {A simple linenote does not have a number range}
\fromlinenote [two] {A linenote environment has a range that covers the
first line of an environment up to the last.}
\dorecurse{40}{test }.
\fromlinenote [three]{However, nesting can be mixed.}\dorecurse{40}{test }.
\tolinenote [two]
\dorecurse{40}{test }.
\tolinenote [three]
\linenote {A simple linenote does not have a number range}
\dorecurse{30}{test }\removeunwantedspaces.
\stoplinenumbering

\stoptext

Maybe I should add those commands.

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Critical editions with ConTeXt

2012-07-20 Thread Thomas A. Schmitz

On 07/20/2012 06:45 PM, Hans Hagen wrote:

Actually ranges have always been supported (as we needed in the previous
century already for referring to passages in texts where students had to
comment on):


Yes, that's something I forgot in my mail: ask on the list, and chances 
are that it has already been implemented :-)



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


Yes, the syntax seems a bit illogical. But there may be no really clean 
way - maybe we can call them anchors or something?


All best

Thomas
___
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
___


Re: [NTG-context] Critical editions with ConTeXt

2012-07-20 Thread Sietse Brouwer
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
___


Re: [NTG-context] Critical editions with ConTeXt

2012-07-20 Thread Wolfgang Schuster

Am 20.07.2012 um 19:33 schrieb Sietse Brouwer:

 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.

Hans speaks about something like this

\startone
…
\starttwo
…
\stopone
…
\stopone

where environment ranges overlap.

Wolfgang
___
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
___


Re: [NTG-context] Critical editions with ConTeXt

2012-07-20 Thread Pablo Rodríguez
On 20/07/12 17:41, Thomas A. Schmitz wrote:
 Just a few comments on this helpful mail:

Thank you very much for your reply, Thomas.

 On 07/19/2012 12:57 PM, MANUEL GONZALEZ SUAREZ wrote:
 I'm not a classical philologist, but the way ConTeXt works is much
 clearer than ledmac to me (although I have only tested ledmac for a
 couple of days).

 I haven't looked at ledmac too closely, and of course I'm a huge fan of 
 ConTeXt; nevertheless, we shouldn't promise too much: for the time 
 being, ledmac provides a pretty good working environment which you can 
 just use; ConTeXt offers a much better overall syntax and programming 
 interface, but right now, it's more of a DIY experience when it comes to 
 critical editions. There is no ready drop-in replacement for ledmac

I must admit that I didn't get ledmac to do some of the documented
tricks. I haven't tried much, but some code didn't work.

 But there are two features from ledmac that aren't available in ConTeXt
 (or at least I don't know how to achieve them):

 -ConTeXt numbers all linenotes that come from the same line and there
 seems to be no way to limit number in the apparatus to only the first
 linenote from that line.
 
 This is something that can be fixed, I assume. The best you could do: 
 make a small example file, explain what output you expect and what you 
 get, and ask Hans nicely if he can implement this. Chances are he'll 
 reply on a rainy Sunday afternoon, maybe, and you'll have to give him 
 a couple of weeks and gently remind him. He (or the Wolfgang) will be 
 willing and helpful, but of course time is a finite resource. So: the 
 better and clearer and shorter your example, the more polite your 
 request, the better your chances to see this implemented.

My minimal example is this:

\definelinenote[lnote]
\setuplinenote[lnote][rule=off,paragraph=yes,numbercommand=,inbetween=\qquad]
\setupdescriptions[lnote][display=yes,location=serried,distance=1em]
\starttext
\startlinenumbering
This\lnote{That} is\lnote{was} imposible\lnote{possible}.
\stoplinenumbering
\stoptext

which gives as result something like:

1 This  1 was  1 impossible

And the output I would like to have is:

1 This  was  impossible

I mean, what it would be extremely useful to have is an option to avoid
that the line number and the space after (distance from
\setupdescriptions) could be disabled after the first linenote from that
same line.

 -From the way linenotes are implemented, linenotes mark a point in the
 body text, but not a text passage, so it seems to be impossible to refer
 to a passage that is typeset in different lines (such as 2-3).
 
 This may be a bit more difficult, because it involves thinking about 
 proper input syntax. How do you want to mark this passage? If you can 
 come up with clean and unequivocal syntax and demonstrate it in an 
 example, your chances aren't too bad. However, I mean really clean 
 syntax, not just a kludge to give you the output you want. Ideally, have 
 a look at the TEI syntax. IMO, this is the best way to go; I don't think 
 TeX is a good input format for critical editions. If you can come up 
 with a good mapping TEI -- ConTeXt -- output, that would facilitate 
 things.

A clear syntax might be not so easy not being a philologist at all
(classical or not). As far as I understand, ledmac syntax should be left
aside. There was a syntax proposal from Idris Hamid for this at section
4.2 http://meeting.contextgarden.net/2007/share/idris/cr-apparatus.pdf.
Isn't this syntax right?

But after just consulting the TEI Guidelines on critical apparatus, I
must admit that I would need more experience typesetting critical
editions to provide a meaningful example. Consider that even TEI has a
working group on critical apparatus to improve the TEI syntax and
possibilities.

 Just my personal opinions; I'm not a spokesperson for ConTeXt in any way!

I know these are your personal opinions.

Sorry for not being able to provide a second example and many thanks for
your help,


Pablo
-- 
http://www.ousia.tk


___
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
___


Re: [NTG-context] Critical editions with ConTeXt

2012-07-20 Thread Thomas A. Schmitz

On 07/20/2012 08:01 PM, Wolfgang Schuster wrote:

Hans speaks about something like this

\startone
…
\starttwo
…
\stopone
…
\stopone

where environment ranges overlap.


And to explain that a bit: it's not merely ugly. If all you want is 
the printed book, you don't care about the ugliness and simply code this 
way to get the desired output. However, we are in the 21st century. We 
should be beyond the point where a critical edition is the printed text, 
we should think of the typeset result as just one way of representing 
the logical structure of the edition. With a syntax as the one Wolfgang 
shows above, it is difficult for most parsers to understand what is 
meant. Which means most ways of representing such a structure will fail 
because it's not a consistent logical construct. And yes, as Pablo 
pointed out, TEI itself hasn't reached a clear conclusion on such 
points, and they are specialists who have been working on these problems 
for quite a while...


Thomas

___
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
___

Re: [NTG-context] Critical editions with ConTeXt

2012-07-20 Thread Hans Hagen

On 20-7-2012 20:21, Thomas A. Schmitz wrote:

On 07/20/2012 08:01 PM, Wolfgang Schuster wrote:

Hans speaks about something like this

\startone
…
\starttwo
…
\stopone
…
\stopone

where environment ranges overlap.


And to explain that a bit: it's not merely ugly. If all you want is
the printed book, you don't care about the ugliness and simply code this
way to get the desired output. However, we are in the 21st century. We
should be beyond the point where a critical edition is the printed text,
we should think of the typeset result as just one way of representing
the logical structure of the edition. With a syntax as the one Wolfgang
shows above, it is difficult for most parsers to understand what is
meant. Which means most ways of representing such a structure will fail
because it's not a consistent logical construct. And yes, as Pablo
pointed out, TEI itself hasn't reached a clear conclusion on such
points, and they are specialists who have been working on these problems
for quite a while...


In xml one could do

note tag=bla range=yessome text/note  . note tag=bla/

i.e. use an empty element to indicate a matching end.

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___

Re: [NTG-context] Critical editions with ConTeXt

2012-07-19 Thread MANUEL GONZALEZ SUAREZ
Hi Pablo..Thanks for your quick response. The truth is that I am very, very newbie working with ConTeXt (in fact I know only a few months) but I think the possibilities are extraordinary for all kinds of documents.The issue of critical issues is fairly well resolved in LaTeX with ledmac, but I think ConTeXt can have better choices (or at least easier).Thanks again. I'll try to CervanTeX.El 18/07/12, Pablo Rodríguez oi...@web.de escribió:On 18/07/12 12:09, Thomas A. Schmitz wrote: On 7/18/12 10:10 AM, MANUEL GONZALEZ SUAREZ wrote: Hey. First, thanks to Andreas for his solution to the bibliographies. Second, a question: is there a module to produce critical editions with ConTeXt? In critical editions usually have several groups of footnotes and reference is usually made by line number. With LaTeX can be done using ledmac, but perhaps would have to customize the footnotes with ConTeXt. Thank you.  No, there isn't a single module to do this. Most of the functionality is  there (search for linenotes in the mailing list and look at the TEI  xml example on the wiki), but you will still have to write your own  style/module.Hi Manuel,As Thomas replied, linenotes is your friend. TEI XML(http://wiki.contextgarden.net/TEI_xml) shows the features of criticaledition typesetting, but you have to learn XML, TEI, ConTeXt and howConTeXt deals directly with XML files . This is a much better way towork with documents, but you'll need to learn much more.I provide here a minimal example on how ConTeXt works with linenotes:\definelinenote[lnote]\setuplinenote[lnote][rule=off,paragraph=yes,numbercommand=,inbetween=\qquad]\setupdescriptions[lnote][display=yes,location=serried,distance=1em]\starttext\startlinenumberingEn un lugar\lnote{lugar: place} de la Mancha, de cuyonombre\lnote{nombre: name} no quiero\lnote{querer: want}acordarme\lnote{acordarse: remember}.\stoplinenumbering\stoptextI'm not a classical philologist, but the way ConTeXt works is muchclearer than ledmac to me (although I have only tested ledmac for acouple of days).But there are two features from ledmac that aren't available in ConTeXt(or at least I don't know how to achieve them):-ConTeXt numbers all linenotes that come from the same line and thereseems to be no way to limit number in the apparatus to only the firstlinenote from that line.-From the way linenotes are implemented, linenotes mark a point in thebody text, but not a text passage, so it seems to be impossible to referto a passage that is typeset in different lines (such as 2-3).Apart from these two issues and since the other issues involved inlinenotes are known to the ones in this mailing list, it might be easierthat you start a thread at the Spanish TeX mailing list (I'm alsosubscribed to that list). I'm only suggesting this, since it might beeasier for you, the topic is known to the members from this list and itmay be interesting for the members from ES-TEX (I apologize if I'm wrong).I hope this might help,Pablo-- http://www.ousia.tk___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-contextwebpage  : http://www.pragma-ade.nl / http://tex.aanhet.netarchive  : http://foundry.supelec.fr/projects/contextrev/wiki : http://contextgarden.net___-- Manuel González Suárez
___
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
___

[NTG-context] Critical editions with ConTeXt

2012-07-18 Thread MANUEL GONZALEZ SUAREZ
Hey. First, thanks to Andreas for his solution to the bibliographies. Second, a question: is there a module to produce critical editions with ConTeXt? In critical editions usually have several groups of footnotes and reference is usually made by line number. With LaTeX can be done using ledmac, but perhaps would have to customize the footnotes with ConTeXt. Thank you. critical editions-- Manuel González Suárez
___
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
___

Re: [NTG-context] Critical editions with ConTeXt

2012-07-18 Thread Thomas A. Schmitz

On 7/18/12 10:10 AM, MANUEL GONZALEZ SUAREZ wrote:

Hey.
First, thanks to Andreas for his solution to the bibliographies.
Second, a question: is there a module to produce critical editions with
ConTeXt? In critical editions usually have several groups of footnotes
and reference is usually made by line number. With LaTeX can be done
using ledmac, but perhaps would have to customize the footnotes with
ConTeXt.
Thank you.

critical editions


No, there isn't a single module to do this. Most of the functionality is 
there (search for linenotes in the mailing list and look at the TEI 
xml example on the wiki), but you will still have to write your own 
style/module.


Best wishes

Thomas
___
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
___


Re: [NTG-context] Critical editions with ConTeXt

2012-07-18 Thread Pablo Rodríguez
On 18/07/12 12:09, Thomas A. Schmitz wrote:
 On 7/18/12 10:10 AM, MANUEL GONZALEZ SUAREZ wrote:
 Hey.
 First, thanks to Andreas for his solution to the bibliographies.
 Second, a question: is there a module to produce critical editions with
 ConTeXt? In critical editions usually have several groups of footnotes
 and reference is usually made by line number. With LaTeX can be done
 using ledmac, but perhaps would have to customize the footnotes with
 ConTeXt.
 Thank you.
 
 No, there isn't a single module to do this. Most of the functionality is 
 there (search for linenotes in the mailing list and look at the TEI 
 xml example on the wiki), but you will still have to write your own 
 style/module.

Hi Manuel,

As Thomas replied, linenotes is your friend. TEI XML
(http://wiki.contextgarden.net/TEI_xml) shows the features of critical
edition typesetting, but you have to learn XML, TEI, ConTeXt and how
ConTeXt deals directly with XML files . This is a much better way to
work with documents, but you'll need to learn much more.

I provide here a minimal example on how ConTeXt works with linenotes:

\definelinenote[lnote]
\setuplinenote[lnote][rule=off,paragraph=yes,numbercommand=,inbetween=\qquad]
\setupdescriptions[lnote][display=yes,location=serried,distance=1em]
\starttext
\startlinenumbering
En un lugar\lnote{lugar: place} de la Mancha, de cuyo
nombre\lnote{nombre: name} no quiero\lnote{querer: want}
acordarme\lnote{acordarse: remember}.
\stoplinenumbering
\stoptext

I'm not a classical philologist, but the way ConTeXt works is much
clearer than ledmac to me (although I have only tested ledmac for a
couple of days).

But there are two features from ledmac that aren't available in ConTeXt
(or at least I don't know how to achieve them):

-ConTeXt numbers all linenotes that come from the same line and there
seems to be no way to limit number in the apparatus to only the first
linenote from that line.

-From the way linenotes are implemented, linenotes mark a point in the
body text, but not a text passage, so it seems to be impossible to refer
to a passage that is typeset in different lines (such as 2-3).

Apart from these two issues and since the other issues involved in
linenotes are known to the ones in this mailing list, it might be easier
that you start a thread at the Spanish TeX mailing list (I'm also
subscribed to that list). I'm only suggesting this, since it might be
easier for you, the topic is known to the members from this list and it
may be interesting for the members from ES-TEX (I apologize if I'm wrong).

I hope this might help,


Pablo
-- 
http://www.ousia.tk
___
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
___


Re: [NTG-context] critical editions in context / arabtex

2005-03-16 Thread Hans Hagen
Thomas A.Schmitz wrote:
Thanks Hans, but it's primarily edmac that I'm interested in, not 
arabtex. Could the edmac macros just be part of a Context module?
not so much edmac, but similar functionality; as idris suggests: just provide a 
request for functionality + examples; think about what you want in context (or 
your docs) and not so much of what edmac does. (thinsg like configurable 
footnotes are already there)

Hans
-
  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
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] critical editions in context

2005-03-16 Thread h h extern
 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
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] critical editions in context / arabtex

2005-03-15 Thread Idris Samawi Hamid
On Tue, 15 Mar 2005 09:30:38 +0100, Thomas A.Schmitz 
[EMAIL PROTECTED] wrote:

Thanks Hans, but it's primarily edmac that I'm interested in, not 
arabtex. Could the edmac macros just be part of a Context module?
I actually considered that. During my own pre-ConTeXt work I dived deep 
into the EDMAC code and made changes so that I could do real 100% 
right-to-left critical editions. EDMAC has its own OTR, however, which 
makes it difficult to merely plug it in to ConTeXt or even LaTeX (though 
there has been a recent port to LaTeX).

As soon as I finish my present book project this month (I'm really 
behind-) I'll be working on the critical edition business as well (I have 
to finish a critical edition for Springer Verlag (formerly Kluwer) this 
spring); maybe we can share notes and bother Hans together;-)

Idris
--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] critical editions in context / arabtex

2005-03-15 Thread Hans Hagen
Idris Samawi Hamid wrote:
On Tue, 15 Mar 2005 09:30:38 +0100, Thomas A.Schmitz 
[EMAIL PROTECTED] wrote:

Thanks Hans, but it's primarily edmac that I'm interested in, not 
arabtex. Could the edmac macros just be part of a Context module?

I actually considered that. During my own pre-ConTeXt work I dived deep 
into the EDMAC code and made changes so that I could do real 100% 
right-to-left critical editions. EDMAC has its own OTR, however, which 
makes it difficult to merely plug it in to ConTeXt or even LaTeX (though 
there has been a recent port to LaTeX).

As soon as I finish my present book project this month (I'm really 
behind-) I'll be working on the critical edition business as well (I 
have to finish a critical edition for Springer Verlag (formerly Kluwer) 
this spring); maybe we can share notes and bother Hans together;-)
sounds ok to me; also keep in mind that much of what you want is already 
there!
Hans
-
  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
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] critical editions in context / arabtex

2005-03-13 Thread h h extern
Thomas A.Schmitz wrote:
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
i talked with Klaus Lagally at eurotex and he will make arabtex a bit more 
context friendly: a few more hooks, context aware loading, etc

he will also look into the recent problems (may hav eto do with loading heberw 
(no longer needed, part of arabtex kernel)

Hans
-
  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
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] critical editions in context

2005-03-12 Thread Thomas A . Schmitz
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
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.

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


Re: [NTG-context] critical editions in context

2005-03-12 Thread Thomas A . Schmitz
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.

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


[NTG-context] critical editions in context

2003-09-23 Thread Thomas A . Schmitz
Sorry if this is a double post; I sent this message on Friday, and I 
think it somehow got lost.

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.
Best
Thomas

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] critical editions in context

2003-09-23 Thread Idris S Hamid
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.

Best
Idris

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context