Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mooerslab/bib2item3
bib2item3 converts a bib file into a txt file with bibitems.
https://github.com/mooerslab/bib2item3
bibitems bibtex citation-management citations latex latex-template reference reference-manage reference-management
Last synced: about 2 months ago
JSON representation
bib2item3 converts a bib file into a txt file with bibitems.
- Host: GitHub
- URL: https://github.com/mooerslab/bib2item3
- Owner: MooersLab
- License: mit
- Created: 2019-11-08T14:13:17.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-07T09:59:32.000Z (9 months ago)
- Last Synced: 2024-05-07T10:48:54.652Z (9 months ago)
- Topics: bibitems, bibtex, citation-management, citations, latex, latex-template, reference, reference-manage, reference-management
- Language: Python
- Homepage:
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Version](https://img.shields.io/static/v1?label=bib2item3&message=0.2&color=brightcolor)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)# bib2item3
## DESCRIPTION
Script to reformat BibTeX reference library into bibitems for specific
scientific journals. Supports only Protein Science at this time.## BACKGROUND
The ScholarOne Manuscript vendor used by Protein Science does not accept
Bibtex library files. Per the authors' instructions, you are stuck
with using a bibliography environment and bibitems. The bibitems are tedious
and error-prone to assemble by hand.The tex Stackexchange user Ixy published online a python2 script that I
repurposed for Protein Science and python3. It is not all-inclusive. Many
edge cases remain unaddressed. You will still have to check all references
manually.There are other solutions to this problem. You should be able to generate a
*.bbl file from your lib file by running LaTeX, BibTeX, latex, and latex on
your bib file. The *.bbl file contains the bibitems. I recommend using
this approach whenever possible. It is superior to the solution provided by my script. However,
I had no luck with this approach at 1 AM on the night of manuscript submission.There is also a Matlab solution.
I did not have access to Matlab at the time that I found this solution.
Perhaps this solution can be run with an octave.## Source of original script:
Author of inspiring [code](https://tex.stackexchange.com/questions/124874/converting-to-bibitem-in-latex)
: Ixy, a secretive [tex StackExchange ](https://tex.stackexchange.com/) user.## USAGE
bib2item3.py refs.bib
## Notes:
- The bib file should have only the citations that you want to include in your manuscript.
- The names of the journals should have the proper abbreviations.
- The citations in the bib file should be in alphabetical order because this script does not sort them.
- You should be able to copy the output into a bibliography environment in your LaTeX file.## To Be Done
- run flake8 and edit
- run pylint and edit
- develop test functions
- improve error handling## Update history
|Version | Changes | Date |
|:-----------:|:------------------------------------------------------------------------------------------------------------------------------------------:|:--------------------:|
| Version 0.2 | Added badges and update table. Corrected more typos. Merged pull request by Melodie Chen-Glasser. Her improvements are listed in the doc string in the script. | 2024 May 7 |## Funding
- NIH: R01 CA242845, R01 AI088011
- NIH: P30 CA225520 (PI: R. Mannel); P20GM103640 and P30GM145423 (PI: A. West)