From e417de40b46957d1b839350ae29cb1a3d8a6128e Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Wed, 21 Jun 2023 10:51:09 +0200 Subject: [PATCH] Setup `org-re-reveal' --- README.org | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.org b/README.org index eb7da78..15ad2de 100644 --- a/README.org +++ b/README.org @@ -3071,6 +3071,29 @@ environments and non-floating breakable LaTeX environments by means of (smart-latex-engrave-org-source-blocks))) #+end_src +*** [[https://oer.gitlab.io/org-re-reveal/Readme.html][Org-re-reveal]] +:PROPERTIES: +:CUSTOM_ID: sec:org-re-reveal +:END: + +I have used the [[https://revealjs.com/installation/#full-setup][recommended full setup method]] to install ~reveal.js~ as an +[[https://oer.gitlab.io/org-re-reveal/Readme.html][Org-re-reveal]] requirement. Listing [[lst:use-org-re-reveal]] provides {{{kbd(M-x +use-org-re-reveal)}}} to setup and load ~org-re-reveal~ taking into account the +expanded file name of the ~reveal.js~ directory. + +#+caption[Specify the =reveal.js= location and load =org-re-reveal=]: +#+caption: Specify the =reveal.js= location and load =org-re-reveal=. +#+name: lst:use-org-re-reveal +#+begin_src emacs-lisp -n :results silent +(when (ensure-package-installation 'org-re-reveal) + (defun use-org-re-reveal () + "Load `org-re-reveal' after setting the \"reveal.js\" root." + (interactive) + (setq org-re-reveal-root + (format "file:///%s" (expand-file-name "~/VCS/reveal.js"))) + (require 'org-re-reveal))) +#+end_src + *** [[info:org#Adding Hyperlink Types][Making Org hyperlink types (info)]] :PROPERTIES: :CUSTOM_ID: sec:make-org-hyperlink-types