Pablo Rodriguez wrote:
> Hans,
> 
> I wonder whether MkXL may have page registers for footnotes.
> 
> This would be great to have page glossaries, such as in
> https://geoffreysteadman.com/wp-content/uploads/2017/08/lysiascrito-24aug17w...
> (first apparatus).
> 
> To be fair, I have asked that a while ago (with MkIV).
> 
> It would be great to have these page glossaries as language aids.
> 
> Right now, they need to be composed manually (using a word processor, no
> TeX).
> 
> Many thanks for your help,
> 
> Pablo

Perhaps a feaseble workaround:
• place a section index after the content of the page

The cons:
• pagebreaking by sectioning manually the content of a page 


\setuppapersize[A5]

\startbuffer[buf:dict:achilles]
  He was a hero.
\stopbuffer

\startbuffer[buf:dict:divine]
  Has something to do with gods and godesses.
\stopbuffer

\startbuffer[buf:dict:xxx]
  The same information used multiple times.
\stopbuffer

\defineprocessor[proc:achilles][right={ \ss \inlinebuffer[buf:dict:achilles]}]
\defineprocessor[proc:divine][right={ \ss \inlinebuffer[buf:dict:divine]}]
\defineprocessor[proc:xxx][right={ \it \inlinebuffer[buf:dict:xxx]}]

\setupsection[section][placehead=hidden,aftersection=\pagebreak]

\definelinenumbering[Poem][step=5,continue=yes]

\defineregister[Dict][pagenumber=no,indicator=no,n=2,criterium=section,before=,textcommand=\bf]


\starttext

\startsection[title=pageA]
\startlines
\startlinenumbering[Poem]

\Dict{proc:achilles->Achilles}Achilles sing, O \Dict{proc:xxx->Goddess}Goddess! 
Peleus’ son;
His wrath pernicious, who ten thousand woes
Caused to \Dict{proc:xxx->Achaia}Achaia’s host, sent many a soul
Illustrious into Ades premature,
And Heroes gave (so stood the will of Jove)
To dogs and to all ravening fowls a prey,
When fierce dispute had separated once
The noble Chief \Dict{proc:achilles->Achilles}Achilles from the son
Of Atreus, \Dict{proc:xxx->Agamemnon}Agamemnon, King of men.

\stoplinenumbering
\stoplines

\hl[20]

\placeregister[Dict]

\stopsection


\startsection[title=pageB]
\startlines
\startlinenumbering[Poem]

Who them to strife impell’d? What power \Dict{proc:divine->divine}divine?
Latona’s son and Jove’s. For he, incensed
Against the \Dict{proc:xxx->King}King, a foul 
\Dict{proc:xxx->contagion}contagion raised
In all the host, and multitudes destroy’d,
For that the son of \Dict{proc:xxx->Atreus}Atreus had his priest
Dishonored, \Dict{proc:xxx->Chryses}Chryses. To the fleet he came
Bearing rich ransom glorious to redeem
His daughter, and his hands charged with the wreath
And golden sceptre of the God shaft-arm’d.

\stoplinenumbering
\stoplines

\hl[20]

\placeregister[Dict]

\stopsection

\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to