module homeblog.latex2html
#
Short summary#
module ensae_teaching_cs.homeblog.latex2html
Convert a short latex script into an image
Functions#
function |
truncated documentation |
---|---|
Convert a short latex script into an image. |
Documentation#
Convert a short latex script into an image
- ensae_teaching_cs.homeblog.latex2html.convert_short_latex_into_png(latex, temp_folder='.', fLOG=<built-in function print>, miktex='C:\\Program Files\\MiKTeX 2.9\\miktex\\bin\\x64', final_name=None)#
Convert a short latex script into an image.
- Paramètres:
latex – latex equation
temp_folder – temp_folder (where temporary files will be placed)
fLOG – logging function
miktex – miktex location
final_name – if not None, copy the image at this location using this name
- Renvoie:
a location to the image (it should be copied), and its size
You should not call the function twice at the same in the same folder.
Avertissement
The function ends the program if there was a failure. Something is missing on the command line.