Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Month macros only recognised in first bib file #199

Closed
moewew opened this issue Nov 28, 2017 · 6 comments
Closed

Month macros only recognised in first bib file #199

moewew opened this issue Nov 28, 2017 · 6 comments

Comments

@moewew
Copy link
Contributor

moewew commented Nov 28, 2017

Consider the following MWE

\documentclass{article}
\usepackage{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@inproceedings{foo,
  author       = {Foo},
  title        = {Foo},
  booktitle    = {Foo},
  year         = {2017},
  month = jan,
}
\end{filecontents}

\addbibresource{biblatex-examples.bib}
\addbibresource{\jobname.bib}

\begin{document}
\cite{foo}
\printbibliography
\end{document}

With biblatex 3.9/Biber 2.9 I get the warning

Utils.pm:169> WARN - BibTeX subsystem: C:\Users\Moritz\AppData\Local\Temp\z858WUEh1k\gleaseflest.bib_2484.utf8, line 10, warning: undefined macro "jan"

And the month is not printed.

This happens only if the .bib file that uses the macro is not the first file loaded with \addbibresource. If the two \addbibresource lines are switched, there is no warning.

@logological
Copy link

Works fine with Biber 2.7, so the problem was probably introduced in 2.8 or 2.9.

@plk
Copy link
Owner

plk commented Nov 28, 2017

Fixed in 2.10 dev version. Will upload and plan bugfix release soon.

plk added a commit that referenced this issue Nov 28, 2017
@plk
Copy link
Owner

plk commented Nov 29, 2017

Please try the 2.10 dev version - should be fixed

@moewew
Copy link
Contributor Author

moewew commented Nov 29, 2017

The MWE works for me now.
Thank you for the quick fix.

@plk plk closed this as completed Dec 3, 2017
sicherha added a commit to sicherha/docker that referenced this issue May 3, 2018
Ubuntu 18.04 ships a broken version of biber (see plk/biber#199).
@ambs
Copy link

ambs commented May 23, 2020

in 2020, and Mint still ships 2.9 :(

@moewew
Copy link
Contributor Author

moewew commented May 23, 2020

Yeah, Ubuntu's repository TeX live that you get from apt/apt-get is basically frozen at the point of release (or a while before that) and never updated after release, so especially with LTS versions your TeX live version may end up way behind current development. (Ubuntu 18.04 seems to be especially problematic because they ship Biber 2.9, but biblatex 3.10 ... https://bugs.launchpad.net/ubuntu/+source/biber/+bug/1770516).

The go-to way to obtain a more up-to-date system is to install a vanilla TeX live from TUG.org: https://tex.stackexchange.com/q/1092/35864

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants