Re: [NTG-context] How to create multi-line headers and footers?

2023-01-29 Thread Henning Hraban Ramm via ntg-context

Am 29.01.23 um 18:14 schrieb Joel via ntg-context:

I am creating a template for a 1-page newsletter.

At the top of every page is a huge title, below which is a block with a 
brief introduction to the newsletter. The body is just 200-300 words 
each issue--I edit it such that all of the content fits on just 
one-side, one page. Finally, in the footer, is contact information and 
some other closing details.


==
TITLE <-- big title
 <-- introduction paragraph

==
--
-- <-- body text
--
==
 <-- message in footer
==

I tried placing that all into a macro called "\introduction" then 
calling with this


\setupheadertexts[\introduction]


Better use setups instead of a macros, like in
https://wiki.contextgarden.net/Headers_and_Footers

In setups, you must use explicit space commands, since whitespace 
doesn’t matter.


It seems when placing the macro inside \setupheadertexts, the text is 
reduced to a single line. Any code involving \frames{} doesn't seem to 
work normally. Its all compressed to a single line, then centered.
How can I put a mult-line frame or multi-line text in the headers and 
footers?


MWE please.

Hraban

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


[NTG-context] How to create multi-line headers and footers?

2023-01-29 Thread Joel via ntg-context
I am creating a template for a 1-page newsletter.
At the top of every page is a huge title, below which is a block with a brief 
introduction to the newsletter. The body is just 200-300 words each issue--I 
edit it such that all of the content fits on just one-side, one page. Finally, 
in the footer, is contact information and some other closing details.

==TITLE <-- big title
 <-- introduction paragraph

==
 <-- body text
--== <-- message in footer
==

I tried placing that all into a macro called "\introduction" then calling with 
this 

\setupheadertexts[\introduction]
It seems when placing the macro inside \setupheadertexts, the text is reduced 
to a single line. Any code involving \frames{} doesn't seem to work normally. 
Its all compressed to a single line, then centered.
How can I put a mult-line frame or multi-line text in the headers and footers?
--Joel

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