| Short description: |
bibtex-related utilities (sort, reformat, list contents ...) |
| Category: |
Application/Utility |
| Status: |
alpha |
| Created: |
2007-06-05 18:16:02 GMT |
| Last update: |
2007-06-07 19:35:03 GMT |
| Owner: |
tlink
(Projects of this owner) |
| Homepage: |
http://www.vim.org/scripts/script.php?script_id=1915 |
| Download: |
http://www.vim.org/scripts/script.php?script_id=1915
|
| License: |
GPL |
| Dependency: |
|
| Description: |
tbibtools provide a simple regexp-based bibtex parser. Please be aware
that this script makes a few assumptions on how a bib file should look
like and that it may fail on files formatted in unusual ways. Failure
may lead to loss of bib entries and malformed or incomplete output.
Comments and other text will be stripped when reformatting entries. Any
feature of bibtex I don't know and/or don't use myself is most likely
not supported by this script/class.
Please take care when using this script. Make backups and check the
output, especially when using the -f command-line option. Don't blame me
if you lose information or end up with corrupted bib files.
Features:
- sort bib files
- reformat bib files
- list keys in a bib file
- show bib entries matching a regular expression
Examples:
Reformat the bib file
tbibtools -f tml < monos.bib > monos_sorted.bib
tbibtools -f gsub=ä:\"a:ö:\"o:ü:\"u < monos.bib > monos_sorted.bib
List the contents (see also TBibTools#format_option_ls)
tbibtools --ls < monos.bib
tbibtools --ls -l "#{_lineno}: #{author|editor|institution}: #{title|booktitle}" < monos.bib
Extract a few entries à la grep (kind of):
tbibtools -P -e Hugo < monos.bib
tbibtools -P -q author=Adorno -q keywords=Adorno < monos.bib
tbibtools -P -q author="Husserl|Merleau-Ponty" < monos.bib
|
| Versions: |
[0.4 (2007-06-18)]
[0.2 (2007-06-07)]
[0.1 (2007-06-05)]
|