diff --git a/.emacs b/.emacs index 5f32093..43f1217 100644 --- a/.emacs +++ b/.emacs @@ -114,7 +114,8 @@ ;; Light approach, which requires web access and readable code (but speaker notes and relative paths don't work): ;; (setq file-type "revealjs -V revealjs-url='http://lab.hakim.se/reveal-js' --standalone")) ;; Heavy embedded binary approach (relies on reveal.js/ being in ~/.revealjs/): - (setq file-type "revealjs --embed-resources --standalone -V revealjs-url='/home/ntnsndr/.revealjs/reveal.js' -V theme=ntn -V controls=false --slide-level=2")) + ;; Workaround: For YouTube videos, need to add `data-external="1"` (https://is.gd/UmgYgp) + (setq file-type "revealjs --standalone --embed-resources -V revealjs-url='/home/ntnsndr/.revealjs/reveal.js' -V theme=ntn -V controls=false --slide-level=2")) ;; set up slides pptx routine (when (string-equal file-type "pptx") (setq file-ext "pptx") @@ -127,8 +128,8 @@ "iconv -t utf-8 " tmp-in-file " | " ;; pipe in utf-8 for pandoc "pandoc -s" ;; embed full header in HTML " -f markdown+smart" ;; add curly quotes - ;; remove "--citeproc" for older versions " --citeproc --bibliography $HOME/Zotero/lib.bib" ;; connect to BibTeX export from Zotero + ;; ^ remove "--citeproc" for older versions " -t " file-type " -o " tmp-out-file)) ;; End convert routine