Latex Build only works from root project file
See original GitHub issueHello,
I’ve switched to Vim recently and have discovered your coc extension for LaTeX. From what I’ve seen so far, it works great, thank you for your work.
I have a small gripe with it though, the latex.Build
only seems to work correctly when working on the root file of a LaTeX project. I’ve setup the command using the default latexmk
executable and the following configuration:
{
"latex.build.args": [
"--shell-escape",
"-pdf",
"-interaction=nonstopmode",
"-synctex=1"
],
"latex.build.onSave": true
}
My project structure is composed of a root file report.tex
and files for each chapters included in the main root document, the files are inside a folder, for example chapters/chap1.tex
, chapters/chap2.tex
.
I mainly work on those files, and when I save them or directly run the build command with :CocCommand latex.Build
from these files it doesn’t build anything. When I open the root file and run the command, everything builds correctly.
Thanks in advance for your help
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top GitHub Comments
Hello, thank you, yes it seems to work correctly now, activates on both tex and plaintex and can build project from both type of files
Thanks for your feedback, I’ve published 1.9.8, can you give it a test?