~exarkun/pyopenssl/trunk

« back to all changes in this revision

Viewing changes to doc/tools/cklatex

  • Committer: Jean-Paul Calderone
  • Date: 2011-09-11 19:49:43 UTC
  • mfrom: (156.3.22 sphinx-doc)
  • Revision ID: exarkun@divmod.com-20110911194943-ucaan2tzidk7ek5l
Convert the documentation from LaTeX/epytext to Sphinx/ReST

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
#  -*- ksh -*-
3
 
 
4
 
# This script *helps* locate lines of normal content that end in '}';
5
 
# this is useful since LaTeX2HTML (at least the old version that we
6
 
# use) breaks on many lines that end that way.
7
 
#
8
 
# Usage: cklatex files... | less
9
 
#
10
 
# *Read* the output looking for suspicious lines!
11
 
 
12
 
grep -n "[^     ]}\$" $@ | \
13
 
 grep -v '\\begin{' | \
14
 
 grep -v '\\end{' | \
15
 
 grep -v '\\input{' | \
16
 
 grep -v '\\documentclass{' | \
17
 
 grep -v '\\title{' | \
18
 
 grep -v '\\chapter{' | \
19
 
 grep -v '\\chapter\*{' | \
20
 
 grep -v '\\section{' | \
21
 
 grep -v '\\subsection{' | \
22
 
 grep -v '\\subsubsection{' | \
23
 
 grep -v '\\sectionauthor{' | \
24
 
 grep -v '\\moduleauthor{'
25
 
 
26
 
exit $?