summaryrefslogtreecommitdiff
path: root/sandbox/html4trans/tools/test-syntax-examples
blob: b5545b1c1f798ef329bb199a20cd7e643e2b3340 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/sh

# (re)create a html rendering of the standalone_rst_html4css1.txt syntax
# example

# The default INPUT path works with a Debian python-docutils installation. 
# Adapt if needed.

INPUT=/usr/src/docutils-svn/docutils/test/functional/input/standalone_rst_html4css1.txt
OUTPUT=../data/standalone_rst_html4trans.html

../rst2html_trans.py $INPUT --traceback > $OUTPUT

# Replace: 

# '../../../docs/user/rst/images/'
# '../../../docutils/docs/user/rst/images/'

python fix_image_links.py $OUTPUT