Open shouwei opened 7 years ago
LaTeXTools supports multi file document either via "magic comment" (% !TEX root = thesis.tex
) or via the settings:
https://latextools.readthedocs.io/en/latest/features/#multi-file-documents
@r-stein haha, thanks for your reply. I don't know what the problem is. Would you please help me to check it?
This must be a comment:
% !TEX root = ../thesis.tex
If you type % !TEX root
and hit =
it should suggest a root with a drop down list.
@r-stein wow! magic! problem solved. Thank you so much! :-)
Aside from this you may want to check out the prereleases, because they have support for \graphicspath
.
@r-stein I already insert this line into the user configuration file, "install_prereleases": ["LaTeXTools"],
Is there any guide introduce how to use this feature "graphicspath" or the new features of prereleases?
The folders inside \graphicspath
will automatically be used for several features, e.g. fill all helper (type \includegraphics
and press {
) or the image hover preview (hover of an \includegraphics
with the mouse. No special need for adjustment.
Hi there,
I am writing my thesis. The project consists of a major file thesis.tex and several individuals chapters chapter1.tex, chapter2.tex etc. By default, I have to run the build command on the thesis.tex file, even though when made some changes on the chapter files. It's very easy to forget that I have to change to thesis.tex and compile the whole project, specially compiled with shortcuts.
So I wonder may I customize a build environment that no matter which file is under editing, the compile procedure will always take place on the major file, for example, the thesis.tex file for my case.
Thank you for your reading and help.