blob: ce75ac117c101f1154de38817769bcb43bb8c3d9 (
plain)
1
2
3
4
5
6
7
|
#!/bin/sh -e
# runs pandoc to convert latex to markdown
[ -n "$(which pandoc)" ] || {
echo >&2 "You need 'pandoc' to use this program!"
exit 1
}
iconv -t utf-8 $* | pandoc -r latex -w markdown -s
|