@Tim: thanks for getting back and sorry for the lack of information in the original post.
I found the problem, and it might not be specific to Win7 64bit. I have all my packages loaded in a .sty file that I include into my main document. To reproduce the issue:
The document.tex compiles correctly, but the right-click context menu does not recognize that the subfiles package is loaded, and hence does not offer the "Open file " option. Substituting \usepackage{subfiles} in place of the \usepackage{mystyle} in document.tex then produces the expected behaviour (although I need to re-open the document for the ide to reparse it and allow the context menu open choice).
Last edit: Oleg 2017-01-25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
txs scans usepackage to know what packages are used and activates the correspondings cwls accordigly.
You should either make a mystyle.tex and use input (mind you, it needs to be in the current work area), or generate a mystyle.cwl (see txs wiki/manual)
Last edit: Jan Sundermeyer 2017-01-25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This should work since 2.10.0. Please update.
It does not, I am on:
TeXstudio 2.11.2 (hg 6192:72f68414a729)
Using Qt Version 5.6.1, compiled with Qt 5.6.1 R
Win 7 64b
Please check your completion files:
https://sourceforge.net/p/texstudio/wiki/Frequently%20Asked%20Questions/#where-are-cwl-files-stored
if there is a subfiles.cwl in user, delete it.
If the problem persists, please provide a minimal example.
@Tim: thanks for getting back and sorry for the lack of information in the original post.
I found the problem, and it might not be specific to Win7 64bit. I have all my packages loaded in a .sty file that I include into my main document. To reproduce the issue:
1) Create main
document.tex2) Create
mychapter.texin the same folder:3) Create
mystyle.styin the same folder:The document.tex compiles correctly, but the right-click context menu does not recognize that the subfiles package is loaded, and hence does not offer the "Open file " option. Substituting
\usepackage{subfiles}in place of the\usepackage{mystyle}indocument.texthen produces the expected behaviour (although I need to re-open the document for the ide to reparse it and allow the context menu open choice).Last edit: Oleg 2017-01-25
txs scans usepackage to know what packages are used and activates the correspondings cwls accordigly.
You should either make a mystyle.tex and use input (mind you, it needs to be in the current work area), or generate a mystyle.cwl (see txs wiki/manual)
Last edit: Jan Sundermeyer 2017-01-25
Or have the
\usepackage{subfiles}directly in the main document.Thanks for the feedback.