-
Notifications
You must be signed in to change notification settings - Fork 4
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
[BUG] Synctex Navigate To The End Of The Proof Even When Debug Is Enabled. #10
Comments
It seems like |
Hum, seems like you are right… Not sure why I never spotted it before, I was more or less sure that before it was working fine… but maybe not. I'll try to see if it's not a regression, and investigate (synctex is not really flexible ^^). Thanks! |
Ok, so I tried with an older version and the issue was already present (maybe it was just a dream that this worked in older versions). So in fact, it seems that as soon one needs to capture the content of the environment, we lose the synctex behavior. This is visible on creating a really small example using either I'm not sure if this is fundamental or not, so I tried to ask a question here. If I can't find any solution, I will surely define a way to locally redefine the
before the theorem that should be debugged (or at the beginning of the file if you want to debug everything). If you want to debug a single theorem, you can put these definitions and the theorem in a group (i.e. embraced by brackets |
Due to the way LaTeX works, there is no nice way to add arguments like Your example now becomes:
I keep this issue open until I document this properly. |
Yeah, but changing all to |
Kind of, except in rare cases when people provide arguments to the But I'm not sure to see what is your expectation. What other interface would you prefer to have? |
I may found a solution to provide a simpler interface for this, keeping the old |
Describe the bug
synctex will navigate to the end of the proof/theorem, instead of the exact line, even when
debug
mode is enabled.To Reproduce: Minimal Working Example
Version
Version of
proof-at-the-end
:Packaged on Tue Feb 8 16:11:27 2022
or the GitHub version works the same.Additional context
I am using vscode with LaTeX workshop, and synctex version 1.5.
When I synctex on a line in a
theroemEnd
orproofEnd
, I get navigated to the line\end{theroemEnd}
or\end{proofEnd}
, even withdebug
enabled. Whereas in the normallemma
andproof
environment, I get navigated to the exact line corresponding to the place I clicked.The text was updated successfully, but these errors were encountered: