lyx:在载入参考书目后编辑参考书目选项

lyx:在载入参考书目后编辑参考书目选项

我正在用 LyX 2.3.7 撰写博士论文,并一直试图将参考书目(内置于 JabRef)转换为我想要的格式,但似乎无法做到。问题如下:

1:我无法修复参考书目中的最大作者数量,甚至无法使用 maxbibnames 选项。

2:我无法让参考书目项目按引用顺序显示。它们似乎保持了在 bib 文件中写入的顺序。我尝试了所有可能的样式组合,添加了 \renewcommand\bibliographystyle{unsrt} 和其他选项,但问题始终没有得到解决。

目前我还没有加载任何序言(之前的所有尝试都失败了),我通过 LyX 界面使用的参考书目选项如下

在此处输入图片描述

我现在得到的结果是这种类型

在此处输入图片描述

我想(如果可能的话)保留以数字显示的参考书目和参考文献,并按正文中的引用顺序排列。

我知道 LyX 在序言之后加载 biblatex 包,并且使用“\AtBeginDocument”命令原则上可以在加载后潜入代码,但似乎没有任何效果。

如果有人能帮助我解决这个问题,我将非常感激。非常感谢!

编辑 1:如果我要求 LyX 导出为 PDFLatex,这里是 Tex 中间文件

 %% LyX 2.3.7 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{geometry}
\geometry{verbose,tmargin=3cm,bmargin=4cm,lmargin=3cm,rmargin=3cm,headheight=1cm,headsep=1cm,footskip=2cm}
\setlength{\parskip}{\medskipamount}
\setlength{\parindent}{0pt}
\usepackage{setspace}
\doublespacing

\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.



\AtBeginDocument{
\renewcommand{\refname}{Bibliography}
}

\makeatother

\usepackage{babel}
\usepackage[style=numeric-comp]{biblatex}
\addbibresource{\string"bibliography test.bib\string"}
\begin{document}
\title{\onehalfspacing{}test thesis}

\maketitle
here is the first and second citation \citep{FrigeriAgterbergMilatEtAl,MiyadaiKikuchiKondoEtAl}
here is the third citation \citep{TsurutaMitoKousakaEtAl} here is
the fourth citation \citep{Miranda2021}

\printbibliography

\end{document}

有此结果

在此处输入图片描述

编辑 2:这是 Lyx 文件和参考书目的链接 https://file.io/7NNQwtyxa9RM

相关内容