I have been trying to compile several LaTeX files and have been using
\input to do this. However this causes some annoyances that I'm unaware of to fix (I'm using TexMaker as the editor)
- I get a lot of errors, if I include the preamble in any other file than the the main tex file that has
\input-commands in it. As a result whenever I compile, I have to compile the whole document all the time.
- When you are using one file, TexMaker has this nice property where if you compile and then view your pdf using the GUI, then the pdf jumps to the point you have just been working on. This goes away when you use the
\includecommand where the pdf just opens to the very last page.
- I sometimes accidentally hit compile with the subfiles in focus which throws all sorts of errors as the subfile doesn't have any preamble at all (not even a
- The helpful popups for
\refto add references are no longer present when you are working on parts of the file which complicates matters.
Short of putting everything back in to one unwieldy tex file, are there fixes for any or all of these issues?
For example, is there a package I could use that solves most of the issues? It would be great if 2), 3) and 4) have at least partial solutions. With 1) I can live with.