Is there a way to get the ``Watch Document'' option to be master-file aware? It seems to me that watching the master file doesn't work, because it only re-compiles when the master changes, and watching the included files doesn't work because it's not a whole latex file---I get the error
Error: No \begin{document} found I couldn't find the command \begin{document} in your file.
Help is much appreciated, as always.
Evan
-------------------------------------------------- Prediction is difficult, especially the future.
Niels Bohr
2008/8/9 Evan Berkowitz evan.berkowitz@gmail.com:
Is there a way to get the ``Watch Document'' option to be master-file aware? It seems to me that watching the master file doesn't work, because it only re-compiles when the master changes, and watching the included files doesn't work because it's not a whole latex file [...]
Evan,
Watching the master file should work. Recompilation is triggered whenever any of the input files change, not just the master. If this is not working for you, perhaps you could send me a cut-down example where it doesn't work so I can fix the problem.
Thanks! Robin
Hi,
I have difficulties with the Latex watch function. When I start the Latex watch I get "Error: No \begin{document} found". Normal compilation works just fine, I have used Latex watch with other latex documents on the same installation.... Does anyone have a suggestion how I can fix this? The problem occurs when I try to use the following template: http://www.siggraph.org/publications/instructions/acmsiggraph.zip
Thank you very much in advance for any tip, Balint
I found the problem. The string "\begin{document}" was present in a comment, too, which confused the script... So I just removed that comment and now it works.
Balint Miklos wrote:
Hi,
I have difficulties with the Latex watch function. When I start the Latex watch I get "Error: No \begin{document} found". Normal compilation works just fine, I have used Latex watch with other latex documents on the same installation.... Does anyone have a suggestion how I can fix this? The problem occurs when I try to use the following template: http://www.siggraph.org/publications/instructions/acmsiggraph.zip
Thank you very much in advance for any tip, Balint