ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jean-Pierre Delange <adeimantos@free.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: LaTeX reledmac: what about ConTeXt ?
Date: Fri, 20 May 2016 13:37:52 +0200 (CEST)	[thread overview]
Message-ID: <1044087846.262337608.1463744272266.JavaMail.root@spooler6-g27.priv.proxad.net> (raw)
In-Reply-To: <2ac5c41b-2b50-df8f-4632-2040099e4a86@gmx.es>

[-- Attachment #1: Type: text/plain, Size: 6056 bytes --]

Hi Pablo and greek-latin readers (and printers),

I've given a look further into the documentation about the modules 'newcolumnset', in order to understand this issue, where ConTeXt put the latin paragraph in the continuity of greek paragraph, when one tries to get 2 paragraphs in 2 face to face columns in 2 different languages (with the goal to print a 'criticus apparatus' in a few different level of footnotes).

Wolfgang Schuster stimulated me about the new documentation ! Then, I have found, in the doc produced by : context --extra=setups --overview i-columns.xml, this intersting information (cf. last line) :
quotation : "This manual introduces column sets, one of the output routines of ConTEXt. Although
column sets are mainly meant for typesetting journals in a semi--automated way, you
can also use them for books. We assume that the user is familiar with ConTEXt and
only discuss the commands that are related to column sets.
This mechanism performs okay but it needs to be used with care: an occasional manual
intervention is needed to get optimal results. After all, we’re operating in the area
where normally click and point desktop publishing is used.
For the moment you need to load the new code with: \usemodule[newcolumnsets]".

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} ?
I want to test this file without the dorecurse command, with a long aristotelian text and its latin translation within more than a recto/verso set (or both pages and an only /odd/even set). But I want to know, before doing such a test, why this configuration with a sample doesn't work.
As attached file see the PDF of the *.tex source below.
Thanks to all !
JP

\setuplanguage[agr][patterns={agr, la}]
    \mainlanguage[agr] % Greek as main language
 \definefallbackfamily [mainface] [serif] [GFS Didot] [preset=range:greek]
    \definefontfamily [mainface] [serif] [TeX Gyre Pagella]
    \setuplayout[header=2cm, footer=2cm]
    \usemodule[newcolumnsets]
    \setupnotes[compress=yes]
    \setupnotations[alternative=serried]
    \definelinenote[aNote]
    \definelinenote[bNote][n=2]
    \definelinenote[cNote][n=3]
    \definelinenote[dNote][paragraph=yes]
    \def\ANote#1#2{#1\aNote{#1] #2}}
    \def\BNote#1#2{#1\bNote{#1] #2}}
    \def\CNote#1#2{#1\cNote{#1] #2}}
    \def\DNote#1#2{#1\dNote{#1] #2}}
    \setupalign[hz, hanging]
    \setuptolerance[strict]
    \setuplinenumbering[step=5, location=inright, distance=1ex,
     align=center, width=0.5em]
    \definemargindata[Stephanus][location=inner, distance=2ex,
     style=\em]
    \setupbodyfont[mainface, 7.8pt]
    \definecolumnset[example][n=2, balance=yes]
    \starttext
    \start\fr % some text in French
    Définir un apparat critique et le mettre en page avec un
    traitement de texte courant est un véritable casse-tête. LaTeX et
    ConTeXt offrent des outils d'automatisation encore assez mal connus
    dans la communauté des éditeurs, notamment dans l'édition
    savante, pour la collation et la comparaison de textes
    médiévaux.\par
    \stop
\startcolumns[example]
    \dorecurse{4}{

    \Stephanus{1a} Ὁμώνυμα λέγεται ὧν ὄνομα
    μόνον κοινόν, ὁ δὲ κατὰ τοὔνομα
    λόγος τῆς οὐσίας ἕτερος, οἷον ζῷον
    ὅ τε ἄνθρωπος καὶ τὸ γεγραμμένον·
    τούτων γὰρ ὄνομα μόνον κοινόν, ὁ δὲ
    κατὰ τοὔνομα λόγος τῆς οὐσίας
    ἕτερος· ἐὰν γὰρ ἀποδιδῷ τις τί
    ἐστιν αὐτῶν ἑκατέρῳ τὸ ζῴῳ
    εἶναι, ἴδιον ἑκατέρου λόγον ἀποδώσει.

    \column

    \startlinenumbering[continue]
    Aequivoca dicuntur quorum \CNote{nomen}{première note} solum
    commune est, secundum nomen vero \ANote{substantiae}{seconde note}
    \ANote{ratio}{seconde note} diversa, ut animal
    \DNote{homo}{troisième note} et quod pingitur. Horum enim solum
    nomen commune est, secundum nomen vero substantiae ratio diversa;
    si enim quis assignet quid est utrique eorum quo sint animalia,
    propriam assignabit utriusque rationem.
    \stoplinenumbering

    \stopcolumns}
    \stoptext


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

On 05/16/2016 06:25 PM, Jean-Pierre Delange wrote:
>>> [...]
>>> \dorecurse only avoids copying the same text again and again.
> 
> I dont know how to manage Hans proposal : I've tried to deal with it
> and the visible effect is to place footnotes in the column on the right.
> Maye I'll have to test with a longer text without the \dorecurse
> command ...

\setupmixedcolumns seems to misplace the notes. At least on my sample.


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
___________________________________________________________________________________

