print("WARN: Setting language this way doesn't propagate to TeX. Either use the Front Matter or specify it additionally using the \\languagexx macro.")
print("WARN: Setting language this way doesn't propagate to TeX. Either use the Front Matter or specify it additionally using the \\languagexx macro.")
meta=self.doc.metadata
meta=self.doc.metadata
key=key.split(".")
keys=key.split(".")
forkinkey[:-1]:
forkinkeys[:-1]:
meta=meta[k]
meta=meta[k]
meta[key[-1]]=value
meta[keys[-1]]=value
defunset_metadata(self,key:str):
defunset_metadata(self,key:str):
meta=self.doc.metadata
meta=self.doc.metadata
key=key.split(".")
keys=key.split(".")
forkinkey[:-1]:
forkinkeys[:-1]:
meta=meta[k]
meta=meta[k]
delmeta.content[key[-1]]# A hack because MetaMap doesn't have a __delitem__
delmeta.content[key[-1]]# A hack because MetaMap doesn't have a __delitem__