示例#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)
示例#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)
示例#3
0
 def to_bibfile(
     self,
     filename,
     encoding='utf-8',
 ):
     _bibtex.save(self.merged(),
                  filename.as_posix(),
                  sortkey=None,
                  encoding=encoding)
示例#4
0
 def to_bibfile(self, filename=BIBFILE, encoding='utf-8', ):
     _bibtex.save(self.merged(), filename, sortkey=None, encoding=encoding)
示例#5
0
 def to_bibfile(
     self,
     filename=BIBFILE,
     encoding='utf-8',
 ):
     _bibtex.save(self.merged(), filename, sortkey=None, encoding=encoding)