module homeblog.latex_helper
#
Short summary#
module ensae_teaching_cs.homeblog.latex_helper
Various function about processing latex file
Functions#
function |
truncated documentation |
---|---|
Explores a list of files, extract all pieces of code and produces html page for each latex file |
Documentation#
Various function about processing latex file
- ensae_teaching_cs.homeblog.latex_helper.explore_folder_produce_code_html(files, header, footer, destination, classpre='prettyprint', classpre_type='brush: {0}', classcom='codeintro', skip_missing=False)#
Explores a list of files, extract all pieces of code and produces html page for each latex file
- Paramètres:
files – list of 2uple [ (file, title) ]
header – header for html file, must contain two
%s
for the title (header + body)footer – footer
destination – where to put the produced html file, name is the file with the extension replaced by .html
classpre – class for pre
classpre_type – if the type can be guessed, then this template will used instead of the first one
classcom – class for the comment
skip_missing – skip missing file (True) or raise an exception (False)
- Renvoie:
list of produced file