From 2f020b555106eade6b9d86c4420ec867c0042988 Mon Sep 17 00:00:00 2001 From: Nathan Schneider Date: Wed, 7 Aug 2019 20:12:56 +0000 Subject: [PATCH] Changed zotero directory to $HOME/.zotero --- .emacs | 4 ++-- .scripts/pandout.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.emacs b/.emacs index 228e235..451ef54 100644 --- a/.emacs +++ b/.emacs @@ -119,7 +119,7 @@ ;; 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")) ;; 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 (setq tmp-in-file "/tmp/pandoc-in.txt") (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 "pandoc -s" ;; embed full header in HTML " -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 " -o " tmp-out-file)) ;; End convert routine diff --git a/.scripts/pandout.sh b/.scripts/pandout.sh index 5790f28..6aa80f3 100644 --- a/.scripts/pandout.sh +++ b/.scripts/pandout.sh @@ -16,7 +16,7 @@ if [ -z "$fname" ]; then fi # 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 if [ ! -d 'output' ]; then