当我编译 Siams latex 模板时 https://www.springernature.com/gp/authors/campaigns/latex-author-support
我得到了错误的引用
https://drive.google.com/drive/folders/1b5YKychD_w4HRfb6v1lJd8oEDH5wvW24?usp=sharing
我正在使用 texmaker pdflatex -> bibtex -> bibtex -> pdflatex,它似乎适用于我做过的其他乳胶项目。
这个问题在 overleaf 上没有出现。有人知道发生了什么吗?我检查了我的 Miktex 是最新的。
答案1
(1).bst
将日志模板中包含的子目录中的所有文件bst
连同一起复制到工作目录main.tex
。
(2)用pdflatex
(它将运行两次)进行编译。
(3)bibtex8.exe
使用命令行运行bibtex8.exe main
(我使用的是 64 位操作系统)。
它应该结束于
The 8-bit codepage and sorting file: 88591lat.csf
The top-level auxiliary file: main.aux
The style file: sn-mathphys.bst
Database file #1: sn-bibliography.bib
(或者使用 texmaker 的内部快捷方式)。
(4)運行pdflatex
兩次。
这就是main.tex
。只sn-mathphys.bst
需要它就可以编译此示例。
%%% FILE main.tex
% !TeX TS-program = pdflatex
\documentclass[sn-mathphys]{sn-jnl}% Math and Physical Sciences Reference Style
\begin{document}
\title{Article Title}
\author*{\fnm{First} \sur{Author}}\email{[email protected]}
\abstract{The abstract serves both as a general introduction to the topic and as a brief, non-technical summary of the main results and their implications. Authors are advised to check the author instructions for the journal they are submitting to for word limits and if structural elements like subheadings, citations, or equations are permitted.}
\keywords{keyword1, Keyword2, Keyword3, Keyword4}
\maketitle
\section{Introduction}\label{sec1}
The Introduction section, of referenced text \cite{bib1} expands on the background of the work (some overlap with the Abstract is acceptable). The introduction should not include subheadings.
\bibliography{sn-bibliography}% common bib file
\end{document}