BibTexFile¶
from mcot.bibtex.file import BibTexFile
- class mcot.bibtex.file.BibTexFile(filename)[source]¶
-
Inheritance diagram
digraph inheritance039e6dcdaf { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "mcot.bibtex.file.BibTexFile" [URL="#mcot.bibtex.file.BibTexFile",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "mcot.bibtex.file.BibTexSet" -> "mcot.bibtex.file.BibTexFile" [arrowsize=0.5,style="setlinewidth(0.5)"]; "mcot.bibtex.file.BibTexSet" [URL="mcot.bibtex.file.BibTexSet.html#mcot.bibtex.file.BibTexSet",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; }Methods
add
(entry[, adjust_key])add_to_file
(entry[, adjust_key])from_string
(text)keys
()remove
(entry)write
(filename)
add¶
- BibTexFile.add(entry, adjust_key=False)¶
add_to_file¶
from_string¶
- static BibTexFile.from_string(text: str)¶
keys¶
- BibTexFile.keys()¶
remove¶
- BibTexFile.remove(entry)¶
write¶
- BibTexFile.write(filename)¶