ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to setup a headertext in a doublesided document in a cld?
@ 2022-07-16 15:03 Willi Egger via ntg-context
  2022-07-18 20:05 ` Wolfgang Schuster via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Willi Egger via ntg-context @ 2022-07-16 15:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Willi Egger

Hello!

I tried to setup a headertext in a context-lua-document. — No problem for the singlesided version, however hoe to pass the info for a double sided version?
Unfortunately the cld-mkiv manual contains an example for a singlesided document.

It ried

context.setupheadertexts({
 function()
   context("\\bf”)
   context.labeltext(monthname)
   context("\\hfill”)
   context(year)
  end},
  {function()
    context("\\bf”)
    context.labeltext(monthname)
    context("\\hfill”)
    context(year)
 end})

but this is apparently not the good approach.

Does someone of you have experience how to do this correctly?

Kind regards
Willi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2022-07-20 18:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-16 15:03 How to setup a headertext in a doublesided document in a cld? Willi Egger via ntg-context
2022-07-18 20:05 ` Wolfgang Schuster via ntg-context
2022-07-20 18:35   ` Willi Egger 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).