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

Unbalanced "{" caused by unicode-math line breaks #48

Open
choeger opened this issue Apr 5, 2017 · 1 comment
Open

Unbalanced "{" caused by unicode-math line breaks #48

choeger opened this issue Apr 5, 2017 · 1 comment

Comments

@choeger
Copy link

choeger commented Apr 5, 2017

I do not know if this is a special case for unicode math, but it bugs me that I cannot get rid of these warnings.

\documentclass{article}
\usepackage{unicode-math}

\begin{document}
Test
\end{document}


% latexrun --latex-cmd=lualatex test.tex
test.tex: warning: extra `}' in log; file names may be wrong 
test.tex: warning: extra `}' in log; file names may be wrong 
test.tex: warning: extra `}' in log; file names may be wrong
@choeger
Copy link
Author

choeger commented Apr 7, 2017

I did some investigation.

The problem arises from nested braces.

{{foo}} is consumed as follows:

  1. { found, rest is: {foo}}
  2. search for } and skip over
  3. found, rest is } - warn about unbalanced braces

I presume, the same problem occurs in the handling of parenthesis.
I do not know if I will find the time to fix this issue, so this info might be helpful.

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

1 participant