This question already has an answer here:

Is there any link, info or documentation how should be every entry in the \bibitem mentioned? For example

\bibitem{Misiak} A. Misiak. \ \textit{$n$-inner product spaces.} Math.Nachr. {\bf 140} (1989), 299--319.

\bibitem{WKG} R.A. Wibawa-Kusumah and H. Gunawan. \textit{Two equivalent $n$-norms on the space of $p$-summable sequences}. To appear in {\it Period. Math. Hungar}.

\bibitem{ksw} P. Kostyrko, T. \v{S}al\'{a}t and W. Wilczy\'nski, $\mathcal{I}$-convergence, \emph{Real Anal. Exchange} \textbf{26(2)} (2000-2001), 669--686.

This bibitems can contains many entries (author, authortype, editor, editortype, editorX, editorXtype, holder, bookauthor ...). From this three examples I can extract without problem maybe numeric parts and assume they belong to pages or section entry. But when I found many different methods of storing info about for example: authors, I'm quite undecided how should I write bibliography cutter to entries efficiently:

jean de la fontaine
Jean de la fontaine
Jean {de} la fontaine
jean {de} {la} fontaine
Jean {de} {la} fontaine
Jean De La Fontaine
jean De la Fontaine
Jean de La Fontaine

This is the case when \bibitem contains only one author, but there is also cases that it could contains even more. How could I logical extract bibliography entries? Is there anywhere complex structure mentioned?

marked as duplicate by moewe, Thorsten, user13907, Martin Schröder, Andrew Apr 5 '15 at 12:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • I am not sure i understand the question. I would suggest to store your bibliographic information in a database in the BibTeX-format. You say which style to use, and LaTeX and an auxiliary Program (biber/bibtex) do the rest. – Johannes_B Oct 2 '14 at 12:29
  • This has also been posted on LaTeX-community. – Johannes_B Oct 2 '14 at 12:32
  • I forgot to mention @Johannes_B, that my task is to extract bibitems from .tex file with Java 1.7 and I can't use Tex processor or any other ,,help hand". I need to write tex commands parser and bibitem entries cutter. – user997777 Oct 2 '14 at 12:32
  • We just had a similar question: LaTeX to BibTeX – Johannes_B Oct 2 '14 at 12:34
  • There is a multitude of well-established "bibliography styles" that determine how a bibliographic entry in a bib file should be typeset, i.e., how the information in a given entry is to be transformed into a \bibitem. Much meta-information is dropped in the process of going from an entry in a bib file to a \bibitem. What exactly are you trying to achieve by parsing a \bibitem (which, by construction, is missing almost all meta information)? – Mico Oct 2 '14 at 12:34