El estilo de bibliografía "unsrt" no funciona.

El estilo de bibliografía "unsrt" no funciona.

Estoy usando unsrtestilo de bibliografía pero obtengo una secuencia incorrecta en la sección Referencias del pdf. Aquí está el contenido del archivo .tex:

\documentclass{article}
\bibliographystyle{unsrt}
\title{\textbf{\large{Title Goes Here}}}
\author{
Author Name
}
\date{\today}
\begin{document}
\maketitle
\section{Introduction} 
I am using unsrt.
I want to cite these two: ~\cite{JMechPhysSol_analytical} and ~\cite{OrigPaper}.
But they appear in the reverse order.
\begin{thebibliography}{00}
  \bibitem{OrigPaper}
  J. Cheng, E. H. Jordan, B. Barber, M. Gell, 
  ``Thermal/Residual Stress in an Electron Beam Physical Vapor Deposited Thermal Barrier          
  \textit{Acta Mater.}, \textbf{46}, 5839-5850 (1998).
  \bibitem{JMechPhysSol_analytical}
  D. S. Balint, J.W. Hutchinson,
  ``An Analytical model of rumpling in thermal barrier coatings.''
  \textit{J. Mech. Phys. Solids}, \textbf{53}, 949-973 (2005).

\end{thebibliography}
\end{document}

Aquí está el resultado:

ingrese la descripción de la imagen aquí

Respuesta1

Debe dejar que BibTeX realice la organización (y clasificación, si es necesario) de su bibliografía. Si ingresa los \bibitems manualmente, no hay forma de que se ordenen/organicen según su estilo ( unsrt). Entonces, sigue la secuencia:

  1. Escriba su bibliografía en un .bibarchivo separado utilizando el formato apropiado.Formato de entrada BibTeX.
  2. Compile filename.texuna vez (para obtener un archivo correcto/actual .aux).
  3. Ejecutar bibtex filename(para obtener un correcto/actual .bbl).
  4. Compile filename.texnuevamente (para incluir el archivo correcto/actual .bbl).

Aquí hay un ejemplo con el .bibincrustado en el .texusofilecontents:

ingrese la descripción de la imagen aquí

\documentclass{article}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@article{OrigPaper,
  author = {J Cheng and EH Jordan and B Barber and M Gell},
  title = {Thermal/Residual Stress in an Electron Beam Physical Vapor Deposited Thermal Barrier},
  journal = {Acta Mater.},
  volume = {46},
  pages = {5839-5850},
  year = {1998}
}
@article{JMechPhysSol_analytical,
  author = {DS Balint and JW Hutchinson},
  title = {An Analytical model of rumpling in thermal barrier coatings.},
  journal = {J.\ Mech.\ Phys.\ Solids},
  volume = {53},
  pages = {949-973},
  year = {2005}
}
\end{filecontents*}
\bibliographystyle{unsrt}
\title{\textbf{\large{Title Goes Here}}}
\author{Author Name}
\date{\today}
\begin{document}
\maketitle

\section{Introduction} 
I am using \verb|unsrt|.
I want to cite these two:~\cite{JMechPhysSol_analytical} and~\cite{OrigPaper}.

\bibliography{\jobname}
\end{document}

Tenga en cuenta que no había ninguna especificación de formato para la revista o el número en el .bib; todo eso fue hecho por BibTeX.

información relacionada