¿Cómo convierto mis elementos bibliográficos de BibTeX a un formato incrustado?

¿Cómo convierto mis elementos bibliográficos de BibTeX a un formato incrustado?

Existen dos formas principales de definir una bibliografía:

  1. Incorporado

    Declare \begin{thebibliography}al final de su archivo y use \bibitem . Las entradas parecen

    \bibitem{amin1}
      S.~P. Beeby, M.~J. Tudor, and N.~White, ``Energy harvesting vibration sources
      for microsystems applications,'' {\em Measurement science and
      technology}~{\bf 17}(12), p.~R175, 2006.
    
  2. Usando BibTeX: las entradas se almacenan en un archivo .bib. Las entradas se ven así: -

     @article{amin1,
      title={Energy harvesting vibration sources for microsystems applications},
      author={Beeby, S Pꎬ and Tudor, M Jꎬ and White, NM},
      journal={Measurement science and technology},
      volume={17},
      number={12},
      pages={R175},
      year={2006},
      publisher={IOP Publishing}
    }
    

¿Existe una forma sencilla y automatizada de convertir entradas de 2 a 1?

He estado usando el formato 2, es decir, usando un archivo bib. Pero quiero cambiar al formato 1 sin cambiar manualmente todas las entradas. es posible?

Respuesta1

La conversión de un .bibarchivo BibTeX a un entorno integrado thebibliographydepende de la bibliografía.estilolo que buscas. El estilo define el diseño y el formato de @typereferencias específicas.

La sugerencia sería:

  1. Utilice BibTeX para compilar su archivo con el estilo específico que le interesa. Por ejemplo,

    \documentclass{article}
    
    \usepackage{filecontents}
    \begin{filecontents*}{references.bib}
    @article{greenwade93,
      author = {George D. Greenwade},
      title = {The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})},
      year = {1993},
      journal = {TUGBoat},
      volume = {14},
      number = {3},
      pages = {342--351}
    }
    \end{filecontents*}
    
    \begin{document}
    
    \nocite{*}
    
    \bibliographystyle{plain}
    \bibliography{references}
    
    \end{document}
    

    Cuando se compila usando LaTeX > BibTeX > LaTeX > LaTeX, el ejemplo mínimo anterior (llamado filename.tex) crea filename.bbl:

    \begin{thebibliography}{1}
    
    \bibitem{greenwade93}
    George~D. Greenwade.
    \newblock The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN}).
    \newblock {\em TUGBoat}, 14(3):342--351, 1993.
    
    \end{thebibliography}
    

    BibTeX ya se encargó del formato y diseño, así como del orden de clasificación (si se ha especificado de alguna manera, incluso usando un paquete diferente).

  2. Intercambio

    \bibliographystyle{plain}
    \bibliography{references}
    

    para

    \input{filename.bbl}
    

    en tu código.

ingrese la descripción de la imagen aquí

información relacionada