惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Engineering at Meta
Engineering at Meta
月光博客
月光博客
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Visual Studio Blog
大猫的无限游戏
大猫的无限游戏
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
量子位
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
腾讯CDC
S
Securelist
Know Your Adversary
Know Your Adversary
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
博客园 - 【当耐特】
V2EX - 技术
V2EX - 技术
J
Java Code Geeks
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Hugging Face - Blog
Hugging Face - Blog
Cisco Talos Blog
Cisco Talos Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
阮一峰的网络日志
阮一峰的网络日志
美团技术团队
W
WeLiveSecurity
S
SegmentFault 最新的问题
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
宝玉的分享
宝玉的分享
博客园 - Franky
S
Security Affairs
博客园 - 司徒正美
V
V2EX
K
Kaspersky official blog
T
Threatpost
NISL@THU
NISL@THU
博客园 - 叶小钗
Help Net Security
Help Net Security
PCI Perspectives
PCI Perspectives
IT之家
IT之家
小众软件
小众软件
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Last Week in AI
Last Week in AI
Jina AI
Jina AI
爱范儿
爱范儿
罗磊的独立博客
N
News and Events Feed by Topic
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
P
Proofpoint News Feed
L
LINUX DO - 热门话题
Google Online Security Blog
Google Online Security Blog
雷峰网
雷峰网
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint

博客园 - rabbler

利用脚本禁止与启动Microsoft SQL Server相关服务 [译]Creating a Stock Widget in ASP.NET MVC Application DOM Document Object properties & DOM Element properties A-Grade Browser By Yahoo asp.net mvc 2.0 validate model asp.net mvc 2.0 Strongly-Typed HTML Helper Javascript code prettifier YUI3学习路线 Asp.net MVC 常用控件 Ubuntu 常用命令收集[菜鸟版] SQL Server 2008 sp1 集成安装 - rabbler Web Design: CSS Tutorials Using Asp.net Membership and RoleProvider to Build Login Pages Bart's PE - rabbler - 博客园 Portal课题的相关词汇 计算机核心期刊一览 IE8 Beta2 安装与卸载之旅 水晶报表的使用 如何提高Asp.net2.0的效率
How to use JabRef (BibTeX) with Microsoft Word
rabbler · 2009-04-30 · via 博客园 - rabbler

How to use JabRef (BibTeX) with Microsoft Word 2003

March 25th, 2007 by James · 153 Comments

JabRefJabRef is one of the best reference managers available and provides a realistic alternative to Endnote, as well as being open-source & free. Unfortunately most users are not aware that JabRef (or any other BibTeX based reference manager) can easily be integrated for use with Microsoft Word. In this guide I will show you step-by-step how to install Mike Brookes‘ excellent free Bibtex4Word (v1.12) Word Macro Package on your Windows XP machine.

This post is for an old version of the BibTeX4Word Macro. The newest version can be found here on Mike Brookes’ site, along with excellent documentation.

These instructions assume that you are already familiar with JabRef and have a copy installed on your computer. If you wish you can download JabRef from here. I will cover how to use JabRef in a forthcoming guide.

1. Download MiKTeX

MiKTex is a LaTeX typesetting environment , you don’t need to be too concerned about the details of this, essentially MiKTeX contains BibTeX the ‘engine’ that is used for to generate the different referencing styles that you will now be able to call on to be able to submit to various journals eg. Harvard, Vancouver, Nature etc.

The link to MikTeX is here (and will open in a new window) You need to download and install the basic version, don’t worry about installing all the packages, you don’t need them.

2. Relocate your JabRef data File

Unfortunately BibTeX does not support filenames with spaces in them, if you have spaces in your path to your JabRef file you must relocate your data file to a directory without. My Bibliography file is called “bib.bib” and was located in “My Documents” which contains a space so I relocated it to a new folder “c:\References\bib.bib” Make a note of your location.

3.Set your Path

The macro requires that it can access the BibTeX package from the default path. The simplest way to set this is to go to

Start>>Settings>>Control Panel>> System>>Advanced>>Enviromental Variables>>System Variables

here you need to edit the “Path” entry by adding the path of the BibTeX executable, failure to do so will cause an “Error 53″ The path to my BibTeX executable is

C:\Program Files\MiKTeX 2.5\miktex\bin

Yours should be similar if you followed the default installation. If you are having problems use the Windows search feature to look for “Bibtex.exe”. Remember each entry on the path should be seperated by semi-colons for example my path is:-

d:\WINDOWS\system32;D:\WINDOWS;D:\Program Files\MiKTeX 2.5\miktex\bin;

4. Make Word Startup Folder Visible

By defaut on your machine you may have to make your Word startup folder visible, you can do this by going to Windows Explorer and selecting:-

Tools>>Folder Options>>Hidden files and folders>>Show hidden files and folders & Display the contents of system folders.

If you prefer not to see your system and hidden folders you can reverse this once complete.

5.Download the Macro

This can be found on Mike Brookes’ site here. Right click this link and use the “Save target as” or “Save Link as” option. You need to save it in your MS Word Startup folder which can be found at:-

C:\Documents and Settings\James\Application Data\Microsoft\Word\STARTUP

of course you will have substitute your username for mine, and possibly change the drive letter according to the setup of your machine. If you want this macro to be available to more than one user you will have to do this for each user. There is no need to change the MS Word security settings to enable this macro to work correctly.

6. Load Microsoft Word

Hopefully you will see this new toolbar. First you need to let the BibTeX4Word macro know where you keep your bibliography data file. You do this by clicking on the last but one icon (the open folder) and then finding the bibliography file which you made a note of earlier.

7.Start Citing

To add a citation position the cursor at the point you wish to insert the citation and click the [+] button, you can either type the BibTeX key directly eg “Davies2003″ or search for author’s papers from your bibliography by the surname by prefixing with A: eg “A:Davies”. You can cite more than one paper by just separating the keys by commas.

8.Creating your Bibliography List

When you are ready to create your bibliography, simply place your cursor where you wish it to appear and click the second icon from the left on the BibTex4Word toolbar. This will produce the bibliography and automatically change the bibliography keys to reference numbers. You can flip between the two with the [eye] key on the toolbar.

9.Changing the Citation Styles

This can be done by clicking the paintbrush logo. To find out what styles are available from your MikTeX installation you can search the BibTeX folder for style files which have the *.bst extension, or create your own as described in Mark’s recent article

Example Citation Styles

Example of Vancouver BibTeX Style

A selection of the more popular styles (Plain, Vancouver, AuthorDate and it’s variations) can be found in this pdf or this MS Word file.

Adding more Styles to BibTeX

If you installed the Basic MiKTeX package you will only have a small selection of styles. Not all BibTeX styles work well with the BibTeX4Word Macro, but most do. To add more go to

Start>>Programs>>MiKTeX 2.5>>MiKTeX Package Manger

Here you need to select all of the Category entitled “\BibTeX\BibTeX packages” then right click and select Install, and the latest versions will be downloaded and installed on your computer.

Customising Your Bibliography
You can format your bibliography directly, for example making citation numbers appear as subscript. If you wish you can change the citation brackets from square to round brackets, this is done using MS Word’s search and replace, though this is best left until you have finished your paper or thesis.

Download the Bibtex4word.zip