You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
509 B
11 lines
509 B
4 years ago
|
#!/bin/bash
|
||
|
|
||
|
#This script is used to compile md file using markdown
|
||
|
if [ "$2" = '' ]; then
|
||
|
out=${1/md/docx}
|
||
|
else
|
||
|
out=$2
|
||
|
fi
|
||
|
pandoc $1 --lua-filter="$HOME"/typesetting/pandoc_lua_filters/scholarly-metadata.lua --lua-filter="$HOME"/typesetting/pandoc_lua_filters/author-info-blocks.lua --lua-filter="$HOME"/typesetting/pandoc_lua_filters/pagebreak.lua --filter=pandoc-crossref --bibliography /home/aselimov/typesetting/references.bib --csl /home/aselimov/typesetting/csl/ieee.csl --citeproc -o $out
|
||
|
|