
Я использую стиль библиографии «jbact», и после нескольких наборов названия моих ссылок не отображаются.
Я слышал, что в стиле jbact есть строка кода для включения заголовков в ссылках, но я не смог выяснить, как именно это сделать.
Моя строка кода в начале выглядит следующим образом:
\documentclass[oneside]{book}
\begin{document}
\TOCadd{Bibliography}
\bibliographystyle{jbact}
\bibliography{BIB}
\end{document}
Мой бибтекс выглядит так:
@article{Lemaitre1997,
author = {Lemaitre, B. and Reichhart, J.M. and Hoffmann, J.A.},
year = {1997},
title = {Drosophila host defense: Differential induction of antimicrobial peptide genes after infection by various classes of microorganisms},
journal = {Proceedings of the National Academy of Sciences of the United States of America},
volume = {94},
pages = {14614 - 14619}
}
@article{Montenegro2005,
author = {Montenegro, H. and Solferini, V.N. and Klaczko, L.B. and Hurst, G.D.D.},
year = {2005},
title = {Male-kiling Spiroplasma naturally infecting Drosophila melanogaster},
journal = {Insect Molecular Biology},
volume = {14},
number = {3},
pages = {281 - 287}
}
Спасибо!
решение1
\nocite{TitlesOn}
, как написано в строке 27jbact.bst
% TITLES can be turned on and off!
% Just nocite the reference TitlesOn in the paper (i.e. \nocite{TitlesOn})
% and have a bibliography article in your database with that cite key!
% Without titles is Journal of Molecular Biology;
% With titles is Journal of Theoretical Biology.
Примечание:
Необходима соответствующая запись в файле .bib.
\documentclass[oneside]{book}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{Montenegro2005,
author = {Montenegro, H. and Solferini, V.N. and Klaczko, L.B. and Hurst, G.D.D.},
year = {2005},
title = {Male-kiling Spiroplasma naturally infecting Drosophila melanogaster},
journal = {Insect Molecular Biology},
volume = {14},
number = {3},
pages = {281 - 287}
}
@article{TitlesOn,
author = "TitlesOn",
title = "TitlesOn",
journal = "TitlesOn",
volume = "TitlesOn",
comment = "If this is nocited, then titles will be turned on in JMB style",
year = "1900"}
\end{filecontents}
\begin{document}
\nocite{TitlesOn}
\cite{Montenegro2005}
\bibliographystyle{jbact}
\bibliography{\jobname}
\end{document}