thuthesis icon indicating copy to clipboard operation
thuthesis copied to clipboard

`\citet`在引用数字不连续时,会显示不正确

Open vincent-skywalker opened this issue 6 months ago • 5 comments

提交前检查

  • [x] 我已经充分阅读了模板文档。
  • [x] 我的问题并非关于模板的用法(否则请前往 discussions 提出)。
  • [x] 我已经搜索了已有的 issues 和 discussion,确认没有重复提交。

系统

Windows

TeX 发行版

Tex Live 2024

TeX 编译器

XeLaTeX

版本

7.6.0

学位类型

doctor

问题描述

使用了biblatex\citet在引用数字不连续时,会显示不正确。\citet有问题,但\cite是好的

Image

具体代码见分支test-citet

复现代码

\citet{savioGeometricModelingLattice2018} \citet{aaas1883science}

\citet{savioGeometricModelingLattice2018, savioImplicationsModelingApproaches2019}

Savio等\cite{savioGeometricModelingLattice2018, savioImplicationsModelingApproaches2019}

编译日志


其他信息

No response

vincent-skywalker avatar Jun 23 '25 07:06 vincent-skywalker

Fwd @hushidong

MRE:

\documentclass[UTF8]{ctexart}

\begin{filecontents}[overwrite, noheader]{\jobname.bib}
@periodical{aaas1883science,
  author     = {{American Association for the Advancement of Science}},
  title      = {Science},
  year       = {1883},
  volume     = {1},
  number     = {1},
  address    = {Washington, D.C.},
  publisher  = {American Association for the Advancement of Science},
}

@article{savioGeometricModelingLattice2018,
  title = {Geometric Modeling of Lattice Structures for Additive Manufacturing},
  author = {Savio, Gianpaolo and Meneghello, Roberto and Concheri, Gianmaria},
  date = {2018-03-12},
  journaltitle = {Rapid Prototyping Journal},
  volume = {24},
  number = {2},
  pages = {351--360},
  publisher = {Emerald Publishing Limited},
  langid = {english}
}

@article{savioImplicationsModelingApproaches2019,
  title = {Implications of Modeling Approaches on the Fatigue Behavior of Cellular Solids},
  author = {Savio, Gianpaolo and Rosso, Stefano and Curtarello, Andrea and Meneghello, Roberto and Concheri, Gianmaria},
  date = {2019-01-01},
  journaltitle = {Additive Manufacturing},
  volume = {25},
  pages = {50--58},
  issn = {2214-8604},
}
\end{filecontents}

\usepackage[style=gb7714-2015]{biblatex}
\addbibresource{\jobname.bib}


\begin{document}

\citet{savioGeometricModelingLattice2018} \citet{aaas1883science}

\citet{savioGeometricModelingLattice2018, savioImplicationsModelingApproaches2019}

\textcite{savioGeometricModelingLattice2018, savioImplicationsModelingApproaches2019}

Savio等\cite{savioGeometricModelingLattice2018, savioImplicationsModelingApproaches2019}

\printbibliography

\end{document}
Image

zepinglee avatar Jun 24 '25 07:06 zepinglee

感谢,这是个bug,以前没有注意到,会尽快处理。

hushidong avatar Jun 24 '25 15:06 hushidong

已修正。由于没有进行版本更新,无法通过更新ctan宏包来更新,所以请从 https://github.com/hushidong/biblatex-gb7714-2015, https://github.com/hushidong/biblatex-gb7714-2025 下载最新的gb7714-2015.cbx,gb7714-2025.cbx 覆盖系统内的对应文件。

hushidong avatar Jun 24 '25 15:06 hushidong

已修正。由于没有进行版本更新,无法通过更新ctan宏包来更新,所以请从 https://github.com/hushidong/biblatex-gb7714-2015, https://github.com/hushidong/biblatex-gb7714-2025 下载最新的gb7714-2015.cbx,gb7714-2025.cbx 覆盖系统内的对应文件。

感谢修改!

顺便问一下,\textcite 的括号部分不是上标,是出于什么考虑吗?在我的理解中,\textcite\citet 应该是一致的。

zepinglee avatar Jun 26 '25 15:06 zepinglee

目的主要是提供不同形式的标注标签,让用户可以更方便更多的选择。如果要变成相同,可以简单用let来等价一下。

hushidong avatar Jun 26 '25 15:06 hushidong