From: mf <massifr@fastwebnet.it>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: verify if you are already postponing notes
Date: Mon, 15 Feb 2021 19:14:49 +0100 [thread overview]
Message-ID: <3a4f731b-1f93-a441-7c49-30cdb299987c@fastwebnet.it> (raw)
Dear list,
I'm typesetting XHTML and there is a couple of cases (tables and math),
where I use \postponenotes ... \flushnotes in both their XML setups.
The problem arises when I have math inside the cell of a table, so I get
those commands nested:
\postponenotes % <table> element
\postponenotes % <span class="math"> element inside a cell
\flushnotes % </span> closing math
\flushnotes % </table> closing table
With CSS selectors or XML machinery I can find those corner cases, but
something like this would be better because more general:
\doifnotpostponingnotes{\postponenotes}
\dofipostponingnotes{\flushnotes}
Is there a way to define those \doif... macros?
Massi
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2021-02-15 18:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-15 18:14 mf [this message]
2021-02-15 18:21 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3a4f731b-1f93-a441-7c49-30cdb299987c@fastwebnet.it \
--to=massifr@fastwebnet.it \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).