Latex(Emacs+Auctex+Jabref)中参考文献处理

>> 文献管理用 Jabref,可以很方便的管理文献,其 BibTeX 文献数据库可供 Latex 或其他软件使用,可与 emacs,vim,kile 等多种软件结合使用。所有文献信息都被记录在bib文件中。格式如下,(myref.bib)。

@ARTICLE{Journel1994,
  author = {Journel, André and Xu, Wenlong},
  title = {Posterior identification of histograms conditional to local data},
  journal = {Mathematical Geology},
  year = {1994},
  volume = {26},
  pages = {323-359},
  note = {10.1007/BF02089228},
  __markedentry = {[mao]},
  abstract = {Stochastic simulation techniques which do not depend on a back transform
	step to reproduce a prior marginal cumulative distribution function
	(cdf) may lead to deviations from that distribution which are deemed
	unacceptable. This paper presents an algorithm to post process simulated
	realizations or any spatial distribution to reproduce the target
	cdf in the case of continuous variables or target proportions in
	the case of categorical variables, yet honoring the conditioning
	data. Validations conducted for both continuous and categorical cases
	show that. by adjusting the value of a correction level parameter
	, the target cdf or proportions can be well reproduced without significant
	modification of the spatial correlation patterns of the original
	simulated realizations .},
  affiliation = {Stanford University Geological and Environmental Sciences Department
	94305 Stanford California},
  issn = {0882-8121},
  issue = {3},
  keyword = {Earth and Environmental Science},
  owner = {mao},
  publisher = {Springer Netherlands},
  timestamp = {2011.10.13},
  url = {http://dx.doi.org/10.1007/BF02089228}
}

>> 用 Emacs+Auctex 写文章时参考文献的引用方法:

首先将 bib 文件放到 tex 同一目录下,在 tex 文档中加入

\bibliographystyle{ieeetr}
\bibliography{myref}

这里,bibliographystyle 有很多种,可以查看 /usr/share/texmf-texlive/bibtex/bst/base 里面的bst文件。接下来我们就可以用 \cite{} 来引用文献库中的论文了,在emcas中可以直接C-c [ 来插入,不过需要开启 reftex mode。 M-x reftex-mode <RET>开启,然后点开 Ref 选项 --> Parse Document --> Entire Document。当然也可以编辑.emacs文件,添加

(add-hook 'LaTeX-mode-hook 'turn-on-reftex) ; with AUCTeX LaTeX mode
(setq reftex-external-file-finders 
'(("tex" . "kpsewhich -format=.tex %f") 
("bib" . "kpsewhich -format=.bib %f")))

>> An example
\documentclass[11pt,a4paper]{article}
\usepackage{bm} % for math symbols bold
\usepackage{amsmath,amssymb,amsfonts}

\title{A short Note on Everything\\[1ex] \begin{large} \LaTeX{} is
cool \end{large}}
\author{Ganquan Mao}
\date{}

\bibliographystyle{ieeetr}
\begin{document}
\maketitle

\input{seckrig}
%\include{}
an example.\cite{Journel1994}

\bibliography{myref}

\end{document}

参考:瀚海星云


Customizing the BibTeX key generator

你可能感兴趣的:(Algorithm,Math,include,emacs,generator,variables)