Hi,I have noticed another case when "latex" in "#+begin_latex" is rendered as subscript in a Worg article. Do you expect massive regressions if subscript without explicit curly braces are suppressed? See the attached patch. Certainly it should be typed as =#+begin_latex=, cases when authors forget verbatim or code markers are not rare.
From 04655e4acce7a76a779f99b566aa258fa0b78c6d Mon Sep 17 00:00:00 2001 From: Max Nikulin <maniku...@gmail.com> Date: Tue, 8 Jul 2025 21:33:17 +0700 Subject: [PATCH] publish.sh: Suppress subscripts without braces
Mitigate subscript heuristics false positive when "#+begin_latex" and similar markup constructs are mentioned without verbatim markers. --- publish.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/publish.sh b/publish.sh index 27ffa11c..716f1480 100755 --- a/publish.sh +++ b/publish.sh @@ -27,6 +27,7 @@ This variable can be set when running publish.sh script: (setq org-confirm-babel-evaluate nil ess-ask-for-ess-directory nil ess-startup-directory nil + org-export-with-sub-superscripts '{} org-html-style-default "" org-html-scripts "" org-html-htmlize-output-type 'css -- 2.39.5