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

script incompatible with sync #1578

Open
duartefontes opened this issue Feb 27, 2023 · 0 comments
Open

script incompatible with sync #1578

duartefontes opened this issue Feb 27, 2023 · 0 comments

Comments

@duartefontes
Copy link

Hi,

I am trying to compile a TeX file which has some diagrams, and I would like the sync option (between PDF file and editor) to work well.
Now, when I have "builder": "traditional" in the Settings, the sync between PDF and editor works fine. Yet, the diagrams of my file are not generated in that mode. I found that I can generate them by a) setting "builder": "script" and b) modifying the "builder_settings" such that:

"osx" : {
"script_commands": [
"pdflatex -interaction=nonstopmode --shell-escape $file_name",
"pdflatex -interaction=nonstopmode --shell-escape $file_name"
]
}

The problem is that, in this case, the sync no longer works.
In sum: in "builder": "traditional" the sync works, but the diagrams don't, whereas in "builder": "script" the diagrams work, but the sync doesn't.

Any idea?

Thanks, and thanks for this amazing project,
Duarte

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

1 participant