Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: cf6fc7906d5abb6e0b9e7e52c94e8b28883672f7 authored by cvs2svn on 05 August 2004, 07:21:01 UTC
This commit was manufactured by cvs2svn to create tag 'r24a2'.
Tip revision: cf6fc79
cklatex
#! /bin/sh
#  -*- ksh -*-

# This script *helps* locate lines of normal content that end in '}';
# this is useful since LaTeX2HTML (at least the old version that we
# use) breaks on many lines that end that way.
#
# Usage: cklatex files... | less
#
# *Read* the output looking for suspicious lines!

grep -n "[^ 	]}\$" $@ | \
 grep -v '\\begin{' | \
 grep -v '\\end{' | \
 grep -v '\\input{' | \
 grep -v '\\documentclass{' | \
 grep -v '\\title{' | \
 grep -v '\\chapter{' | \
 grep -v '\\chapter\*{' | \
 grep -v '\\section{' | \
 grep -v '\\subsection{' | \
 grep -v '\\subsubsection{' | \
 grep -v '\\sectionauthor{' | \
 grep -v '\\moduleauthor{'

exit $?
back to top