From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
mf <massifr@fastwebnet.it>
Subject: Re: verify if you are already postponing notes
Date: Mon, 15 Feb 2021 19:21:25 +0100 [thread overview]
Message-ID: <da064966-6a0b-272c-7f0c-db109f873d6b@xs4all.nl> (raw)
In-Reply-To: <3a4f731b-1f93-a441-7c49-30cdb299987c@fastwebnet.it>
On 2/15/2021 7:14 PM, mf wrote:
> 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?
mkiv:
\ifconditional\postponingnotes
\else
\fi
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2021-02-15 18:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-15 18:14 mf
2021-02-15 18:21 ` Hans Hagen [this message]
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=da064966-6a0b-272c-7f0c-db109f873d6b@xs4all.nl \
--to=j.hagen@xs4all.nl \
--cc=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).