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

bibtex hangs on some accents #1185

Open
ejeandel opened this issue Apr 26, 2024 · 3 comments
Open

bibtex hangs on some accents #1185

ejeandel opened this issue Apr 26, 2024 · 3 comments
Labels
bug port-to-rust Replacing old code with Rust

Comments

@ejeandel
Copy link

ejeandel commented Apr 26, 2024

The following MWE shows a document on which tectonic fails. Specifically it hangs while bibtexing.

\documentclass{article}
\begin{document}
\cite{buchi}
\bibliographystyle{alpha}
\bibliography{biblio}
\end{document}

The biblio.bib file is:

@Article{buchi,
  author = {Julius Richard B{\"u}chi},
  title = "{Turing-Machines and the Entscheidungsproblem}",
  journal = "Math. Annalen",
  year = "1962",
}

Notes: it doesn't hang if alpha is replaced by plain. It also doesn't hang when B{\"u}chi is replaced by Büchi.

Note: while not hanging, tectonic says "warning: internal consistency problem when checking if xxx.bbl changes", any idea why ?

Thanks,

E.

@CraftSpider
Copy link
Contributor

I think I encountered this as a bug and fixed it in #1163. I'll attempt to extract the fix as a small patch and PR it separately, see if that fixes this issue.

@cgahr
Copy link

cgahr commented Jun 20, 2024

I have the same issue when I try to cite scipy:

@ARTICLE{2020SciPy-NMeth,
  author  = {Virtanen, Pauli and Gommers, Ralf and Oliphant, Travis E. and
            Haberland, Matt and Reddy, Tyler and Cournapeau, David and
            Burovski, Evgeni and Peterson, Pearu and Weckesser, Warren and
            Bright, Jonathan and {van der Walt}, St{\'e}fan J. and
            Brett, Matthew and Wilson, Joshua and Millman, K. Jarrod and
            Mayorov, Nikolay and Nelson, Andrew R. J. and Jones, Eric and
            Kern, Robert and Larson, Eric and Carey, C J and
            Polat, {\.I}lhan and Feng, Yu and Moore, Eric W. and
            {VanderPlas}, Jake and Laxalde, Denis and Perktold, Josef and
            Cimrman, Robert and Henriksen, Ian and Quintero, E. A. and
            Harris, Charles R. and Archibald, Anne M. and
            Ribeiro, Ant{\^o}nio H. and Pedregosa, Fabian and
            {van Mulbregt}, Paul and {SciPy 1.0 Contributors}},
  title   = {{{SciPy} 1.0: Fundamental Algorithms for Scientific
            Computing in Python}},
  journal = {Nature Methods},
  year    = {2020},
  volume  = {17},
  pages   = {261--272},
  adsurl  = {https://rdcu.be/b08Wh},
  doi     = {10.1038/s41592-019-0686-2},
}

In particular, removing {\.I} seems to fix the error!

@CraftSpider CraftSpider added bug port-to-rust Replacing old code with Rust labels Jun 23, 2024
@CraftSpider
Copy link
Contributor

Update - this doesn't appear related to the issue I encountered. I've realized this related to the bibstyle, meaning this must be an issue in the interpreter. I'll dig up the alpha style and try it out, see where it's going wrong if I can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug port-to-rust Replacing old code with Rust
Projects
None yet
Development

No branches or pull requests

3 participants