ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* definedocument, begin & closing
@ 2023-07-06  9:29 Henning Hraban Ramm
  0 siblings, 0 replies; only message in thread
From: Henning Hraban Ramm @ 2023-07-06  9:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,
if I use \startdocument, the setups "document:start" and "document:stop" 
get inserted at the beginning and end. But if I define my own document, 
it doesn’t work. What’s wrong?

"""
\definedocument[presentation]

\startsetups[presentation:start]
{\bfd\documentvariable{title}}
\stopsetups

\startsetups[presentation:stop]
Thanks for all the fish.

\stopsetups


\startpresentation[title=Something]

anything

\stoppresentation
"""

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-06  9:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-06  9:29 definedocument, begin & closing Henning Hraban Ramm

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