From: Marcin Borkowski <mbork@mbork.pl>
To: Thomas Redelberger <redetho@gmx.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to export to the simplest possible HTML?
Date: Sat, 24 Jun 2023 15:16:16 +0200 [thread overview]
Message-ID: <87wmzt6lwf.fsf@mbork.pl> (raw)
In-Reply-To: <039d786b-9269-a5ca-a131-c0a361a20a2d@gmx.de>
On 2023-06-10, at 10:25, Thomas Redelberger <redetho@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
next prev parent reply other threads:[~2023-06-24 13:17 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-10 8:25 How to export to the simplest possible HTML? Thomas Redelberger
2023-06-24 13:16 ` Marcin Borkowski [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-30 3:47 Marcin Borkowski
2023-05-30 6:21 ` Ihor Radchenko
2023-05-30 18:45 ` Marcin Borkowski
2023-06-03 3:36 ` Marcin Borkowski
2023-06-03 5:08 ` Ihor Radchenko
2023-06-03 6:24 ` Marcin Borkowski
2023-06-03 8:37 ` Ihor Radchenko
2023-06-24 13:25 ` Marcin Borkowski
2023-06-24 13:34 ` Ihor Radchenko
2023-06-24 13:48 ` Marcin Borkowski
2023-05-30 15:32 ` Max Nikulin
2023-05-30 18:48 ` Marcin Borkowski
2023-06-08 15:18 ` Thomas Redelberger
2023-06-24 15:04 ` Max Nikulin
2023-06-25 19:56 ` Marcin Borkowski
2023-06-27 11:00 ` Max Nikulin
2023-06-28 9:03 ` Marcin Borkowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wmzt6lwf.fsf@mbork.pl \
--to=mbork@mbork.pl \
--cc=emacs-orgmode@gnu.org \
--cc=redetho@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).