Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (15 sloc) 510 Bytes
#!/bin/bash
SRCNAME=$GEDIT_CURRENT_DOCUMENT_PATH
TMPNAME=$(echo $SRCNAME | sed s/.rst.txt//)
DSTNAME=${TMPNAME}.pdf
rst2pdf "${SRCNAME}" -b 0 -o "${DSTNAME}"
#!/bin/bash
SRCNAME=$GEDIT_CURRENT_DOCUMENT_PATH
TMPNAME=$(echo $SRCNAME | sed s/.rst.txt//)
DSTNAME=${TMPNAME}_slides.pdf
rst2pdf "${SRCNAME}" -b3 -s slides.style -o "${DSTNAME}"
#!/bin/bash
SRCNAME=$GEDIT_CURRENT_DOCUMENT_PATH
TMPNAME=$(echo $SRCNAME | sed s/.rst.txt//)
DSTNAME=${TMPNAME}.html
rst2html "${SRCNAME}" "${DSTNAME}"