我在 Windows 7 上的 miktex 2.9 上使用 TeXlipse 1.5.0,并尝试使用该包multibib
创建多个参考书目。但我似乎无法让 TeXlipse 在多个参考书目上运行 bibtex。这是我的代码:
\documentclass[12pt,a4paper]{report}
\usepackage{natbib}
\usepackage{multibib}
\newcites{Prim,Sec}%
{Primary References,%
Secondary References}
\begin{document}
\chapter*{Introduction}
My primary literature is \citePrim{RefWorks:7142},
\citePrim{RefWorks:7143}, and \citePrim{RefWorks:7144}). My secondary literature is
\citeSec{RefWorks:7141}.
\bibliographystylePrim{plainnat}
\bibliographyPrim{IntroBib}
\bibliographystyleSec{plainnat}
\bibliographySec{IntroBib}
\end{document}
我的 bibtex 文件IntroBib.bib
是:
@article{RefWorks:7144,
author={Franklin Allen and Douglas Gale},
year={2000},
title={Bubbles and crises},
journal={The economic journal},
volume={110},
number={460},
pages={236-255}
}
@article{RefWorks:7142,
author={John M. Quigley},
year={2001},
title={Real estate and the Asian crisis},
journal={Journal of Housing Economics},
volume={10},
number={2},
pages={129-161}
}
@article{RefWorks:7143,
author={John M. Quigley},
year={1999},
title={Real Estate Prices and Economic Cycles},
journal={International Real Estate Review},
volume={2},
number={1},
pages={1-20}
}
@article{RefWorks:7141,
author={John B. Taylor},
year={2009},
title={The financial crisis and the policy responses: An empirical analysis of what went wrong},
journal={NBER Working Paper}
}
我已经使用以下批处理文件使其在 TeXworks 中运行:
@echo off
FOR %%A IN (*.aux) DO bibtex %1\%%A
使用参数 $directory,但我更希望它在 TeXlipse 中工作。我尝试实现此解决方案但未bibtex
在 prim.aux 和 sec.aux 上运行。如能提供任何帮助,不胜感激!