> On Jan 9, 2022, at 8:58 AM, Kaushal Modi <kaushal.m...@gmail.com> wrote: > > How do we disable Org from transforming this: > > E = -J \sum_{i=1}^N s_i s_{i+1} > > to this: > > > E = -J ∑<sub>i=1</sub>^N s\_i s<sub>i+1</sub> Ahh! Sorry! So, : (format "{{<%s>}}\n%s{{<//%s>}}\n" type contents type) has the contents already parsed and transcoded which you do not want. So use something like: #+begin_src emacs-lisp (let ((raw-contents (buffer-substring-no-properties (org-element-property :contents-begin special-block) (org-element-property :contents-end special-block)))) (format "{{<%s>}}\n%s{{<//%s>}}\n" type raw-contents type)) #+end_src HTH, Chuck
- Way to mark contents of an Org special block as verbat... Kaushal Modi
- Re: Way to mark contents of an Org special block ... Juan Manuel Macías
- Re: Way to mark contents of an Org special bl... Kaushal Modi
- Re: Way to mark contents of an Org specia... Juan Manuel Macías
- Re: Way to mark contents of an Org sp... Kaushal Modi
- Re: Way to mark contents of an O... Berry, Charles
- Re: Way to mark contents of ... Kaushal Modi
- Re: Way to mark contents... Berry, Charles
- Re: Way to mark contents... Kaushal Modi
- Re: Way to mark contents... Kaushal Modi
- Re: Way to mark contents... Berry, Charles
- Re: Way to mark contents... Nicolas Goaziou
- Re: Way to mark contents... Kaushal Modi