blob: 59a467fbc93968e20517614b2fb084c6ae16af98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh -e
# converts markdown to latex
for p in pandoc; do
which $p >/dev/null 2>&1 || {
echo >&2 "You need '$p' to use this program!"
exit 1
}
done
iconv -t utf-8 $* | pandoc $PANDOC_OPTS -w latex -s | iconv -f utf-8
|