I have several files open in winedt that are all related in a sort of project. I have the main file that includes the other files.
Is there any way to set it up so when I compile any one of the files it compiles the main one instead(and saves the others)? I don't mind hard coding the file names if necessary.
I'd like to have a custom icon for this so that any time I'm working on a large multifile project I can modify the icon to compile the main file.
T0.tex
). So, how did WinEdt know to compile the main fileThesis.tex
rather than the current chapter (which would fail to compile without a proper preamble present in the main file). This is becauseThesis.tex
is set as the main file...For your convenience the name of the currently set main file is displayed in the last panel of WinEdt's status line..."\include
for winedt to find the files thenbuild all
. The problem is I modified the include macro to use spaces(I build the file name in lua so I can simply do \incfile{"My spaced filename"}. Winedt doesn't like this.