|
Limbo
|
convert bibtex format of references to jemdoc and latex formats More...
Functions | |
| def | read |
| read bibtex files with bibtexparser More... | |
| def | getDatetime |
| extract date time from entry More... | |
| def | getAddressAndDate |
| extract address and date time from entry More... | |
| def | switchToFirstLastNameStyle |
| switch from [last name, first name] to [first name last name] More... | |
| def | printBibDB |
| print bibtex database with target format More... | |
| def | printWeb |
| print in Jemdoc format More... | |
| def | printCV |
| print in Latex format More... | |
| def | printHelp |
| print help message | |
Variables | |
| suffix = None | |
| target format | |
| list | highlightAuthors = [] |
| list of authors for highlight | |
| list | filenames = [] |
| list of bibtex files | |
| tuple | bibDB = read(filenames, "%") |
| bibtex database | |
convert bibtex format of references to jemdoc and latex formats
!/bin/python
| def bibconvert.getAddressAndDate | ( | entry | ) |
extract address and date time from entry
| entry | bibentry |
Definition at line 51 of file bibconvert.py.
| def bibconvert.getDatetime | ( | entry | ) |
extract date time from entry
| entry | bibentry |
Definition at line 37 of file bibconvert.py.
| def bibconvert.printBibDB | ( | bibDB, | |
| highlightAuthors, | |||
| suffix | |||
| ) |
print bibtex database with target format
| bibDB | bibtex database |
| highlightAuthors | authors need to be highlighted |
| suffix | target format |
Definition at line 89 of file bibconvert.py.
| def bibconvert.printCV | ( | bibDB, | |
| stringMap, | |||
| highlightAuthors, | |||
| entries, | |||
| publishType, | |||
| booktitleKey | |||
| ) |
print in Latex format
| bibDB | bibtex database |
| stringMap | strings defined in bibtex database, which will be used to replace some references |
| highlightAuthors | authors to be highlighed |
| entries | list of bibentry to be printed |
| publishType | type of publications |
| booktitleKey | the keyword of entries need to search in the stringMap |
Definition at line 180 of file bibconvert.py.
| def bibconvert.printWeb | ( | bibDB, | |
| stringMap, | |||
| highlightAuthors, | |||
| entries, | |||
| publishType, | |||
| booktitleKey | |||
| ) |
print in Jemdoc format
| bibDB | bibtex database |
| stringMap | strings defined in bibtex database, which will be used to replace some references |
| highlightAuthors | authors to be highlighed |
| entries | list of bibentry to be printed |
| publishType | type of publications |
| booktitleKey | the keyword of entries need to search in the stringMap |
Definition at line 137 of file bibconvert.py.
| def bibconvert.read | ( | filenames, | |
| commentPrefix | |||
| ) |
read bibtex files with bibtexparser
| filenames | array of bibtex files |
| commentPrefix | take lines starting with specific charactors as comment |
Definition at line 19 of file bibconvert.py.
| def bibconvert.switchToFirstLastNameStyle | ( | author | ) |
switch from [last name, first name] to [first name last name]
| author | author list |
Definition at line 70 of file bibconvert.py.
1.8.8