Every time you open and save a file in QuarkXPress, there is a high likelihood that your file is being subtly corrupted by QuarkXPress. Usually this takes the form of spurious random data leftover in the file. Although unexpected crashes by QuarkXPress when using it manually are usually due to such file corruption, under normal useage a QuarkXPress file is opened and edited slowly by a human, and a file is rarely used for more than a few weeks, so this corruption can be ignored.
However when used in Q++Studio as GridTemplates, QuarkXPress files are opened and saved many times, they are edited very fast as QuarkXPress is driven by Q++Studio, and the same file may be used for years. It may therefore become necessary to recreate a clean copy of a GridTemplate that may be causing problems.
To create a clean copy of a QuarkXPress file, follow the following steps :
|1.||Open the old QXD file in QuarkXPress.|
|2.||Go to the File and Document Setup menu and note the height and width of the file.|
|3.||Go to the File menu and select New Document, using the height and width noted above.|
|4.||Add as many blank pages to the new file as there are pages in the old file.|
|5.||Go to the Window menu and select Tile Vertically. The two files now appear side by side.|
|6.||Reduce the viewing percentage of both files to a level that allows you to see all pages of both files. Usually a value of 30-50% is appropriate, depending on the physical size of the QuarkXPress File.|
|7.||Select all the elements of page 1 of the old file and note the X and Y coordinates of the selection.|
|8.||Copy this selection to page 1 of the new file, and make sure that the pasted selection is placed at the same X and Y coordinates as noted above.|
|9.||Repeat steps 7 and 8 for all the other pages of the old file.|
|10.||Close the old file, and in the Windows Explorer, rename the old file to a different name (do not make a copy; the original file name must not be found anymore or QuarkXPress will use the old corrupted file to save the new file in the next step).|
|11.||Save the new file with the same name as the old file previously had (before step 10). We strongly recommend saving the file as Single-Language; there is no real added benefit to the Multiple-Languages format and it is a source of bloat and potential corruption.|
Note that after carrying out the previous steps, the new file will not contain any of the master pages that may have been used in the old file. This is by design; the use of master pages not only slows down diary generation enormously (particularly under QuarkXPress 4 and above) but is in itself a source of potential corruption. In Q++Studio, the GridTemplate itself becomes a super-master-page and having 2 levels of master pages can be confusing at best.