summaryrefslogtreecommitdiff
path: root/doc/tools/latex_filter
diff options
context:
space:
mode:
authorGravatar Stephane Glondu <steph@glondu.net>2010-07-10 15:57:24 +0100
committerGravatar Stephane Glondu <steph@glondu.net>2010-10-14 17:56:48 +0200
commit8f4d4c66134804bbf2d2fe65c893b68387272d31 (patch)
treeb5108449f05d5034a281c786eea2b603d32171d8 /doc/tools/latex_filter
parent3e96002677226c0cdaa8f355938a76cfb37a722a (diff)
Remove non-DFSG contentsupstream/8.3+dfsg
Diffstat (limited to 'doc/tools/latex_filter')
-rwxr-xr-xdoc/tools/latex_filter43
1 files changed, 0 insertions, 43 deletions
diff --git a/doc/tools/latex_filter b/doc/tools/latex_filter
deleted file mode 100755
index 044a8642..00000000
--- a/doc/tools/latex_filter
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/sh
-
-# First argument is the number of lines to treat
-# Second argument is optional and, if it is "no", overfull are not displayed
-
-i=$1
-nooverfull=$2
-error=0
-verbose=0
-chapter=""
-file=""
-while : ; do
- read -r line;
- case $line in
- "! "*)
- echo $line $file;
- error=1
- verbose=1
- ;;
- "LaTeX Font Info"*|"LaTeX Info"*|"Underfull "*)
- verbose=0
- ;;
- "Overfull "*)
- verbose=0
- if [ "$nooverfull" != "no" ]; then echo $line $file; fi
- ;;
- "LaTeX "*)
- verbose=0
- echo $line $chapter
- ;;
- "["*|"Chapter "*)
- verbose=0
- ;;
- "(./"*)
- file="(file `echo $line | cut -b 4- | cut -d' ' -f 1`)"
- verbose=0
- ;;
- *)
- if [ $verbose = 1 ]; then echo $line; fi
- esac;
- if [ "$i" = "0" ]; then break; else i=`expr $i - 1`; fi;
-done
-exit $error