BibTeX, biblatex and biberImporting into bibtex from text

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
saimike
Posts: 20
Joined: Wed Apr 11, 2012 10:44 pm

Importing into bibtex from text

Post by saimike »

I have some citations in APA format in a word doc (so the indent, italics, etc also follow APA) which I would like to import into bibtex. How can this be done?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Importing into bibtex from text

Post by kaiserkarl13 »

I usually prefer to do those sorts of things manually, but some conversion scripts do exist (you will just have to check them manually afterwards).

For example, http://www.snowelm.com/~t/doc/tips/makebib.en.html has one such script built into it. I find that correcting it takes almost as much time as making the entry manually. For example,

Code: Select all

Smith R J, Doe J M and Jones B D 2020 Annu. Rev. Mater. Res. 3 274-483
gets translated to

Code: Select all

@article{2008annu,
 author = "Smith R J and Doe J M and Jones B D",
 title = "Annu",
 journal = "Rev. Mater. Res",
 volume = "3",
 year = 2020
}
when it should be,

Code: Select all

@article{2008annu,
 author = "Smith, R. J. and Doe, J. M. and Jones, B. D.",
 journal = "Annu.\ Rev.\ Mater.\ Res",
 volume = "3",
 year = 2020
}
The commas are the most important thing it left out, though the journal entry is wrong too, of course. I don't blame the script author---quite frankly, it works extremely well given the complexity of the problem. After all, BibTeX was written specifically to solve that same problem!

Note also that some text editors will generate a BibTeX skeleton entry for you, so all you need do is paste into each field.
Post Reply