(Press ?
for help, n
and p
for next and previous slide)
Jens Lechtenbörger (License Information)
July 2018
Emacs-reveal is free software to generate reveal.js presentations (slides with audio) from simple text files in Org mode
GitLab.com
, e.g., with the
Web IDE
(requires login))git clone https://gitlab.com/oer/emacs-reveal-howto.git
cd emacs-reveal-howto/
git submodule sync --recursive
git submodule update --init --recursive
emacs --batch --load emacs-reveal/install.el --funcall install
~/.emacs
(load "/path/to/emacs-reveal/reveal-config.el")
Create and publish presentations on GitLab
“ GitLab Logo ” by GitLab under CC BY-NC-SA 4.0; from gitlab.com
Based on underlying continuous integration infrastructure using Docker image
“ Docker logo ” under Docker Brand Guidelines; from Docker
emacs-reveal-howto/
howto.org
.org
(except internal
ones listed in elisp/publish.el
)
emacs --batch --load elisp/publish.el --funcall org-publish-all
public/
firefox public/howto.html
public/
to web server for public accessibility.org
file using the usual Org export functionality: C-c C-e R B
reveal.js
directory, must be accessible in the .org
file’s
directorygit clone
as shown above;
import that as new project on GitLab)git clone <the URL of YOUR GitLab project>
add
, commit
, push
, and morelooks like code
Just some horizontally centered text. Created by assigning a class
with text-align: center
.
Pro
Con
This figure is part of a different presentation
“ Visualization of Clock algorithm for page replacement ” by Jens Lechtenbörger under CC BY-SA 4.0; from GitLab
;; Semicolon starts comment until end of line (Emacs Lisp). ;; Note that the line for dc:title below is just a comment. In that ;; case, "Image" is used as generic title; uncomment for real title. ;; CC0 does not require attribution of author/creator; uncomment if needed. ((filename . "./figures/3d-man/decision-1013751_1920.jpg") ; Note the path prefix ; (dc:title . "The title given by the author") (licenseurl . "https://creativecommons.org/publicdomain/zero/1.0/") (licensetext . "CC0") ; (cc:attributionName . "Jens Lechtenbörger") ; (cc:attributionURL . "https://gitlab.com/lechten") (dc:source . "https://pixabay.com/en/decision-question-response-1013751/") (sourcetext . "Pixabay") (imgalt . "Balance tipping in favor of Yes") (imgadapted . "converted from") ; Adjust as needed (texwidth . 0.5) ; Width in percent of textwidth for LaTeX export )
“ Fairphone 2 ” by Kaihsu Tai under CC BY-SA 4.0; cropped from Wikimedia
Single line in source file, using macro revealgrid
{{{revealgrid(42,"./figures/devices/computer.grid",60,4,3,"\"ga1 ga2 ga2 ga3\" \"ga1 ga4 ga5 ga6\" \"ga7 ga8 ga9 ga9\"")}}}
With computer.grid
as follows
("./figures/devices/white-male-1834091_1920.meta" "./figures/devices/commodore-160186_1280-CC0.meta" "./figures/devices/laptop-154091_1280.meta" "./figures/devices/router-157597_1280.meta" "./figures/devices/car-49278_960_720.meta" "./figures/devices/beauty-1260974_1920.meta" "./figures/devices/vintage-tv-1116587_960_720.meta" "./figures/devices/smartwatch-1874536_1280.meta" "./figures/devices/Fairphone_2_reverse.meta")
(Audios produced with MaryTTS, converted to Ogg format with Audacity)
Except where otherwise noted, this work, “How to create presentations with emacs-reveal”, is © 2017, 2018 by Jens Lechtenbörger, published under the Creative Commons license CC BY-SA 4.0.
In particular, trademark rights are not licensed under this license. Thus, rights concerning third party logos and other (trade-) marks (e.g., “Creative Commons” itself) remain with their respective holders.