excerpts
 All Namespaces Files Functions
Functions
excerpts.op Namespace Reference

Functions

def is_tool
 Test if a Program is Installed. More...
 
def pandoc
 Run Pandoc on a File. More...
 

Function Documentation

def excerpts.op.is_tool (   name)

Test if a Program is Installed.

Will raise an error if the program is not found.

Parameters
nameThe name of the program to be tested for.
Returns
True if the Program is installed.

Here is the call graph for this function:

def excerpts.op.pandoc (   file_name,
  compile_latex = False,
  formats = "tex" 
)

Run Pandoc on a File.

Parameters
file_nameThe file on which to run pandoc.
formatsThe pandoc output formats to be used. A comma separated string ("html,tex" for example) a tuple or a list giving the formats.
compile_latexCompile the LaTeX file?
Returns
0 if parsing was successful, 1 otherwise.

Here is the call graph for this function: