projects
/
xmldoc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Created Debian package
[xmldoc.git]
/
xml2latex.in
1
#!/bin/sh
2
3
XSLDIR=@prefix@/xslt
4
5
6
stylesheet=$XSLDIR/latex.xsl
7
inputs=
8
9
while [ $# -gt 0 ]
10
do
11
case $1 in
12
-s)
13
stylesheet=$2
14
shift
15
;;
16
17
-*)
18
echo Usage: $0 [-s stylesheet] file...
19
exit 1
20
;;
21
22
*)
23
inputs=`echo $inputs $1`
24
;;
25
26
esac
27
shift
28
done
29
#TMPFILE=`mktemp /tmp/xmldoc.XXXXXX`
30
#xp $XSLDIR/preprocess.xsl $inputs >$TMPFILE
31
xp --latex $stylesheet $inputs