3 # Convert a template file into something like RST
12 if [ "$#" != "2" ]; then
13 echo "$0 <docbook file> <rst file>"
24 sed --in-place -f $DIR/convert_template.sed $tmp
25 pandoc -s -S -f docbook -t rst -o $rst $tmp
26 sed --in-place -f $DIR/post_convert.sed $rst
28 echo "book writen to $rst"