10 lines
205 B
Plaintext
10 lines
205 B
Plaintext
|
#!/bin/bash
|
||
|
file=$1
|
||
|
extra=""
|
||
|
shift
|
||
|
if [ -e listing-setup.tex ]; then
|
||
|
extra=" --listings -H listing-setup.tex "
|
||
|
fi
|
||
|
|
||
|
pandoc -s -S ${file} --toc -o ${file%.*}.pdf --variable urlcolor=cyan ${extra} $@
|