这个问题涉及对参考书目的微调。我收集了 bib 文件(可从期刊文章的来源下载),并将它们全部放在一个书目目录文件。以下是包含 biblio.bib 文件片段的文件。
序言.tex
\usepackage[natbib=true,style=authoryear,backend=bibtex8]{biblatex}
\usepackage[margin=2.54cm,top=2.54cm]{geometry}
\usepackage{amscd, amsfonts, amsmath, amssymb, amstext}
\usepackage{accents}
\usepackage{hyperref}
\usepackage{graphicx}
\usepackage{epstopdf}
\addbibresource{biblio.bib}
% Used by included files to know they
% are NOT standalone
\usepackage{ifthen}
\newboolean{standaloneFlag}
\setboolean{standaloneFlag}{true}
%% Command to conditionally typeset a bibliography.
\newcommand{\standaloneBib}{%%
\ifthenelse{\boolean{standaloneFlag}}%%
{\printbibliography}{}}
大师
\documentclass[12pt]{report}
\usepackage{standalone}
\input{preamble}
\begin{document}
\setboolean{standaloneFlag}{false}
\input{indiv1}
\input{indiv2}
\printbibliography
\end{document}
个体1.tex
\documentclass[12pt]{report}
\usepackage{standalone}
\input{preamble}
\begin{document}
\chapter{Solving \citeauthor{GreenwoodAER1988}\citeyearpar{GreenwoodAER1988} using Linear Quadratic Approximation}
\end{document}
Indiv2.tex
\documentclass[12pt]{report}
\usepackage{standalone}
\input{preamble}
\begin{document}
\chapter{Solving \citeauthor{KKR2008}\citeyearpar{KKR2008}}
\standaloneBib
\end{document}
书目目录
@article{Azzimonti20091662,
title = "Distortionary taxes and public investment when government promises are not enforceable",
journal = "Journal of Economic Dynamics and Control",
volume = "33",
number = "9",
pages = "1662 - 1681",
year = "2009",
note = "",
issn = "0165-1889",
doi = "10.1016/j.jedc.2009.03.003",
url = "http://www.sciencedirect.com/science/article/pii/S0165188909000633",
author = "Marina Azzimonti and Pierre-Daniel Sarte and Jorge Soares",
keywords = "Public investment",
keywords = "Commitment",
keywords = "Time consistency",
keywords = "Discretion",
keywords = "Ramsey",
keywords = "Markov-perfect"
}
@book{Bellman1957,
author = "Bellman, Richard E.",
title = "Dynamic Programming",
url = "http://press.princeton.edu/titles/9234.html",
publisher = "Princeton University Press",
address = "Princeton, N.J.",
year = "1957",
ISBN = "9780691146683",
keyword = "Dynamic programming"
}
@book{Diaz-GimenezOUP99,
author = "Javier Díaz-Giménez",
title = "Linear Quadratic Approximations: An Introduction",
chapter = "2",
pages = "13 - 29",
year = "1999",
publisher = "Oxford University Press",
address = "Oxford",
url = "http://www.oxfordscholarship.com/10.1093/0199248273.001.0001/acprof-9780199248278-chapter-2"
keyword=""
}
@article{GreenwoodAER1988,
jstor_articletype = {research-article},
title = {Investment, Capacity Utilization, and the Real Business Cycle},
author = {Greenwood, Jeremy and Hercowitz, Zvi and Huffman, Gregory W.},
journal = {The American Economic Review},
jstor_issuetitle = {},
volume = {78},
number = {3},
jstor_formatteddate = {Jun., 1988},
pages = {pp. 402-417},
url = {http://www.jstor.org/stable/1809141},
ISSN = {00028282},
year = {1988},
publisher = {American Economic Association},
copyright = {Copyright © 1988 American Economic Association},
}
@article{HansenPrescott92,
title = "Recursive Methods for Computing Equilibria of Business Cycle Models",
journal = "FRB Minneapolis Discussion Paper",
volume = "",
number = "36",
pages = "",
year = "1992",
note = "",
issn = "",
doi = "",
url = "http://www.minneapolisfed.org/publications_papers/pub_display.cfm?id=35",
author = "Gary D. Hansen and Edward C. Prescott",
keywords = "",
keywords = ""
}
@ARTICLE{KKR2008,
author = {Klein, Paul and Krusell, Per and Rios-Rull, Jose-Victor},
title = {Time-Consistent Public Policy},
journal = {Review of Economic Studies},
year = {2008},
volume = {75},
pages = {789--808},
number = {3},
doi = {10.1111/j.1467-937X.2008.00491.x},
issn = {1467-937X},
publisher = {Blackwell Publishing Ltd},
url = {http://dx.doi.org/10.1111/j.1467-937X.2008.00491.x}
}
@article{Prescott98,
title = "Business Cycle Research: Methods and Problems",
journal = "FRB Minneapolis Discussion Paper",
volume = "",
number = "590",
pages = "",
year = "1998",
note = "",
issn = "",
doi = "",
url = "http://www.minneapolisfed.org/publications_papers/pub_display.cfm?id=761",
author = "Edward C. Prescott"
}
但是,如您所见,各个期刊在 bib 文件中提供的信息各不相同。样式也各不相同 - 使用 {} 和 ""。我想知道“我可以指定附录中要包含哪些信息(排版后)。如果可能的话,我不想编辑从来源获得的 bib 文件。”
答案1
首先,我不会真正为 .bib 文件中的条目样式而烦恼,bibtex 允许不同的形式,如“”或 {},带或不带缩进...等等,修改每个条目会很耗时且毫无意义。
据我所知,您不能在 bib 条目中注释某个字段,这对于您来说会很方便,所以我想您可以将下载的原始 bib 文件单独保存在某处,然后在要编译的 bib 文件中对其进行修改。
关于 URL 问题,您可以在您的领域中简单地使用以下内容:
@article{GoodArtcl,
title={\href{www.articlegood.com}{The Good Article}},
author={John Do}
}
显然,命令中的第一个值\href
是 URL,第二个值是超文本,显示为“好文章”,并链接到您选择的 URL。
关于参考书目样式,我建议你使用makebst.tex,您必须使用 LaTeX 进行编译,它会询问您一系列有关您对参考书目样式的偏好的问题。
编辑:请参阅 Joseph 对以下有关抑制特定字段的问题的回答:https://tex.stackexchange.com/a/23118/9241
附言:这个答案部分是对原始问题中已删除的询问的回复;URL 问题。