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
Add support for `imenu` and `which-func-mode`. Remember setting
[docutils/kirr.git]
/
sandbox
/
docpy-writer
/
runtest
blob
ca0a53fb9ec6e7da4be3d21a95bdad8184a56ed0
1
#!/bin/sh
2
3
IN_DIR
=
input
4
OUT_DIR
=
output
5
EXP_DIR
=
expected
6
7
if
[
-z
"
$1
"
] ;
then
8
FILES
=*
.txt
9
else
10
FILES
=
$1
11
fi
12
13
for
IN_F
in
$IN_DIR
/
$FILES
;
do
14
BASE
=
`basename
$IN_F
`
15
if
[
$BASE
==
"tutorial.txt"
-o
$BASE
==
"reference.txt"
] ;
then
16
continue
17
fi
18
F_BASE
=
${BASE/.txt}
19
python rst2docpy.py
$IN_F $OUT_DIR
/
$F_BASE
.tex
20
diff
-s -u
$EXP_DIR
/
$F_BASE
.tex
$OUT_DIR
/
$F_BASE
.tex
21
done
22
23