repo.or.cz
/
docutils
/
kirr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Initial checkin of RST to Wiki frontend
[docutils/kirr.git]
/
sandbox
/
grubert
/
pdf1
blob
db5f32d84c308816d4a756e484365347180d9b76
1
#!/bin/sh
2
3
DOCUTILS
=
..
/
..
4
QWRITER
=
$DOCUTILS
/
tools
/
quicktest.py
5
OUT
=
test
.pdf
6
TEXT
=
pdftest_3.txt
7
8
PYTHONPATH
=
`pwd`
:
$DOCUTILS
:
$PYTHONPATH
9
10
if
[
-n
"
$1
"
-a -e
"
$1
"
] ;
then
11
TEXT
=
$1
12
shift
13
fi
14
15
if
[
-n
"
$1
"
] ;
then
16
echo
"-
$1
-"
17
if
[
$1
==
"t"
] ;
then
18
$QWRITER
-p
$TEXT
|
less
19
exit
20
fi
21
fi
22
23
.
/
pdf.py
$TEXT $OUT
24