diff --git a/patacrep/plastex.py b/patacrep/plastex.py index 72d28119..cdaa3a64 100644 --- a/patacrep/plastex.py +++ b/patacrep/plastex.py @@ -104,6 +104,8 @@ def parsetex(filename): # Extraction des données data = { "languages": set(), + "_doc": doc, + "_filename": filename, } for node in doc.allChildNodes: if node.nodeName == "selectlanguage":