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

相關內容