Writing a thesis is fun. But you want to minimize the risks that might force you to start over. One of which is the choice of tool. I am a fan of MS Word and started writing it there. But apparently I am facing it’s limits…
My thesis currently has around 100 pages, yet a few chapters to come. It is constructed through several different documents that are included into one. All that worked fine so far, but I started noticing some hick-ups. The creation of the complete document and its indexes takes longer and longer. And one time, the structure messed up and I had to rework the master document.
Finishing my thesis with word is surely possible. But I don’t want to risk troubles. I therefore began having a look at Latex. Seems legit. It’s always good to have options.
Now, I have to confess, that I never worked with Latex until recently. Converting my Word-documents into Latex-files took some effort. The main problem for me was the library of my references. I handled the sources of my work in Word. There are probably better solutions, but it’s easy to use and provides everything I need.
Except for an export feature…
No way I would create all the entries manually for my Latex bibliography. Instead I wrote a stylesheet that makes Word create a bibliography in BibTex format (Details regarding the Bibliography Management). Now I can simply copy and paste my library from one system to the other. The only problem is, that the library is full of characters that have to be escaped in Latex. Because I didn’t want to do that manually either, I created a script for that, too.
Here’s how you can export your MS Word sources and references and import them to a BibTex library:
- Download this stylesheet: Word2Bibtex
- Save it here: C:\Program Files\Microsoft Office\Office14\Bibliography\Style
- Start Word and change the style of your bibliography to “Bibtex Export”.
- Copy the bibliography that word creates for you.
- Substitute the special characters using this script: The Substitutor
- Use the result for your BibTex library.
I hope it helps you, as it helped me. Find both also on my stuff-page.
Wolfe · June 12, 2012 at 4:27 pm
Thanks! This worked great!
Lacey · April 2, 2016 at 8:54 pm
What if the style isn’t loading into Word? Is there any way to force Word to recognize the new file in the folder?
Josh · November 16, 2016 at 7:21 pm
I was able to find the style folder on Windows 10, Office 2016, in: C:Program Files (x86)Microsoft OfficerootOffice16BibliographyStyle
However, closing and re-opening word did not make the style “bibtex” show up in my “Style” list.
Truepharaoh · November 17, 2016 at 8:21 pm
Same here. BibTex did not show in Style list.
Blop · January 26, 2017 at 8:12 am
If you are looking for the right path in Word package for OSX, it is
Toni · February 27, 2019 at 4:42 pm
Hello, I saved the file here:
and Bibtex does not appear in the style list. I would appreciate a suggestiong. Thanks
Maram · May 31, 2017 at 11:02 am
This is a very helpful post. Thanks!!
Paulo · September 25, 2017 at 8:18 pm
It works perfectly!
Amanzing job! Congrats.
yarabe daniel-florent · November 6, 2017 at 12:22 am
I wish I could use it like you Maram . When tried
“The file is not in supported formats ” displayed in the frame on the screen. I really need help for my next attempts. Thank you …
Kay · December 10, 2018 at 10:42 pm
This was super helpful…. thank you a million times. my stress levels just went down after the import into Zotero was successful
Taylor · October 17, 2019 at 6:21 pm
Hi, I followed the steps but “bibtex export” does not appear in my styles list. Do you have any idea why that might be?
Jessica Winter-Stoltzman · December 20, 2019 at 12:19 am
same problem- I found the folder where the other styles are saved (Chicago, MLA, APA, etc.) but adding bibtex here did not make bibtex show up in my styles list.
vini · September 5, 2020 at 2:04 am
use the bibtex file from github
Grass · May 7, 2021 at 9:13 pm
The location provided in the instructions did not work for Office 2016, instead it should be copied here:
Rachel E. Hinton · June 26, 2021 at 11:15 pm
It doesn’t show up in that folder for me. The problem may be with how the Microsoft data is being accessed externally. Compare the CHICAGO stylesheet file with the bibtex stylesheet and you’ll see the external references are different. There is a tag used in the CHICAGO xml file. I don’t have time to figure out the differences and fix the file. It may just be easier to retype some of my existing references.
Rachel E. Hinton · June 26, 2021 at 11:21 pm
The Github version worked. https://gist.github.com/JaimeChavarriaga/40166befb14f2fe5dac390688d9eaf03#file-bibtex-xsl
Isadora · August 5, 2021 at 7:29 pm
Here’s how to get it to recognize (for troubleshooting between steps 2 and 3)
Make sure Word is closed.
Go to the Roaming folder path where Style is (will be different depending on you OS version), and copy one of the existing styles (say, CHICAGO).
Open the bibtex.xls in notepad and SELECT ALL->COPY the data. I copied the xsl from github (https://gist.github.com/JaimeChavarriaga/40166befb14f2fe5dac390688d9eaf03) just because it’s the most recently handled.
Then, open the duplicated xsl (e.g. CHICAGO – Copy.xsl), SELECT ALL-> PASTE to replace all the bibtex format data. Save and rename to bibtex.xsl so you don’t lose track of which file was transformed. Open Word, you will find Bibtex Export now listed. Continue with steps 4 etc.
Collaborations of Latex and Word users · May 26, 2016 at 12:10 am
[…] To convert a Word Bibliography file into a LaTex bib file, use the neat Word2Bibtex tool. Download the bibtex.xsl file and follow the directions. Note: the tool will only work if you […]
transferring inline citations from MS word to LaTex – oraerr.com · February 15, 2020 at 3:32 pm
[…] This article by Karsten Jahn is probably the best and simplest solution I came across: https://www.k-jahn.de/2012/02/22/exporting-a-word-library-to-latexbibtex/ […]
bibtex – transferir citas en línea de MS Word a LaTex - CodeBug · December 30, 2021 at 5:37 pm
[…] artículo de Karsten Jahn es probablemente la mejor y más simple solución que encontré: https://www.k-jahn.de/2012/02/22/exporting-a-word-library-to-latexbibtex/ <- enlace […]