Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm converting a MS Word document into a LaTeX document. I have >100 references and would like to know the easiest way to convert all the inline citations from my MS Word document to my LaTeX document.

I've already generated by BibTeX library and can convert each citation individually by hand if necessary. Is there a way that I can convert all my MS Word inline citations to the \cite{author,date} LaTeX format so that when I copy and paste into LaTeX the citations are recognized automatically? Do you have any other suggestions?

share|improve this question
Can you just use search and replace in your editor, i.e. [1] -> \cite{Einstein,1902}, or are the citations entered into Word in a way that makes this difficult? – Ian Thompson Jun 26 '13 at 13:56
I think it could help to understand the problem if you paste an image of a page of the document. Apparently it is an issue of search/replace some simple regular expressions, isn't? – JLDiaz Jun 26 '13 at 14:19
Welcome to TeX.SX! You can have a look on our starter guide to familiarize yourself further with our format. – karlkoeller Jun 26 '13 at 14:39
Ian, Your suggestion would still require I go and replace >100 things in my MS word document, I believe. This would be quite time consuming, but it may come to that. I'll look for a MS word inline citation format that uses {Author,date} and then replace all "{" with "\cite{". I might have to edit the citation style in Mendeley... I was just looking for a more elegant way of doing this. Thanks. – Laura Johnson Jun 26 '13 at 14:41
How are the citations in the Word document? Are they fields or just plain text? I assume they are in various formats (in parentheses or not, lists or not.) Without a bit more detail on what they look like it's hard to tell what exactly you would need to do. But this is a job for search and replace plus some manual intervention I suspect. But you shouldn't need to do each on individually. You also need to make your BibTeX keys match the citations used. – Alan Munn Jun 26 '13 at 14:56

3 Answers 3

You could have a look on the online service provided by Makino, Takaki
or, better, download the perl script from the same page.

It worked for me, sometimes using some sed editing as preprocessing.

Or, likely better, have a look to cb2BiB that seems to be much more powerful, but I discovered to late :(

share|improve this answer

This is probably the best and simplest solution I came across.

Took less than 5 minutes to convert the whole bibliography. It can be used with recent versions of MS Word. Only difference is that

in place of

C:\Program Files\Microsoft Office\Office14\Bibliography\Style

use this link to save the .xsl file

C:\Program Files (x86)\Microsoft Office\Office14\Bibliography\Style
share|improve this answer

I've just done this. There are two steps to take:

Convert your EndNote Library to BibTeX format, which can be done relatively easily in EndNote:

  1. Edit the BibTeX Export endnote style to change the output template. I'd rather use JabRef to make my citekeys to pick up the multiple AuthorYear exceptions, so you can delete the "Label" in "@article{|Label,|"
  2. Export the library by using File->Export to a .txt file with formatting provided by your custom BibTeX Export style.
  3. Change the extension to .bib and open in JabRef (I've had some encoding trouble by making a new library and trying to import). Change your citekey generation format to the default AuthorYear template if you've changed it.
  4. Generate citekeys using JabRef. Take note of the few citekeys that have an "a" appended to the end--these are the multiple AuthorYear exceptions that you might have to edit in text. If there aren't any, you're golden.

Now you just have to get all of the citations in your Word document to match:

  1. Edit the BibTeX Export endnote style to change the citation template to what you want in text (ie, \parencite{AuthorYear} for BibLaTeX or \cite{AuthorYear} for natbib and BibTeX). Change the Ambiguous Citations section to "Add a letter after the year"(2000a,2000b).
  2. Format bibliography in your Word document using your custom BibTeX export style. Make sure your AuthorYear exceptions are referencing the correct paper.

I reformatted a whole paper before I figured out that the default JabRef citekey generator was close enough to AuthorYear to make it work with an EndNote Style. Good luck!

share|improve this answer
Welcome to TeX.SX! – Christian Hupfer Mar 9 at 17:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.