module helpgen.pandoc_helper
¶
Short summary¶
module pyquickhelper.helpgen.pandoc_helper
Helpers to call pandoc and convert documents
Functions¶
function |
truncated documentation |
---|---|
Call pandoc. |
|
convert a latex document into a rst document using pandoc |
Documentation¶
Helpers to call pandoc and convert documents
- pyquickhelper.helpgen.pandoc_helper.call_pandoc(params, fLOG=<function noLOG>)[source]¶
Call pandoc.
- Parameters:
params – parameters
fLOG – logging function
- Returns:
out, err
- pyquickhelper.helpgen.pandoc_helper.latex2rst(input, output, encoding='utf-8', fLOG=<function noLOG>, temp_file=None)[source]¶
convert a latex document into a rst document using pandoc
- Parameters:
input – input file
output – output file
encoding – encoding
temp_file – temporary file
fLOG – logging function
- Returns:
see
call_pandoc
If the encoding is not utf-8, the function uses temp_file to store the temporary conversion into utf-8.