Hi, Mathew, Ihor Radchenko <[email protected]> writes: > Christian Moe <[email protected]> writes: > >> I suppose the easiest way to go would be to change >> `org-babel-insert-result' to do no wrapping if the cdr is the string >> "nil" or "no". Then, to get captions in both latex and html with the >> Worg by-backend example, we could use the string instead of nil: >> >> #+header: :wrap (by-backend ('latex "figure") (_ "nil")) >> >> I attach a draft patch (...) > Applied, onto main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=480c9b706
Are you able to pull the latest Org from git and check if the conditional TikZ export works for you now with a string value for (_ "nil"), as above? (I have some probably unrelated trouble testing this on my own setup.) If you confirm, I'll update the Worg example. Regards, Christian
