Run doconce2format on all doc strings in a Python file.
Perform the transformation of a doconce file, stored in in_filename, to a given format (html, latex, etc.), written to out_filename. This is the “main” function in the module.
Process idx{...} and cite{...} instructions.
Deal with all inline tags by substitution.
Parse a keyword for a description list when the keyword may represent information about an argument to a function or a variable in a program:
- argument x: x coordinate (float).
- keyword argument tolerance: error tolerance (float).
- return: corresponding y coordinate (float).
Run mako or the preprocess script on filename and return the name of the resulting file. The preprocessor_options list contains the preprocessor options given on the command line. In addition, the preprocessor option FORMAT (=format) is always defined.
Go through filestr and parse all lists and typeset them correctly. This function must be called after all (verbatim) code and tex blocks have been removed from the file. This function also treats comment lines and blank lines.
Translate tables with pipes and dashes to a list of row-column values. Horizontal rules become a row [‘horizontal rule’] in the list. The list is easily translated to various output formats by other modules.