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

Problem with TL'24 #1377

Open
pauloney opened this issue Aug 22, 2024 · 5 comments
Open

Problem with TL'24 #1377

pauloney opened this issue Aug 22, 2024 · 5 comments
Labels

Comments

@pauloney
Copy link
Collaborator

pauloney commented Aug 22, 2024

This is an MWE that works perfectly well in TL'23:

\documentclass{article}
\begin{filecontents*}{\jobname.bib}
@BOOK{Rudin,
    author = {Rudin, W.},
    note = {Also available in Chinese in \textcite{Rudin-chi}},
    pages = {x+342},
    publisher = {McGraw-Hill},
    series = {International Series in Pure and Applied Mathematics},
    title = {Principles of Mathematical Analysis},
    year = {1987},
    langid = {english},
}

@book{Rudin-chi,
     author = {Rudin, W.},
      title = {\textchinese{分析學探源}},
  publisher = {\textchinese{聯經出版事業公司}},
    address = {\textchinese{台北市}},
       note = {English original in \textcite{Rudin}},
       year = {1979},
     langid = {chinese},
}
\end{filecontents*}

\usepackage{polyglossia}
\usepackage{csquotes}
\setmainlanguage{english}
\setotherlanguage{chinese}

\newfontfamily\chinesefont[Script=CJK,Scale=0.9]{Noto Serif CJK JP}

\usepackage[style=authoryear,
            language=auto,
            autolang=other,
            backend=biber]{biblatex}

\addbibresource{\jobname.bib}

\begin{document}
\nocite{*}
\printbibliography
\end{document}

but after I upgraded today to TL'24, I get:

! LaTeX Error: \begin{document} ended by \end{otherlanguage}.

And removing the \textchinese{} commands to use the "langid" field does not help either. Same error occur.

@moewew
Copy link
Collaborator

moewew commented Aug 23, 2024

I can't test right now because I'm at the wrong computer, but this could be related to #1350 (unfortunately, the solution for #1348 is far from straightforward, so we haven't come round to releasing the fix yet - we probably should, but I'll be pretty busy over the next weeks and away from the right machines).

@pauloney
Copy link
Collaborator Author

pauloney commented Aug 23, 2024 via email

@moewew
Copy link
Collaborator

moewew commented Aug 23, 2024

I think, biblatex v3.20 was released shortly after TeX Live 2024, so you might be lucky here. I didn't check that, though.

@pauloney
Copy link
Collaborator Author

pauloney commented Aug 23, 2024 via email

@moewew
Copy link
Collaborator

moewew commented Aug 26, 2024

Turns out it is not exactly the same issue as #1350 since the problem here is not resolved by the fix for that issue.

@pauloney pauloney added the bug label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants