aboutsummaryrefslogtreecommitdiff
path: root/latex2markdown
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-10-17 14:22:29 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-10-17 14:22:29 +0000
commitdf7b68225101966051f8b592a27127bf789eb81e (patch)
treea063e97ed58d0bdb2cbb5a95c3e8c1bcce54aa00 /latex2markdown
parente7dbfef4d8aa528d9245424e9c372e900a774c90 (diff)
downloadpandoc-df7b68225101966051f8b592a27127bf789eb81e.tar.gz
initial import
git-svn-id: https://pandoc.googlecode.com/svn/trunk@2 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'latex2markdown')
-rw-r--r--latex2markdown7
1 files changed, 7 insertions, 0 deletions
diff --git a/latex2markdown b/latex2markdown
new file mode 100644
index 000000000..ce75ac117
--- /dev/null
+++ b/latex2markdown
@@ -0,0 +1,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