[-- Attachment #2: ConTeXt_FootNote-CriticusApparatus_NewColumnset-v04.pdf --]
[-- Type: application/pdf, Size: 21833 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 bytes --]

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

  reply	other threads:[~2016-05-20 11:37 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-13  8:27 Nolimits not working with Unicode characters Hans Åberg
2016-05-13 10:22 ` Hans Hagen
2016-05-13 11:06   ` Hans Åberg
2016-05-13 11:07   ` Hans Åberg
2016-05-13 11:35     ` Hans Hagen
2016-05-13 11:55       ` Hans Åberg
2016-05-13 12:08         ` Hans Hagen
2016-05-13 13:00           ` Hans Åberg
2016-05-13 14:25             ` LaTeX reledmac : what about ConTeXt ? Jean-Pierre Delange
2016-05-14 17:16               ` LaTeX reledmac: " Pablo Rodriguez
2016-05-15 12:57                 ` Jean-Pierre Delange
2016-05-15 14:35                 ` Jean-Pierre Delange
2016-05-15 15:07                   ` Pablo Rodriguez
2016-05-15 16:46                     ` Jean-Pierre Delange
2016-05-15 18:36                       ` Pablo Rodriguez
2016-05-15 18:44                         ` Hans Hagen
2016-05-15 19:06                           ` Pablo Rodriguez
2016-05-16  7:25                         ` Jean-Pierre Delange
2016-05-16  7:36                           ` luigi scarso
2016-05-16  8:43                             ` Jean-Pierre Delange
2016-05-16  9:44                             ` Jean-Pierre Delange
2016-05-16  9:52                               ` luigi scarso
2016-05-16 10:02                                 ` Pablo Rodriguez
2016-05-16 10:21                                   ` luigi scarso
2016-05-16 11:53                                     ` Pablo Rodriguez
2016-05-16 13:14                                       ` Arthur Reutenauer
2016-05-16 16:06                                         ` Pablo Rodriguez
2016-05-16 16:17                                           ` luigi scarso
2016-05-16 16:24                                           ` Arthur Reutenauer
2016-05-16 16:45                                             ` luigi scarso
2016-05-16 16:50                                               ` Arthur Reutenauer
2016-05-17  6:34                                                 ` luigi scarso
2016-05-16 13:13                                   ` Arthur Reutenauer
2016-05-16 13:58                                     ` Hans Hagen
2016-05-16 15:04                                     ` Jean-Pierre Delange
2016-05-16 15:10                                       ` Arthur Reutenauer
2016-05-16  8:58                         ` Jean-Pierre Delange
2016-05-16  9:42                           ` Pablo Rodriguez
2016-05-16 10:02                             ` Hans Hagen
2016-05-16 11:12                             ` Jean-Pierre Delange
2016-05-16 12:09                               ` Pablo Rodriguez
2016-05-16 15:00                                 ` Jean-Pierre Delange
2016-05-16 16:00                                   ` Pablo Rodriguez
2016-05-16 16:25                                     ` Jean-Pierre Delange
2016-05-16 18:19                                       ` Pablo Rodriguez
2016-05-20 11:37                                         ` Jean-Pierre Delange [this message]
2016-05-20 18:26                                           ` Pablo Rodriguez
2016-05-20 19:51                                             ` Jean-Pierre Delange
2016-05-20 21:02                                               ` Pablo Rodriguez
2016-05-21 10:16                                                 ` Jean-Pierre Delange
2016-05-22  7:20                                                   ` Jean-Pierre Delange
2016-05-22  8:05                                                     ` Jean-Pierre Delange
2016-05-22 13:16                                                     ` Hans Hagen
2016-05-22 13:18                                                   ` Hans Hagen
2016-05-22 13:54                                                 ` Hans Hagen
2016-05-16 15:33                                 ` Jean-Pierre Delange
2016-05-13 15:51             ` Nolimits not working with Unicode characters Aditya Mahajan
2016-05-13 16:32               ` Hans Åberg
2016-05-13 19:46                 ` Hans Hagen
2016-05-13 20:22                   ` Hans Åberg
2016-05-13 20:53                     ` Hans Hagen
2016-05-13 21:35                       ` Hans Åberg
2016-05-13 23:25                         ` Hans Hagen
2016-05-14  8:49                           ` Hans Åberg
2016-05-14 12:56                           ` Hans Åberg
2016-05-14 16:41                             ` Aditya Mahajan
2016-05-14 19:24                               ` Hans Åberg
2016-05-14 21:26                                 ` Aditya Mahajan
2016-05-15  8:10                                   ` Hans Åberg
2016-05-15  8:18                                     ` luigi scarso
2016-05-15 12:33                                   ` Hans Åberg
2016-05-15 17:14                                     ` Hans Hagen
2016-05-15 17:32                                       ` Hans Åberg
2016-05-15 17:32                                       ` Hans Åberg
2016-05-15 17:35                                         ` Wolfgang Schuster
2016-05-15 17:44                                           ` Hans Åberg
2016-05-15 18:00                                             ` Hans Hagen
2016-05-20  9:19                                               ` Hans Åberg
2016-05-20  9:35                                         ` Hans Åberg
2016-05-20  8:52   ` Hans Åberg

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=1044087846.262337608.1463744272266.JavaMail.root@spooler6-g27.priv.proxad.net \
    --to=adeimantos@free.fr \
    --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).