Esempio n. 1
0
 def save(self, entries, verbose=True):
     """Write bibkey -> (entrytype, fields) map to file."""
     _bibtex.save(entries,
                  filename=self.filepath,
                  sortkey=self.sortkey,
                  encoding=self.encoding,
                  use_pybtex=self.use_pybtex,
                  verbose=verbose)
Esempio n. 2
0
 def save(self, entries, verbose=True):
     """Write bibkey -> (entrytype, fields) map to file."""
     _bibtex.save(entries,
         filename=self.filepath,
         sortkey=self.sortkey,
         encoding=self.encoding,
         use_pybtex=self.use_pybtex,
         verbose=verbose)
Esempio n. 3
0
 def to_bibfile(
     self,
     filename,
     encoding='utf-8',
 ):
     _bibtex.save(self.merged(),
                  filename.as_posix(),
                  sortkey=None,
                  encoding=encoding)
Esempio n. 4
0
 def to_bibfile(self, filename=BIBFILE, encoding='utf-8', ):
     _bibtex.save(self.merged(), filename, sortkey=None, encoding=encoding)
Esempio n. 5
0
 def to_bibfile(
     self,
     filename=BIBFILE,
     encoding='utf-8',
 ):
     _bibtex.save(self.merged(), filename, sortkey=None, encoding=encoding)