ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] registers in footnotes as page glossaries
@ 2024-08-29 16:18 Pablo Rodriguez via ntg-context
  2024-08-31 10:24 ` [NTG-context] " M U via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-08-29 16:18 UTC (permalink / raw)
  To: ConTeXt users; +Cc: Pablo Rodriguez

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.pdf#page=16
(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
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [NTG-context] Re: registers in footnotes as page glossaries
  2024-08-29 16:18 [NTG-context] registers in footnotes as page glossaries Pablo Rodriguez via ntg-context
@ 2024-08-31 10:24 ` M U via ntg-context
  2024-08-31 12:07   ` Pablo Rodriguez via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: M U via ntg-context @ 2024-08-31 10:24 UTC (permalink / raw)
  To: ntg-context; +Cc: M U

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [NTG-context] Re: registers in footnotes as page glossaries
  2024-08-31 10:24 ` [NTG-context] " M U via ntg-context
@ 2024-08-31 12:07   ` Pablo Rodriguez via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-08-31 12:07 UTC (permalink / raw)
  To: M U via ntg-context; +Cc: Pablo Rodriguez

On 8/31/24 12:24, M U via ntg-context wrote:
> Pablo Rodriguez wrote:
>> Hans,
>>
>> I wonder whether MkXL may have page registers for footnotes.
>>
> 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

Many thanks for your reply, M U.

As you wrote, this is also a way of manually dealing with the page.

I’m afraid that your proposal works better with verse than with prose,
since this also affects line breaking inside the paragraph.

In any case, I wanted as an alternative to a manual task.

Notes may select the content for the page, but the missing part is to
order these notes as a (page) register.

Many thanks for your help,

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-08-31 12:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-29 16:18 [NTG-context] registers in footnotes as page glossaries Pablo Rodriguez via ntg-context
2024-08-31 10:24 ` [NTG-context] " M U via ntg-context
2024-08-31 12:07   ` Pablo Rodriguez via ntg-context

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).