-
Notifications
You must be signed in to change notification settings - Fork 7
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
Feature request: Build With: R Sweave knitr executes main document instead of child #26
Comments
It would be a bit tricky, for instance, consider that TEX root could be also a Sweave file. |
I know that this is an old post but the following settings get the job done: Create a custom ride_exec command where you replace the standard '$file_name' with your main file. In my case it is index.Rnw. { You can also create a keybinding for this command that only works for rsweave {"keys": ["ctrl+alt+b"], "command": "ride_exec", But cmd/ctrl+b let's you also choose resp. just uses the command created above. So I just use that. Hope that helps. |
LaTeXTools: allows to place something like
%!TEX root = main.tex
at the top of a
.tex
file that is included inmain.tex
and when the build is triggered,main.tex
is build instead of the child document. It would be nice to have similar feature for.Rnw
(and.Rmd
) files.The text was updated successfully, but these errors were encountered: