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

Compile on save compiles document opened first rather than the current one #18

Closed
UserRandom opened this issue Feb 28, 2017 · 5 comments

Comments

@UserRandom
Copy link

When I have two different tex files open at the same time, saving always compiles the one that I opened first.

Fantastic extension by the way. Once I find a suitable spellcheck solution for it, I will won't have any need for other latex editors.

@James-Yu
Copy link
Owner

You can use the new compile_here command to re-assign your root tex file. The command is available in version 0.2.16.

@zachjweiner
Copy link

How would one enable this by default (i.e. after save)?

@James-Yu
Copy link
Owner

James-Yu commented Apr 3, 2017

The extension receives an overhaul since version 1.0.0+. You may try it out first and submit new issues if any.

@jabooth
Copy link
Contributor

jabooth commented Apr 3, 2017

Yeah @zachjweiner I'm not clear what you are asking for here, I believe this should now be the current behaviour. To be clear, each time you change file we reassess what the root tex file should be, and if we have nothing else to go on we would select the current tex document, so what you ask for should work? Is it not doing that? If so a concrete example would be very helpful, but please do so in a new issue.

@zachjweiner
Copy link

I'm sorry, I was doing something stupid and couldn't tell that it was my fault rather than the extension. Working great, thank you so much.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants