有没有办法将 bib 元素“链接回” bibtex 中引用它们的页面?
假设我有三个 bib 项目。我在第 5、10 页引用第一个;在第 7、11、20 页引用第二个;在第 15 页引用第三个。
我想要一份这样的书目:
Bibliography:
[1] Item1; pages: [5], [10]
[1] Item1; pages: [7], [11], [20]
[1] Item1; pages: [15]
它们[pag]
是可点击的,并且是自动生成的,无需手动生成。
我正在使用类似以下的 bibtex:
\bibliographystyle{bibstyle}
\bibliography{bib_here}
而biblio_here
bib 只是一个条目列表,例如:
@article{bib_1,
author = "Author1_Here",
title = "{Title1_here}",
...
}
编辑:我遵循了下面的评论,虽然我修改了 backref 命令以使其更详细,但我不喜欢仅仅列出指向页面的链接。我从 tex.stackexchange.com/questions/183702/… 中获得了灵感,但最终我在引用末尾和反向引用列表之间留出了更大的间距。我现在使用的代码是:
\usepackage[pagebackref=true]{hyperref}
\renewcommand*{\backref}[1]{}
\renewcommand*{\backrefalt}[4]{
\ifcase #1 Not cited.%
\or(cited on page~#2)%
\else(cited on pages #2)%
\fi%
}
答案1
我的论文需要类似的东西,我使用的代码如下。也可以通过更改backend=biber
我使用的代码来工作。您需要将 [FULLPATH] 更改为 .bib 文件所在的任何路径。
代码:
\documentclass[oneside]{memoir}
\usepackage[abbreviate=false, % Gets rid of abbreviations in things like cited (cit. was default)
backend=bibtex, % Required to use biber in arrow drop down
backref=true, % Prints back references e.g (cit. pp. 1)
backrefstyle=none, % How to sequence page numbers in back references
hyperref=true, % Enables hyperref
indexing=true, % Enables indexing
natbib=true, % Enables natbib
]{biblatex}
\usepackage{hyperref}
\addbibresource{C:/[FULLPATH]/TestingZ.bib} % Sets bibliography .bib path
\begin{document}
\cite{Hak20}
\printbibliography
\end{document}
TestingZ.bib:
@article{Hak20,
title = {An immobilized invertase enzyme for the selective determination of sucrose in fruit juices},
volume = {611},
issn = {0003-2697},
url = {https://www.sciencedirect.com/science/article/pii/S0003269720305327},
doi = {https://doi.org/10.1016/j.ab.2020.114000},
abstract = {Poly(N-vinylpyrrolidone-co-butylacrylate-co-N-hydroxymethylacrylamide) has been synthesized by free radical polymerization at 70 °C. Copolymer were characterized by {FT}-{IR}, elemental analysis and viscometric methods. Invertase was immobilized onto poly(N-vinyl pyrrolidone-co-butyl acrylate-co-N-hydroxymethyl acrylamide) by entrapment method. Optimum parameters ({pH}, temperature, substrate concentration, amount of polymer) for immobilization to obtain maximum activity were investigated. Kinetic parameters, Km and Vmax, of the free and immobilized invertases were also assayed. Results showed that immobilization enhanced the enzyme stability against changes of {pH} and temperature and immobilized enzyme showed lower Km value than free enzyme. One of the most interesting results is that the optimum operational temperature of the immobilized enzyme was 15 °C higher than that of the free enzyme. The next is the activity of the immobilized enzyme at the optimum temperature (70 °C) was approximately the same as the activity of the free enzyme at its optimum temperature (55 °C). Finally, immobilized invertase were used for determination of sucrose in commercial fruit juices. A new method and equation based on immobilized invertase were derived for determination of sucrose in commercial cheryy and pomegranate juices.},
pages = {114000},
journaltitle = {Analytical Biochemistry},
author = {Hakkoymaz, Orhun and Mazi, Hidayet},
date = {2020},
keywords = {Enzyme, Immobilization, Invertase, Juice, Method, Sucrose},
}
希望这会有所帮助,如有任何问题请告诉我。
编辑:只是为了证明它也适用于多个页码:
只需将此代码添加到之前\printbibliography
即可看到它在我提供的示例代码中运行:
\cite{Hak20}
\newpage
\cite{Hak20}
\newpage
\cite{Hak20}
\newpage
\cite{Hak20}
\newpage
我确信它可以被定制以提供您想要的精确布局,但我还在学习 LaTeX,所以我现在无法帮助您进行布局。