比伯突然情绪不稳定

比伯突然情绪不稳定

突然间,biber(在 bibtex 下)变得不稳定,有时它不会将引用密钥编译成参考文献。实际上,这意味着在 pdf 中打印的是引用密钥,而不是参考文献。

手动运行时Tools -> Commands -> Biber它会再次工作......一段时间。

关于如何修复该问题有什么建议吗?

问题再次出现(在几次成功编译之后)。我已经添加了日志文件(有没有更好的添加方法?):

'firstinits' option is deprecated, use 'giveninits' instead.
Upgrade package 'polyglossia' to >v1.42.0 recommended.
'babel/polyglossia' detected but 'csquotes' missing.
Conflicting options.
Not defining \perthousand.
Not defining \micro.
Overfull \hbox (5.69069pt too wide) in alignment
Font shape `OMS/LiberationSerif(0)/bx/n' undefined(Font) using `OMS/cmsy/m/n' instead
Font shape `OMS/LiberationSerif(0)/m/n' undefined(Font) using `OMS/cmsy/m/n' instead
Underfull \hbox (badness 10000) in paragraph
Citation 'bahn2015' on page 6 undefined
Citation 'bahn2016' on page 6 undefined
Citation 'bahn2016a' on page 6 undefined
Citation 'bahn2017a' on page 6 undefined
Citation 'bahn2017b' on page 6 undefined
Citation 'bahn2017c' on page 6 undefined
Citation 'bahn2017d' on page 6 undefined
Citation 'bahn2017e' on page 6 undefined
Citation 'clivaz2017' on page 6 undefined
Citation 'bahn2018' on page 6 undefined
Citation 'winslow2018' on page 6 undefined
Citation 'bahn2018a' on page 6 undefined
Citation 'bahn2009' on page 7 undefined
Citation 'allerup2012' on page 7 undefined
Citation 'allerup2012' on page 7 undefined
Citation 'allerup2012' on page 7 undefined
Citation 'sorensen2014' on page 7 undefined
Citation 'niss2002' on page 7 undefined
Citation 'niss2006' on page 7 undefined
Citation 'jespersen2013' on page 7 undefined
Overfull \hbox (10.5564pt too wide) in paragraph
Citation 'artigue2013' on page 8 undefined
Citation 'rocard2007' on page 8 undefined
Citation 'q-model' on page 8 undefined
Citation 'artigue2012' on page 8 undefined
Citation 'rocard2007' on page 8 undefined
Citation 'mogensen2011' on page 8 undefined
Citation 'niss2006' on page 8 undefined
Citation 'rocard2007' on page 8 undefined
Citation 'lindhart2007' on page 8 undefined
Citation 'rocard2007' on page 8 undefined
Citation 'artigue2013' on page 8 undefined
Citation 'bruce2008' on page 8 undefined
Citation 'jackson2009a' on page 8 undefined
Citation 'seidel2011' on page 8 undefined
Citation 'tripp2012' on page 8 undefined
Citation 'stigler1999' on page 8 undefined
Citation 'isoda2007' on page 8 undefined
Citation 'makinae2010' on page 8 undefined
Citation 'becker1997' on page 8 undefined
Citation 'nohda1995' on page 8 undefined
Citation 'nohda2000' on page 8 undefined
Citation 'stigler1999' on page 8 undefined
Citation 'isoda2015a' on page 8 undefined
Overfull \hbox (8.00838pt too wide) in paragraph
Citation 'isoda2007' on page 8 undefined
Citation 'fernandez2004' on page 8 undefined
Citation 'stigler2016' on page 8 undefined
Citation 'bahn2018' on page 9 undefined
Citation 'lewis2016' on page 9 undefined
Citation 'murata2011' on page 9 undefined
Citation 'miyakawa2009' on page 9 undefined
Citation 'miyakawa2017' on page 9 undefined
Overfull \hbox (28.85829pt too wide) in paragraph
Citation 'isoda2007' on page 10 undefined
Citation 'makinae2010' on page 10 undefined
Citation 'makinae2010' on page 10 undefined
Citation 'makinae2010' on page 10 undefined
Citation 'makinae2010' on page 10 undefined
Overfull \hbox (11.70674pt too wide) in paragraph
Citation 'fernandez2004' on page 10 undefined
Citation 'fernandez2004' on page 10 undefined
Citation 'lewis2009' on page 10 undefined
Citation 'stigler1999' on page 10 undefined
Citation 'fujii2016a' on page 10 undefined
Underfull \hbox (badness 10000) in paragraph
Citation 'fujii2014' on page 10 undefined
Citation 'takahashi2016' on page 10 undefined
Citation 'murata2011' on page 10 undefined
Citation 'takahashi2016' on page 10 undefined
Citation 'winslow2018' on page 10 undefined
Citation 'winslow2018' on page 10 undefined
Citation 'fujii2016a' on page 10 undefined
Citation 'fujii2016a' on page 10 undefined
Citation 'miyakawa2013' on page 10 undefined
Citation 'miyakawa2009' on page 11 undefined
Citation 'watanabe2008' on page 11 undefined
Citation 'takahashi2011a' on page 11 undefined
Citation 'takahashi2011a' on page 11 undefined
Citation 'fujii2014' on page 11 undefined
Citation 'fujii2014' on page 11 undefined
Citation 'isoda2015a' on page 11 undefined
Citation 'watanabe2008' on page 11 undefined
Citation 'fujii2016' on page 11 undefined
Citation 'hino2007' on page 11 undefined
Citation 'miyakawa2017' on page 11 undefined
Citation 'lewis2016' on page 11 undefined
Citation 'miyakawa2017' on page 11 undefined
Citation 'fujii2016a' on page 11 undefined
Citation 'takahashi2014' on page 11 undefined
Citation 'takahashi2014' on page 11 undefined
Citation 'takahashi2014' on page 11 undefined
Citation 'takahashi2014' on page 11 undefined
Citation 'takahashi2011a' on page 11 undefined
Citation 'takahashi2011a' on page 11 undefined
Citation 'lewis2016a' on page 12 undefined
Citation 'lewis2016a' on page 12 undefined
Citation 'lewis2016a' on page 12 undefined
Citation 'lewis2011a' on page 12 undefined
Citation 'inoue2011' on page 12 undefined
Underfull \hbox (badness 10000) in paragraph
Citation 'winslow2018' on page 12 undefined
Citation 'winslow2018' on page 12 undefined
Citation 'murata2011' on page 12 undefined
Citation 'murata2011' on page 13 undefined
Citation 'takahashi2016' on page 13 undefined
Citation 'fujii2014' on page 13 undefined
Citation 'murata2011' on page 13 undefined
Citation 'isoda2015a' on page 13 undefined
Overfull \hbox (4.26518pt too wide) in paragraph
Citation 'fujii2014' on page 13 undefined
Citation 'fujii2014' on page 13 undefined
Citation 'fujii2014' on page 13 undefined
Citation 'hart2011a' on page 13 undefined
Citation 'quaresma2018' on page 13 undefined
Citation 'fernandez2004' on page 13 undefined
Citation 'hino2007' on page 13 undefined
Citation 'ermeling2014' on page 13 undefined
Citation 'takahashi2016' on page 13 undefined
Citation 'winslow2004' on page 13 undefined
Citation 'winslow2004' on page 13 undefined
Citation 'winslow2006' on page 13 undefined
Citation 'miyakawa2009' on page 13 undefined
Citation 'miyakawa2013' on page 13 undefined
Citation 'miyakawa2017' on page 13 undefined
Citation 'winslow2012a' on page 13 undefined
Citation 'mogensen2011' on page 14 undefined
Citation 'rasmussen2016a' on page 14 undefined
Citation 'ostergaard2016' on page 14 undefined
Citation 'becker1997' on page 14 undefined
Citation 'becker1997' on page 14 undefined
Citation 'isoda2007' on page 14 undefined
Citation 'nohda2000' on page 14 undefined
Citation 'becker1997' on page 14 undefined
Citation 'hino2007' on page 14 undefined
Citation 'stigler1999' on page 14 undefined
Citation 'hino2007' on page 14 undefined
Citation 'isoda2015a' on page 14 undefined
Citation 'nohda2000' on page 14 undefined
Citation 'isoda2015a' on page 14 undefined
Citation 'nohda2000' on page 14 undefined
Citation 'nohda1995' on page 14 undefined
Citation 'nohda2000' on page 14 undefined
Citation 'nohda2000' on page 14 undefined
Citation 'nohda1995' on page 14 undefined
Citation 'becker1997' on page 14 undefined
Citation 'becker1997' on page 15 undefined
Citation 'nohda1995' on page 15 undefined
Citation 'nohda2000' on page 15 undefined
Citation 'becker1997' on page 15 undefined
Citation 'nohda1995' on page 15 undefined
Citation 'nohda2000' on page 15 undefined
Citation 'isoda2015a' on page 15 undefined
Underfull \hbox (badness 10000) in paragraph
Citation 'nohda2000' on page 15 undefined
Citation 'nohda2000' on page 15 undefined
Citation 'nohda2000' on page 15 undefined
Citation 'nohda2000' on page 15 undefined
Citation 'nohda2000' on page 15 undefined
Citation 'nohda2000' on page 15 undefined
Citation 'miyakawa2009' on page 15 undefined
Citation 'miyakawa2009' on page 15 undefined
Citation 'miyakawa2009' on page 15 undefined
Citation 'miyakawa2009' on page 15 undefined
Citation 'miyakawa2009' on page 15 undefined
Citation 'nohda2000' on page 16 undefined
Citation 'nohda2000' on page 16 undefined
Citation 'nohda2000' on page 16 undefined
Underfull \hbox (badness 4403) in paragraph
Citation 'nohda2000' on page 16 undefined
Citation 'nohda2000' on page 16 undefined
Citation 'nohda2000' on page 16 undefined
Underfull \hbox (badness 10000) in paragraph
Underfull \hbox (badness 10000) in paragraph
Citation 'nohda1995' on page 16 undefined
Citation 'becker1997' on page 16 undefined
Citation 'becker1997' on page 16 undefined
Citation 'nohda2000' on page 16 undefined
Citation 'nohda2000' on page 16 undefined
Citation 'chevallard1988' on page 16 undefined
Citation 'brousseau1997' on page 17 undefined
Citation 'hersant2005' on page 17 undefined
Citation 'miyakawa2015' on page 17 undefined
Citation 'miyakawa2009' on page 17 undefined
Citation 'margolinas2005' on page 17 undefined
Citation 'clivaz2016' on page 17 undefined
Citation 'clivaz2015' on page 17 undefined
Citation 'clivaz2018a' on page 17 undefined
Citation 'winslow2018' on page 17 undefined
Citation 'masoval2011' on page 18 undefined
Citation 'warfield2013' on page 18 undefined
Citation 'brousseau1997' on page 18 undefined
Underfull \hbox (badness 10000) in paragraph
Citation 'brousseau1997' on page 18 undefined
Citation 'brousseau1997' on page 18 undefined
Citation 'perrin-glorian2008' on page 18 undefined
Citation 'brousseau1997' on page 21 undefined
Citation 'brousseau1997' on page 21 undefined
Citation 'brousseau1997' on page 21 undefined
Underfull \hbox (badness 10000) in paragraph
Citation 'brousseau1997' on page 21 undefined
Citation 'hersant2005' on page 21 undefined
Citation 'bahn2017c' on page 21 undefined
Underfull \hbox (badness 10000) in paragraph
Citation 'winslow2018' on page 22 undefined
Citation 'winslow2018' on page 22 undefined
Citation 'winslow2018' on page 23 undefined
Citation 'winslow2018' on page 23 undefined
Underfull \hbox (badness 10000) in paragraph
Underfull \hbox (badness 10000) in paragraph
Underfull \hbox (badness 10000) in paragraph
Underfull \hbox (badness 10000) in paragraph
Underfull \hbox (badness 10000) in paragraph
Reference `fig:T-DS' on page 24 undefined
Citation 'fujii2016a' on page 24 undefined
Citation 'takahashi2011a' on page 24 undefined
Citation 'winslow2018' on page 25 undefined
Citation 'winslow2018' on page 25 undefined
Citation 'winslow2018' on page 25 undefined
Citation 'winslow2018' on page 25 undefined
Underfull \hbox (badness 10000) in paragraph
Citation 'winslow2012a' on page 25 undefined
Citation 'hart2011' on page 35 undefined
Citation 'clivaz2018' on page 35 undefined
Citation 'clivaz2018' on page 35 undefined
Citation 'clivaz2018' on page 35 undefined
Citation 'takahashi2011a' on page 35 undefined
Underfull \hbox (badness 10000) in paragraph
Underfull \hbox (badness 10000) in paragraph
Overfull \hbox (6.30957pt too wide) in paragraph
Overfull \hbox (13.91507pt too wide) in paragraph
Overfull \hbox (6.30957pt too wide) in paragraph
Overfull \hbox (13.624pt too wide) in paragraph
Overfull \hbox (6.30957pt too wide) in paragraph
Overfull \hbox (13.624pt too wide) in paragraph
Underfull \hbox (badness 10000) in paragraph
Citation 'clivaz2015' on page 41 undefined
Citation 'miyakawa2009' on page 41 undefined
Citation 'lewis2002a' on page 43 undefined
Empty bibliography
Underfull \hbox (badness 2970) in paragraph
Underfull \hbox (badness 2744) in paragraph
Some font shapes were not available, defaults substituted.
There were undefined references.
Please (re)run Biber on the file:(biblatex) Inquiry_based_mathematics_education_and_lesson_study(biblatex) and rerun LaTeX afterwards.

答案1

通常情况下,Biber 不会偶尔变得不稳定。Biber 在某些方面可能比 BibTeX 更敏感,但通常这不会导致偶尔出现不稳定的问题,而会导致始终可重现的明确错误(我记得不久前出现过一个名称格式奇怪的难以捉摸的 SIGSEGV,但仅此而已)。

您的问题可能有几种解释。要了解发生了什么,我们首先需要了解 Biber 对参考书目做了什么。Paul Stanley 对此的解释比我在使用问号或粗体引用关键字代替引用编号在继续阅读之前,您一定要阅读他的回答(完整阅读!特别注意,他所说的关于 BibTeX 的内容大致也适用于 Biber,Biber 是biblatexBibTeX 的替代品)。回顾一下:

  • LaTeX 将您引用的条目以及引用它们的顺序记录在外部辅助文件中(使用biblatex和 Biber 即.bcf,否则为.aux文件)。
  • Biber 读取.bcf并从文件中获取请求的条目.bib
    • Biber 将相关条目解析为 LaTeX 可以理解的格式biblatex
    • 然后,Biber 对引用进行排序,并将排序后的引用列表以易于理解的.bbl格式写入辅助文件 ( )。biblatex
  • 然后,LaTeX 从辅助文件中读取条目.bbl并使用数据构建引文和参考书目。

这意味着你至少需要mydoc.tex用 LaTeX、Biber、LaTeX 编译你的文档(比如说),以确保获得完整的参考书目, 尤其

  • LaTeX:(pdflatex mydoc当然你也可以使用任何其他风格的 LaTeX,例如xelatexlualatex
  • 比伯:biber mydoc
  • 乳胶:pdflatex mydoc
  • 乳胶:pdflatex mydoc

通常(但并非总是)最后需要运行最后一次 LaTeX 才能获得正确的页码和交叉引用,但我们这里不必担心这一点。

只有在 Biber 运行后,参考书目数据才可供 LaTeX 使用。当然,只有在 Biber 运行时收集的数据才可用。如果您在 Biber 运行后更改文件的内容.bib,这些更改将仅在新的 Biber 和随后的 LaTeX 运行后传播到文档的输出。

.log如果 LaTeX 检测到需要重新运行,它通常会提示您在文件中再次运行 Biber 或 LaTeX 。该消息通常被归类为警告,因此如果您的编辑器为您解析日志输出,它应该会非常突出地显示它。但是 LaTeX 无法检测到需要重新运行 Biber 的所有情况,例如,它不会监视.bib文件是否有更改。像这样的自动工具latexmk可以帮助您。

一般来说,每次调用 LaTeX 时不需要调用 Biber。如果您只是添加了一点文本,通常不需要重新运行 Biber。但在以下情况下您需要运行 Biber,标有星号的原因通常会被自动检测到,这样如果您忘记了,LaTeX 会提醒您运行 Biber。

  • 文件中引用的条目已被修改.bib
  • *引用了之前没有被引用的条目(需要添加新的条目)。
  • *引用的顺序发生了变化(取决于排序方案和其他设置)。
  • *之前引用的条目不再被引用(需要删除)。

如果您发现某些引用缺失或行为不当,最好运行 Biber(然后再次运行 LaTeX)。


当 LaTeX 无法在文件中找到特定条目的数据时.bbl,它只会以粗体打印该条目的键并发出警告。出现此类警告的原因有多种

  • 输入键中有一个拼写错误,应sigfridson为 即sigfridsson
  • 文件中不存在此条目.bib
  • 该条目是“新的”(在文件.bib.tex文件中),并且在上次调用 Biber 时不存在。

目前,您的描述表明您的编辑器不会一直为您运行 Biber。如上所述,这不是一个坏决定,因为 Biber 运行需要一些时间,而且并非总是需要。然而,这意味着您需要在需要时明确启动 Biber 运行。

  • .bib当您在文档或文件中更改与参考书目相关的内容时,请致电 Biber 。
  • 当 LaTeX 发出类似警告时,请拨打 Biber。
  • 当您发现您的引文出现偏差或损坏时请致电 Biber。

如果完整编译循环 LaTeX、Biber、LaTeX、LaTeX 无法解决错误输出问题,您可能需要尝试删除临时文件(.aux、、、.bbl... .bcf)并从头开始使用 LaTeX、Biber、LaTeX、LaTeX 重新编译。

如果在第一次(干净的)LaTeX 运行中出现任何错误,则必须在继续之前修复这些错误。您可以忽略有关缺少引文和参考文献的警告,但最好在继续之前修复所有其他警告。Biber 运行中的错误和警告也应修复。在第二次 LaTeX 运行中,您不应该收到任何新的错误和警告。如果即使第一次 LaTeX 运行没有导致错误,您仍然收到错误,则错误的原因就在于您的.bib文件中。在最后一次 LaTeX 运行中,您应该获得一个没有错误和警告的文档,其中包含正确的引文和完整的参考书目。

您可以在以下位置找到有关 Biber 故障排除的更多提示biber 故障排除

相关内容