2006-10-17 16:22:29 +02:00
|
|
|
#!/bin/sh -e
|
|
|
|
# runs pandoc to convert latex to markdown
|
|
|
|
[ -n "$(which pandoc)" ] || {
|
|
|
|
echo >&2 "You need 'pandoc' to use this program!"
|
|
|
|
exit 1
|
|
|
|
}
|
2006-11-01 07:33:47 +01:00
|
|
|
iconv -t utf-8 $* | pandoc -r latex -w markdown -s | iconv -f utf-8
|