texworks icon indicating copy to clipboard operation
texworks copied to clipboard

Multiple files document: partial saving

Open GoogleCodeExporter opened this issue 10 years ago • 1 comments

What steps will reproduce the problem?
1. Create a document split in multiple files: main + x sub-documents, with
calls by \input in main and % !TeX root = main.tex in sub-documents
2. Make changes in more than one file
3. Move to any of the files and typeset

What is the expected output? What do you see instead?
All the files should be saved with the typeset command and not only the one
in which one is.

The view is incorrect for changes in the other file than the one in which
one typesets, the other files are not saved (presence * in the file name).

What version of the product are you using? On what operating system?
v 237, Windows XP, pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7)

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 13 Dec 2008 at 8:27

GoogleCodeExporter avatar Mar 14 '15 10:03 GoogleCodeExporter

In r.246, all related files (as determined by the % !TEX root = ..... metadata) 
should be saved before running the 
typesetting process.

Note that files used via \input, \include, etc., that do not have a "root 
document" comment will not be saved 
automatically. TeXworks does not scan the entire root file for such commands 
(which could be disguised inside 
macros), it relies only on the header comment to decide which documents may 
need to be saved.

Original comment by [email protected] on 14 Dec 2008 at 10:10

  • Changed state: Started

GoogleCodeExporter avatar Mar 14 '15 10:03 GoogleCodeExporter