corrected error on .emacs file
This commit is contained in:
@@ -117,9 +117,9 @@
|
||||
(when (string-equal file-type "slides")
|
||||
(setq file-ext "html")
|
||||
;; Light approach, which requires web access and readable code (but speaker notes and relative paths don't work):
|
||||
;; (setq file-type "revealjs --variable revealjs-url='http://lab.hakim.se/reveal-js' --standalone"))
|
||||
;; (setq file-type "revealjs -V revealjs-url='http://lab.hakim.se/reveal-js' --standalone"))
|
||||
;; Heavy embedded binary approach (relies on reveal.js/ being in ~/.pandoc/):
|
||||
(setq file-type "revealjs --self-contained --variable revealjs-url='$HOME/.revealjs/reveal.js' -V theme=ntn -V controls=false --slide-level=2"))
|
||||
(setq file-type "revealjs --self-contained -V revealjs-url='/home/ntnsndr/.revealjs/reveal.js' -V theme=ntn -V controls=false --slide-level=2"))
|
||||
;; proceed
|
||||
(setq tmp-in-file "/tmp/pandoc-in.txt")
|
||||
(setq tmp-out-file (concat "/tmp/pandoc-out." file-ext))
|
||||
@@ -134,4 +134,4 @@
|
||||
;; End convert routine
|
||||
(shell-command (concat "xdg-open " tmp-out-file))
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user