Changed zotero directory to $HOME/.zotero
This commit is contained in:
@@ -119,7 +119,7 @@
|
|||||||
;; 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 --variable revealjs-url='http://lab.hakim.se/reveal-js' --standalone"))
|
;; (setq file-type "revealjs --variable 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 ~/.pandoc/):
|
||||||
(setq file-type "revealjs --self-contained --variable revealjs-url='/home/ntnsndr/.revealjs/reveal.js' -V theme=ntn -V controls=false --slide-level=2"))
|
(setq file-type "revealjs --self-contained --variable revealjs-url='$HOME/.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.txt")
|
||||||
(setq tmp-out-file (concat "/tmp/pandoc-out." file-ext))
|
(setq tmp-out-file (concat "/tmp/pandoc-out." file-ext))
|
||||||
@@ -128,7 +128,7 @@
|
|||||||
"iconv -t utf-8 " tmp-in-file " | " ;; pipe in utf-8 for pandoc
|
"iconv -t utf-8 " tmp-in-file " | " ;; pipe in utf-8 for pandoc
|
||||||
"pandoc -s" ;; embed full header in HTML
|
"pandoc -s" ;; embed full header in HTML
|
||||||
" -f markdown+smart" ;; add curly quotes
|
" -f markdown+smart" ;; add curly quotes
|
||||||
" --bibliography /home/ntnsndr/Zotero/lib.bib" ;; connect to BibTeX export from Zotero
|
" --bibliography $HOME/.zotero/lib.bib" ;; connect to BibTeX export from Zotero
|
||||||
" -t " file-type
|
" -t " file-type
|
||||||
" -o " tmp-out-file))
|
" -o " tmp-out-file))
|
||||||
;; End convert routine
|
;; End convert routine
|
||||||
|
|||||||
+1
-1
@@ -16,7 +16,7 @@ if [ -z "$fname" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Command content (see also ~/.emacs)
|
# Command content (see also ~/.emacs)
|
||||||
cmd="pandoc -s -f markdown+smart --bibliography $HOME/Zotero/lib.bib --variable fontsize=11pt -o ./output/$fname"
|
cmd="pandoc -s -f markdown+smart --bibliography $HOME/.zotero/lib.bib --variable fontsize=11pt -o ./output/$fname"
|
||||||
|
|
||||||
# Create output/ directory
|
# Create output/ directory
|
||||||
if [ ! -d 'output' ]; then
|
if [ ! -d 'output' ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user