From 00731c04d04879ce8aa66aca19e901b2e9d0823c Mon Sep 17 00:00:00 2001 From: scoder Date: Wed, 9 Jul 2008 14:53:05 +0200 Subject: [svn r3881] r4597@delle: sbehnel | 2008-07-09 14:50:23 +0200 docutils fix --HG-- branch : trunk --- doc/mklatex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/mklatex.py') diff --git a/doc/mklatex.py b/doc/mklatex.py index f90ceafd..a8efac57 100644 --- a/doc/mklatex.py +++ b/doc/mklatex.py @@ -86,7 +86,7 @@ def copy_epydoc_macros(src, dest, existing_header_lines): doc = file(src, 'r') out = file(dest, "w") for line in doc: - if line.startswith('%% generator'): + if line.startswith('%% generator') or line.startswith('% generated by '): break if line.startswith('%') or \ r'\documentclass' in line or \ -- cgit v1.2.1