Switched Pandoc scripts from .bib to .json
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ cp "$FILENAME" "$TMP_IN_FILE"
|
||||
|
||||
# Convert the file using pandoc
|
||||
iconv -t utf-8 "$TMP_IN_FILE" | pandoc -s -f markdown+smart \
|
||||
--citeproc --bibliography "$HOME/Zotero/lib.bib" \
|
||||
--citeproc --bibliography "$HOME/Zotero/lib.json" \
|
||||
--pdf-engine=xelatex \
|
||||
--resource-path="$CURRENT_DIR" \
|
||||
-t "$OUTPUT_FORMAT" $PANDOC_OPTS -o "$TMP_OUT_FILE"
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ fi
|
||||
|
||||
# Command content (see also ~/.emacs)
|
||||
# remove "--citeproc" for older versions
|
||||
cmd="pandoc -s -f markdown+smart --citeproc --bibliography $HOME/Zotero/lib.bib --variable fontsize=11pt -o ./output/$fname"
|
||||
cmd="pandoc -s -f markdown+smart --citeproc --bibliography $HOME/Zotero/lib.json --variable fontsize=11pt -o ./output/$fname"
|
||||
|
||||
# Create output/ directory
|
||||
if [ ! -d 'output' ]; then
|
||||
|
||||
Reference in New Issue
Block a user