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

Something is wrong with [pagenumbers] settings in Overleaf so that compilation fails #49

Closed
Y-Z-Chen opened this issue Oct 15, 2024 · 3 comments

Comments

@Y-Z-Chen
Copy link

Y-Z-Chen commented Oct 15, 2024

A series of control consequences beginning with \@LN are shown as undefined.

@taiya
Copy link
Collaborator

taiya commented Oct 15, 2024

image
My students just check @cr333 – and it seems this happens when this option is used?

@taiya
Copy link
Collaborator

taiya commented Oct 15, 2024

@Y-Z-Chen seems re-compiling from scratch fixes the issue?
Screenshot by Dropbox Capture

cr333 added a commit that referenced this issue Oct 16, 2024
In review and rebuttal mode, we use the "lineno" package for numbering lines. When switching to a different mode, the "`\@LN`" macro may remain in cached `.aux` files, leading to build errors (#49).

Defining the macro as empty fixes that (https://tex.stackexchange.com/a/125779).
@cr333
Copy link
Collaborator

cr333 commented Oct 16, 2024

That's a good catch of the issue and how to work around it!

I found a solution here and verified that it fixes this issue on Overleaf. Please see PR #50 for the fix.

@cr333 cr333 closed this as completed Oct 16, 2024
cr333 added a commit that referenced this issue Oct 17, 2024
In review and rebuttal mode, we use the "lineno" package for numbering lines. When switching to a different mode, the "`\@LN`" macro may remain in cached `.aux` files, leading to build errors (#49).

Defining the macro as empty fixes that (https://tex.stackexchange.com/a/125779).
@cr333 cr333 mentioned this issue Oct 17, 2024
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

3 participants