On 10/03/2023 19:08, Ihor Radchenko wrote:
Do I understand correctly that you propose the following:
If we have
[previous object <n1 spaces>][object to be removed <n2 spaces>]
change it to
[previous object <max(n1,n2) spaces>]
Yes, you do.
I expected some complications due to newline characters (not line break
markup objects), but they are not included in :post-blank and
represented as "\n" string objects.
Actually there is an issue with newline characters and ox-latex.
Stripping footnotes splits single paragraphs into 2 ones:
---- >8 ----
#+options: f:nil
First
[fn::foot]
Second
---- 8< ----
So newlines should be handled somehow. Earlier I faced a similar issue with
@@comment:export snippets@@
and ox-latex.