-
Notifications
You must be signed in to change notification settings - Fork 22
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
xsim and synctex #9
Comments
I don't know much about synctex but I am quite certain there is nothing a package author can do about it. |
This is the same problem: https://tex.stackexchange.com/questions/163951/ – no solution, though |
Ok, thanks for your research, maybe the problem will be fixed some day...until now I will live with it :-) |
I wonder if there is a way to make an xsim option to put only the verbatim environments in their own separate source document, rather than doing this unconditionally on the entire text of every exercise and solution. Then, outside of the verbatim environment, the source links would link back to the original source. I'll bet the problem could be solved in this way: give an option, disabled by default, to turn off the "separate exercise/solution *.tex files". Then, introduce a new environment,
Then xsim could pull the content out of each The idea is that xsim wouldn't have to do much special processing or know anything about the verbatim text. One could use Update: I read the documentation more carefully and saw there already is something like this in the |
I have thought about this and not yet dismissed it completely. There is a good chance I will implement it when I find the time. The default behaviour will stay the same, though, I think. |
I can only speak for me. At the moment I'm using exsheets because synctex is working fine with it. Synctex is essential for my workflow, so I would appreciate this feature very much. |
I'd like to second this request, not only because synctex takes me to the wrong file, but also because in AUCTeX (I don't know about other LaTeX environments), jumping to an error also takes me to the temp file, rather than to my main document. I'm actually trying out BTW, doesn't issue #30 address the same issue? |
|
I'd also welcome a fix for this. I recently switched from exsheets to xsim (found out that the former is deprecated because it seemingly became incompatible with a change in the newest texlive). However, not having proper synctex support is really annoying. Actually I don't care at all about verbatim environments in my exercise sheets, so even an option to disable external files while sacrificing verbatim support would be fine for me. In any case, thanks for the work on both exsheets and xsim :). |
I have implemented the experimental package option \usepackage[no-files]{xsim} Feedback (problems? ... ) very welcome! |
Is there any way to make this more granular so that verbatim material is allowed, and it will generate extra files (with their associated source link problems), but any exercise not using verbatim environments could be given the option [no-file] and would remain inline (and have working source links)? |
Probably, yes. But I don't expect this to be happening soon. It would require significant (!) changes to existing code. |
Hello,
I'm converting all my exsheets exercises to xsim, so far it works really well. I found out that if the document is compiled with synctex one can only jump to the files named:
*-exercise-body.tex
Is there a way to jump directly to the source code and not to the *-body.tex files?
synctex is a very very convinent way to work with - especially for long documents...
Regards
Thorsten
The text was updated successfully, but these errors were encountered: