Small fix on .emacs
This commit is contained in:
@@ -116,10 +116,10 @@
|
|||||||
(setq file-ext "html")
|
(setq file-ext "html")
|
||||||
;; Light approach, which requires web access and readable code (but speaker notes and relative paths don't work):
|
;; 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"))
|
;; (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/):
|
;; Heavy embedded binary approach (relies on reveal.js/ being in ~/.revealjs/):
|
||||||
(setq file-type "revealjs --self-contained -V revealjs-url='/home/ntnsndr/.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
|
;; proceed
|
||||||
(setq tmp-in-file "/tmp/pandoc-in.txt")
|
(setq tmp-in-file "/tmp/pandoc-in.tmp")
|
||||||
(setq tmp-out-file (concat "/tmp/pandoc-out." file-ext))
|
(setq tmp-out-file (concat "/tmp/pandoc-out." file-ext))
|
||||||
(write-region nil nil tmp-in-file)
|
(write-region nil nil tmp-in-file)
|
||||||
(shell-command (concat
|
(shell-command (concat
|
||||||
|
|||||||
Reference in New Issue
Block a user