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

Pablo Rodriguez oinos at gmx.es
Sat May 14 19:16:45 CEST 2016

On 05/13/2016 04:25 PM, Jean-Pierre Delange wrote:
> I am currently writing in French some ConTeXt documentation. That's
> why I'm looking for some help about coding footnotes within a 'critical
> apparatus' work, like the sample given here below (which is given by
> Maieul Rouquette through its release of reledmac's LaTeX macro). Let me
> know, please, some documentation resources on this topic.
> My question is as follow : how can ConTeXt produce the same printing
> as the one given by LaTeX ? I am not looking for a very translation in
> ConTeXt of this file given in LaTeX ! A similar sample (where different
> levels of notes are managed as in this LaTeX file) will be perfect.

Hi Jean-Pierre,

here you have a basic sample:

    \setuplayout[header=0cm, footer=0cm]
    \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}}
    \setupbodyfont[palatino, 7.8pt]
    \dorecurse{9}% only to repeat the following paragraph
    {Cum defensionum \CNote{laboribus}{first note} senatoriisque
    muneribus aut omnino aut magna ex parte essem aliquando liberatus,
    rettuli me, Brute, te hortante maxime ad ea studia, quae retenta
    animo, remissa temporibus, longo intervallo intermissa revocavi, et
    cum omnium artium, quae ad rectam vivendi viam pertinerent,
    \ANote{ratio}{second note} et disciplina studio sapientiae, quae
    philosophia dicitur, contineretur, hoc mihi Latinis litteris
    \DNote{inlustrandum}{third note} putavi, non quia
    \BNote{philosophia}{fourth note} Graecis et litteris et doctoribus
    percipi non posset, sed meum semper iudicium fuit omnia nostros aut
    invenisse per se sapientius quam Graecos aut accepta ab illis
    fecisse meliora, quae quidem digna statuissent, in quibus

I hope it helps,


More information about the ntg-context mailing list