Commit fb2de9ce authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update lists/index.tex.

parent 28792d07
......@@ -38,8 +38,7 @@
response.write("\n\\noindent \\textsc{%s}\\vspace{1ex}\n\n" % key.split('/')[-1])
pass
if key not in paths_data:
if paths_data.get(key) is None:
continue
renderer = paths_renderers[key]
......@@ -56,20 +55,19 @@
s = value.replace('<br>', '')
s = s.replace('<b>', '\\textbf{').replace('</b>', '}')
s = s.replace('<i>', '\emph{').replace('</i>', '}')
s = s.replace('<u>', '\underline{').replace('</u>', '}')
s = s.replace("<span style='font-style: italic;'>", '\\textit{')
s = s.replace("<span style='font-weight: bold;'>", '\\textbf{')
s = s.replace("<span style='text-decoration: underline;'>", '\underline{')
s = s.replace('<u>', '\\underline{').replace('</u>', '}')
s = s.replace('<span style="font-style: italic;">', '\\textit{')
s = s.replace('<span style="font-weight: bold;">', '\\textbf{')
s = s.replace('<span style="text-decoration: underline;">', '\underline{')
s = s.replace("<span style='font-style: italic;'>", '\\textit{')
s = s.replace("<span style='font-weight: bold;'>", '\\textbf{')
s = s.replace("<span style='text-decoration: underline;'>", '\\underline{')
s = s.replace('</span>', '}')
s = textwrap.fill("\\item %s" % s, initial_indent=' '*4, subsequent_indent=' '*4)
response.write("\n%s" % s, escape=False)
s = s.replace('<span style="font-style: italic;">', '\\textit{')
s = s.replace('<span style="font-weight: bold;">', '\\textbf{')
s = s.replace('<span style="text-decoration: underline;">', '\\underline{')
s = s.replace('</span>', '}')
s = textwrap.fill("\\item %s" % s, initial_indent=' '*4, subsequent_indent=' '*4)
response.write("\n%s" % s, escape=False)
pass
response.write("\n \\end{enumerate}", escape=False)
pass
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment