aboutsummaryrefslogtreecommitdiff
path: root/src/scripts/document.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/document.in')
-rwxr-xr-xsrc/scripts/document.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/scripts/document.in b/src/scripts/document.in
index 93425720..bafdd1e2 100755
--- a/src/scripts/document.in
+++ b/src/scripts/document.in
@@ -237,9 +237,9 @@ if test x$do_tangle = xyes; then
# Alternatively, we could initialize chunk to '*' and
# unconditionally use -R"$chunk".
if [ -z "$chunk" ]; then
- notangle $file > $output
+ $TANGLE $file > $output
else
- notangle -R"$chunk" $file > $output
+ $TANGLE -R"$chunk" $file > $output
fi
# FIXME: Handle errors.
exit $?;
@@ -248,7 +248,7 @@ fi
if test x$do_weave = xyes; then
file=`basename $1 .pamphlet`
- noweave -delay $1 > $file.tex
+ $WEAVE -delay $1 > $file.tex
if test x$do_latex != xyes; then
exit 0;
fi
@@ -304,8 +304,8 @@ esac
if [ "$#" = "3" ]; then
REDIRECT=$2
FILE=`basename $3 .pamphlet`
- notangle -t8 $FILE.pamphlet >$FILE
- noweave -delay $FILE.pamphlet >$FILE.tex
+ $TANGLE -t8 $FILE.pamphlet >$FILE
+ $WEAVE -delay $FILE.pamphlet >$FILE.tex
latex --interaction nonstopmode $FILE.tex >$REDIRECT
latex --interaction nonstopmode $FILE.tex >$REDIRECT
rm -f $FILE~
@@ -318,8 +318,8 @@ if [ "$#" = "3" ]; then
fi
if [ "$#" = "1" ]; then
FILE=`basename $1 .pamphlet`
- notangle -t8 $FILE.pamphlet >$FILE
- noweave -delay $FILE.pamphlet >$FILE.tex
+ $TANGLE -t8 $FILE.pamphlet >$FILE
+ $WEAVE -delay $FILE.pamphlet >$FILE.tex
latex $FILE.tex
latex $FILE.tex
rm -f $FILE~