module fromtex
¶
Short summary¶
module lecture_citation.fromtex
Extracts old quote from tex files.
Classes¶
class |
truncated documentation |
---|---|
Raised when not able to interpret a line. |
Functions¶
function |
truncated documentation |
---|---|
Enumerates quote from a filename or a stream |
Documentation¶
Extracts old quote from tex files.
- exception lecture_citation.fromtex.FormatException¶
Bases :
Exception
Raised when not able to interpret a line.
- lecture_citation.fromtex.enumerate_quotes(filename, encoding='utf-8', empty_name='Inconnu')¶
Enumerates quote from a filename or a stream
- Paramètres:
filename – filename or stream
encoding – applicable only if filename
empty_name – replces an empty author name
- Renvoie:
enumerate on quote
A quote is defined a dictionary.