From df7b68225101966051f8b592a27127bf789eb81e Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Tue, 17 Oct 2006 14:22:29 +0000 Subject: initial import git-svn-id: https://pandoc.googlecode.com/svn/trunk@2 788f1e2b-df1e-0410-8736-df70ead52e1b --- latex2markdown | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 latex2markdown (limited to 'latex2markdown') 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 -- cgit v1.2.3