Compare commits

...

3 Commits

Author SHA1 Message Date
e417de40b4 Setup `org-re-reveal' 2023-06-21 10:51:09 +02:00
720fd64539 Fix typo 2023-06-21 10:50:45 +02:00
1f2c389858 Reduce line count by 1 2023-06-21 10:49:02 +02:00

View File

@ -2524,8 +2524,7 @@ else:
Set ~org-html-style-default~ option to add =HTML+CSS+JS= for ~mhtml-mode~:
#+begin_src emacs-lisp -n :eval no-export :exports never :results silent
(setopt org-html-style-default
"<style>
(setopt org-html-style-default "<style>
#content { max-width: 60em; margin: auto; }
.title { text-align: center;
margin-bottom: .2em; }
@ -3064,7 +3063,7 @@ environments and non-floating breakable LaTeX environments by means of
#+caption: Emacs setup to use =engrave-faces-latex= in =org-mode= smartly.
#+name: lst:ox-engraved-emacs-lisp-setup
#+begin_src emacs-lisp -n :exports code :results none :tangle no
(with-eval-after-load 'ox-html
(with-eval-after-load 'ox-latex
(make-variable-buffer-local 'org-export-filter-src-block-functions)
(add-to-list 'org-export-filter-src-block-functions
'org-latex-engraved-source-block-filter)
@ -3072,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