Replies: 7 comments
-
I cannot reproduce your issue. See https://github.com/James-Yu/LaTeX-Workshop/wiki/Compile#the-root-file for details on how we deal with Note that in every subfile, you must specify which file is the main one in the form
If you cannot figure out how to solve your problem, please post a minimal working example. |
Beta Was this translation helpful? Give feedback.
-
Here's the example I use: Extension log on 8.6.0:
Log on 8.7.0: (Making changes to
Log on 8.9.0:
|
Beta Was this translation helpful? Give feedback.
-
The issue is that your \documentclass{article}
\usepackage{subfiles}
\begin{document}
main
\subfile{sub}
\end{document} You can check that with this modified There was actually a bug in |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, in my projects, I cannot |
Beta Was this translation helpful? Give feedback.
-
It sounds like you are using the |
Beta Was this translation helpful? Give feedback.
-
Well, I wouldn't say it's a nonstandard way. It's now lost in the mist of time but I think I originally got the idea to use I don't ever compile Anyway, if it's too hard to just always watch the file in the current editor, I suppose I can just use 8.6.0. |
Beta Was this translation helpful? Give feedback.
-
I have another reasons why LaTeX WS should autobuild a subfile on change regardless of whether it's actually (The project I described, btw, is https://github.com/OpenLogicProject/OpenLogic) |
Beta Was this translation helpful? Give feedback.
-
Preliminary questions [Required]
Disable all the other extensions except for LaTeX Workshop, and check that you still see this issue. [Required]
You still see this issue?: Yes
Make sure to visit the wiki FAQ before filling an issue.
You visited the wiki?: Yes
If your issue is with compiling a document (not having to do with finding the root file of a project), check first that you can compile manually.
You can compile a TeX document manually?: Yes
Describe the bug [Required]
Autobuild does not work on files that use the
subfiles
class.To Reproduce
Steps to reproduce the behavior:
\documentclass{subfiles}
Expected behavior
Build task runs
Logs [Required]
N/A -- no build takes place, so no log
LaTeX Workshop Output [Required]
Developer Tools Console [Required]
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop [Required]
Additional questions
Are you using LaTeX Workshop with VS Code Remote?
No
If the answer is Yes, please write which one you are using. Write the versions of the remote extension.
Additional context
Add any other context about the problem here.
Beta Was this translation helpful? Give feedback.
All reactions