On 2023-06-10, at 10:25, Thomas Redelberger <rede...@gmx.de> wrote:
> Dear Marcin and everybody, > > I had a similar requirement for "simplest HTML" and have documented (incl. > source code) how I tackled this under > http://web222.webclient5.de/doc/swdev/emacs/orgmode/html > > In summary, my solution is > - a few settings in init.el: > + org-html-text-markup-alist similar to below > + setting org-export-allow-bind-keywords to t > - setting quite some org variables in-buffer/in the org file > - elisp to steer a final XSLT transformation of the generated HTML > > > I had coded a derived HTML export back-end (for Emacs 25.1) and used it quite > for some time. > When I moved to Emacs 27.2, the derived back-end did not work any more, hence > I changed to above approach. Thanks. I settled for a custom (very simple) derived exporter and `org-export-as` with `body-only' set to `t' (and I wrap the generated HTML in tags like `<html>' and `<body>' myself then). Best, -- Marcin Borkowski http://mbork.pl