3

I don't know what you mean by "assume that current[l]y no latex plugins or settings are applied to the document as they do not affect the output of the PDF" but taking it literally, it is not true: Org mode converts the Org mode file to a TeX file first and then processes the TeX file through some processor (e.g. pdflatex) to produce the PDF file. ...


2

If you don't need any entitites, then you can customize (i.e. include/exclude) the export of entities via the org-export-with-entities variable. To set the variable per buffer, you can include the OPTIONS keyword with the value e:nil at the beginning of your file/buffer. #+OPTIONS: e:nil source: https://orgmode.org/manual/Export-Settings.html (and the ...


2

You can do this with the advice method. It's not the info parameter you need, but src-block. Use the org-export-read-attribute to extract the #ATTR_HTML contents. The following advice checks for the :class and :id keywords in a #attr_html line and constructs a div around the source block accordingly. (defun my-org-html-src-block-advice (oldfun src-block ...


Only top voted, non community-wiki answers of a minimum length are eligible