summaryrefslogtreecommitdiff
path: root/doc/mklatex.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/mklatex.py')
-rw-r--r--doc/mklatex.py2
1 files changed, 1 insertions, 1 deletions
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 \