From: W. Trevor King Date: Fri, 27 May 2011 21:43:32 +0000 (-0400) Subject: Add line endings after sections in write_problemlist.py. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e51998b394e841053b19b3c37741b5b5937ae3fd;p=course.git Add line endings after sections in write_problemlist.py. --- diff --git a/latex/test/write_problemlist.py b/latex/test/write_problemlist.py index c6a34b0..2e3ef27 100755 --- a/latex/test/write_problemlist.py +++ b/latex/test/write_problemlist.py @@ -22,7 +22,7 @@ def write_problemlist(problem_dir=None, blacklist=()): source_dir = os.path.join(problem_dir, source) if not os.path.isdir(source_dir): continue - f.write('\section{%s}' % source.replace('_', ' ')) + f.write('\\section{%s}\n' % source.replace('_', ' ')) for problem in sorted(os.listdir(source_dir)): path = os.path.join(source_dir, problem) if os.path.isfile(path):