Plan 9 from Bell Labs’s /usr/web/sources/contrib/bichued/root/sys/src/cmd/python/Doc/tools/cklatex

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#! /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 $?

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.