iterator/doc/rst2latex.sh
2017-09-18 01:09:42 +03:00

8 lines
399 B
Bash
Executable File

#!/bin/sh
# Copyright David Abrahams 2006. Distributed under the Boost
# Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
PYTHONPATH="c:/src/docutils;c:/src/docutils/extras"
export PYTHONPATH
python c:/src/docutils/tools/rst2latex.py --documentoptions pdftex --stylesheet=docutils.sty $1 `echo $1 | sed 's/\(.*\)\..*/\1.tex/'`