Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create a .bib file from bibitem (thebibliography)

Tags:

latex

bibtex

I have like 200 bibitem entry in the environment

\begin{thebibliography}
\bibitem{Bermudez} Berm\'udez, J.D., J. V. Segura y E. Vercher (2010). \emph{Bayesian forecasting with the Holt-Winters model}. Journal of the Operational Research Society, 61, 164-171.
\begin{thebibliography}

I want the resulting .bib file format

@article{bermudez2010bayesian,
  title={Bayesian forecasting with the Holt--Winters model},
  author={Berm{\'u}dez, Jos{\'e} D and Segura, Jos{\'e} Vicente and Vercher, Enriqueta},
  journal={Journal of the Operational Research Society},
  volume={61},
  number={1},
  pages={164--171},
  year={2010},
  publisher={Taylor \& Francis}
}

Is there a way I can do it without converting one by one

Regards

like image 771
LuisMoncayo Avatar asked Oct 16 '25 04:10

LuisMoncayo


1 Answers

One possibility is to use https://text2bib.org/ to convert the \bibitem into bibtex format. Choosing Spanish as language, the output of the conversion is

@article{Bermudez,
author = {Berm\'udez, J. D. and J. V. Segura and E. Vercher},
journal = {Journal of the Operational Research Society},
pages = {164-171},
title = {{B}ayesian forecasting with the Holt-Winters model},
volume = {61},
year = {2010},
}

Some fields are missing, e.g. the publisher, because this information was not contained in your \bibitem

like image 175
samcarter_is_at_topanswers.xyz Avatar answered Oct 19 '25 06:10

samcarter_is_at_topanswers.xyz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!