[NTG-context] LaTeX reledmac: what about ConTeXt ?

Jean-Pierre Delange adeimantos at free.fr
Fri May 20 21:51:19 CEST 2016


Hi Pablo,

Thanks to have correct my mistake. It works !
If you take this sample and place the number 8 in \dorecurse{4} in place of 4, you'll see something which is better than our first attempts. Now, it's only the last paragraph of the first page, which is messed up. After a somehow puzzled or erratic Wille zu Macht in the location of this last paragraph, ConTeXt locates very fine the last ones and does what it has to do ! But it's better to say that my code is weak ...
JP

----- Mail original -----
De: "Pablo Rodriguez" <oinos at gmx.es>
À: "mailing list for ConTeXt users" <ntg-context at ntg.nl>
Envoyé: Vendredi 20 Mai 2016 20:26:32
Objet: Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

On 05/20/2016 01:37 PM, Jean-Pierre Delange wrote:
> [...]
> > Allright ! Then, I have listening this advice and there is the new
> code (on the basis of Pablo's work); I've only added declarations lines
> as \usemodule[newcolumnsets], and \definecolumnset[example][n=2,
> balance=yes]. The result is almost satisfying, because 'criticus
> apparatus' is well printed in footnotes, the numbering lines okay and
> the first 2 texts (greek and latin paragraphs) quite well printed in two
> face to face columns. BUT, I don't understand why after a good print,
> all is messed up. Is it because the closing bracket after \dorecurse{4}{
> is only here : \stopcolumns} ?

Hi Jean-Pierre,

see the explanation below.

> \startcolumns[example]
>     \dorecurse{4}{
> 
>     \Stephanus{1a} Ὁμώνυμα λέγεται ὧν ὄνομα
>     μόνον κοινόν, ὁ δὲ κατὰ τοὔνομα
>     [...]
>     \stopcolumns}

You start the columns outside the loop and after you stop the columns
for the first time, they aren’t started again with each loop.

Your code should read:

> \dorecurse{4}{
>     \startcolumns[example]
> 
>     \Stephanus{1a} Ὁμώνυμα λέγεται ὧν ὄνομα
>     μόνον κοινόν, ὁ δὲ κατὰ τοὔνομα
>     [...]
>     \stopcolumns}

I hope 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 at 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
___________________________________________________________________________________


More information about the ntg-context mailing list