ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to check if buffer or block has content
@ 2021-08-02 14:19 Benjamin Buchmuller via ntg-context
  2021-08-02 14:43 ` Aditya Mahajan via ntg-context
  0 siblings, 1 reply; 11+ messages in thread
From: Benjamin Buchmuller via ntg-context @ 2021-08-02 14:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Benjamin Buchmuller

Hi,

How can I check if a buffer or block has content (or is empty) before a \useblocks or \getbuffer statement?

I would like to typeset a headline only if the buffer/block has been used in a particular section and want to avoid headlines with empty sections.

Thanks!


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

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

^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <mailman.1176.1627917453.1143.ntg-context@ntg.nl>]

end of thread, other threads:[~2021-08-03 17:51 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-02 14:19 How to check if buffer or block has content Benjamin Buchmuller via ntg-context
2021-08-02 14:43 ` Aditya Mahajan via ntg-context
2021-08-02 15:17   ` Hans Hagen via ntg-context
2021-08-02 16:21     ` Hans van der Meer via ntg-context
2021-08-02 16:28       ` Wolfgang Schuster via ntg-context
2021-08-02 16:31     ` Wolfgang Schuster via ntg-context
2021-08-03  7:35       ` Hans Hagen via ntg-context
     [not found] <mailman.1176.1627917453.1143.ntg-context@ntg.nl>
2021-08-02 18:54 ` Benjamin Buchmuller via ntg-context
2021-08-03 12:26   ` Hans Hagen via ntg-context
2021-08-03 15:02   ` Hans Hagen via ntg-context
2021-08-03 17:51     ` Benjamin Buchmuller 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).