bib.core.convert_library_to_str¶
Classes¶
ConvertLibrayToStr ¶
Convert library to str.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
options | dict[str, Any] | Options. Default is {}. | required |
Attributes:
| Name | Type | Description |
|---|---|---|
is_standardize_library | bool | Is standardize library. Default is False. |
empty_entry_cite_keys | bool | Empty entry cite keys. Default is False. |
add_index_to_entries | bool | Add index to entries. Default is False. |
entries_necessary | bool | Is the entries are necessary in the bib file. |
Source code in pybibtexer/bib/core/convert_library_to_str.py
Functions¶
generate_str ¶
Serialize a BibTeX database.
:param library: BibTeX database to serialize. :param bibtex_format: Customized BibTeX format to use (optional).