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

problems without \nextproblem leads to missing number with xelatex #82

Open
thorstengrothe opened this issue Oct 12, 2018 · 5 comments
Open
Labels
compatability Things that relate to other packages that is used together with exercisebank

Comments

@thorstengrothe
Copy link

Take firstexercise of the examples in the last prerelease package. These exercises do not have
the \nextproblem tag before \begin{problem}. The compilation leads to this error

Missing number, treated as zero. \begin{problem}

but only with xelatex, with pdflatex it compiles without an error. If you set \nextproblem{points=6} it works with xelatex too. If you set \nextproblem{tag=a} the error comes again.

Is this a bug?

Thorsten

@Strauman Strauman added the bug Something isn't working label Oct 13, 2018
@Strauman
Copy link
Owner

Strauman commented Oct 13, 2018

Interesting. It's definitely not supposed to be like this? Which other compilers have you tried other than xelatex?

@thorstengrothe
Copy link
Author

It took me a long time to find it out. Because the bug only appears if comment.cut is not there. If the file exists xelatex works. So to reproduce delete all helper files from pdflatex/xelatex (*.aux, etc) and make sure to delete comment.cut too and compile with xelatex.

I only tested pdflatex and xelatex...

@Strauman
Copy link
Owner

I found the error. And it's huge. \pdfstrcmp does not work in xelatex. I use it everywhere. Darn.

@thorstengrothe
Copy link
Author

Hm, sounds not so good but I'm glad that I was right. Maybe this could help, I found a discussion about \pdfstrcmp between some contributors well known in the latex scene.

Link

Thorsten

@Strauman
Copy link
Owner

Yup. I saw that as well. I guess I have to find some other solution at some point.

@Strauman Strauman added Feature request Request new functionalities and features compatability Things that relate to other packages that is used together with exercisebank and removed bug Something isn't working Feature request Request new functionalities and features labels Jan 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatability Things that relate to other packages that is used together with exercisebank
Projects
None yet
Development

No branches or pull requests

2 participants