You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

MacTeX下.bbl文件不匹配:参考文献作者名显示异常求助

Bib条目作者名输出退格覆盖问题的解决方法

问题描述

  • 在MacTeX环境中使用包含约1000条目的Bib文件时,其中两个条目输出异常:作者名被退格覆盖显示
  • 初步怀疑与作者名的重音符号有关,但存在带重音的作者名可正常显示的情况

相关代码示例

原Bib文件异常条目

%% This BibTeX bibliography file was created using BibDesk.
%% https://bibdesk.sourceforge.io/

%% Created for BJ at 2025-10-09 15:34:39 +0200 

%% Saved with string encoding Unicode (UTF-8) 

@article{Gonzalez2017a,
    author = {Romàn-Gonzalez, Marcos and Pérez-Gonzalez, JuanCarlos and Jiménex-Fernández Carmen},
    date-added = {2025-10-09 14:57:47 +0200},
    date-modified = {2025-10-09 15:33:47 +0200},
    doi = {/10.1016/j.chb.2016.08.047},
    journal = {Computers in Human Behavior},
    number = {2017},
    pages = {678-691},
    title = {{Which cognitive abilities underlie computational thinking? Criterion validity of the Computational Thinking Test}},
    volume = {72},
    year = {2017},
    bdsk-url-1 = {https://doi.org/10.1016/j.chb.2016.08.047}}

@conference{Gonzalez2017,
    author = {Romàn-Gonzalez, M. and Moreno-León, J. and Robles, G.},
    booktitle = {International Conference on Computational Thinking Education},
    date-added = {2025-10-09 14:19:31 +0200},
    date-modified = {2025-10-09 15:33:29 +0200},
    month = {7},
    organization = {Research Gate},
    title = {{Complementary Tools for Computational Thinking Assessment}},
    year = {2017}}

关联TeX文件代码

\documentclass[man, donotrepeattitle, floatsintext, 12pt, a4paper]{apa7}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\usepackage[american]{babel}
 \usepackage{csquotes}
 \usepackage[style=apa,sortcites=true,sorting=nyt,backend=biber]{biblatex}
 
 \usepackage{graphicx}
 \usepackage{color,soul}
 \usepackage{array, longtable}
 \usepackage{enumitem}
 \usepackage{makecell}
 \usepackage[american]{varioref}
 \usepackage{lipsum}
 
 \setlist{nosep} % 消除列表的所有垂直间距

% 标题设置
\title{bib trial}

\shorttitle{Literarture}
\authorsnames{xxxx}
\authorsaffiliations{OU}

\duedate{Aug-2025}


\abstract{ }

\addbibresource{trial.bib}
\DeclareBibliographyAlias{webpage}{online}



\begin{document}
\maketitle

\begin{tabbing}
123456789012345678901234567890123\= \kill
\textcite{Gonzalez2017}\> CT test\\
\textcite{Gonzalez2017a}\> CT test\\
\end{tabbing}

\printbibliography
\end{document}

问题根源分析

排查后发现两个核心错误:

  1. 作者名格式错误:Gonzalez2017a条目里的第三个作者Jiménex-Fernández Carmen未用逗号分隔姓与名,且存在拼写错误(Jiménex应为Jiménez),导致Biber解析作者信息时出现混乱
  2. 条目类型不兼容:biblatex-apa风格不支持@conference类型,该类型会引发处理逻辑异常,进而导致排版错乱

修复步骤

修正Bib文件

  1. 修复Gonzalez2017a的作者格式与拼写:
@article{Gonzalez2017a,
    author = {Romàn-Gonzalez, Marcos and Pérez-Gonzalez, JuanCarlos and Jiménez-Fernández, Carmen},
    date-added = {2025-10-09 14:57:47 +0200},
    date-modified = {2025-10-09 15:33:47 +0200},
    doi = {10.1016/j.chb.2016.08.047},
    journal = {Computers in Human Behavior},
    number = {2017},
    pages = {678-691},
    title = {{Which cognitive abilities underlie computational thinking? Criterion validity of the Computational Thinking Test}},
    volume = {72},
    year = {2017},
    bdsk-url-1 = {https://doi.org/10.1016/j.chb.2016.08.047}
}
  1. 将@conference替换为biblatex-apa支持的@inproceedings类型:
@inproceedings{Gonzalez2017,
    author = {Romàn-Gonzalez, M. and Moreno-León, J. and Robles, G.},
    booktitle = {International Conference on Computational Thinking Education},
    date-added = {2025-10-09 14:19:31 +0200},
    date-modified = {2025-10-09 15:33:29 +0200},
    month = {7},
    organization = {Research Gate},
    title = {{Complementary Tools for Computational Thinking Assessment}},
    year = {2017}
}

重新编译文档

按照以下顺序执行编译命令,确保Biber正确处理修正后的条目:

  1. 运行pdflatex
  2. 运行biber
  3. 运行两次pdflatex

内容的提问来源于stack exchange,提问作者BenJ

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.12 05:40:07