#!/bin/sh -f BASE=$(basename $1 .tex) CSL="/home/ucecesf/synced/share/citation.styles/acm-siggraph.csl" if [ -f default.csl ]; then CSL="default.csl" fi echo "Converting " $BASE.tex " to " $BASE.docx " using bib style " $CSL pandoc --bibliography=/home/ucecesf/synced/share/texmf/bibtex/bib/bibliography.bib --csl=${CSL} --filter pandoc-citeproc ${BASE}.tex -o ${BASE}.docx #pandoc --bibliography=/home/ucecesf/share/texmf/bibtex/bib/papers.bib --csl=/home/ucecesf/synced/share/citation.styles/elsevier-with-titles.csl --filter pandoc-citeproc ${BASE}.tex -o ${BASE}.docx