Your contact

Nachfolgender Link öffnet ein Pupup-Fenster für diese Website.Klaus Müller

+49 (0)89 892623-660

Pack & Go

PackAndGo.fsi

Problem description

Modern DTP applications normally offer a function for “packaging” documents with all referenced files and fonts e.g. for output to a service provider.

FrameMaker (up to FM12) does not offer such function. Since FM2015 there is the function ‘Create package’, but with a much smaller range of functions compared to this script.

The files of the document folders can only manually be copied or packed incl. any existing backup, autosave and lock files and unused (no longer used) documents and graphic files. If the reference files do not lie below the document folder or are distributed over different directories, it is difficult to gather the required files.

Moreover, there is no simple option in FrameMaker for adapting (“flatten”) the reference structure for internal archiving purposes or for a re-structuring of the document files.

Function description

The script facilitates the archiving/copying of the current document or book with all reference files (graphics/text insets).

All FrameMaker documents or books of a selected folder, including subfolders can also be archived. There is a filter function available.

Books can be updated and checked for possible errors before the archiving by the script.

The relative folder structure of the documents in the book, the graphics and the text insets can either be kept or changed into a new, flat structure.

Note: If you do not keep the relative folder structure, the original structure cannot simply be recreated with the archived documents.

In addition to FrameMaker books and documents as well as graphics and text insets, other files in the document/book folder can also be copied depending on the file type, e.g. all PDF and INI files.

In addition, the font files used on the body pages can optionally be archived.

The archived files can optionally be moved into a ZIP archive.

To top

Books/Documents in Start Folder

If multiple books/documents are to be archived instead of the current book or document, the available files can be filtered in a subsequent dialog. This filter dialog corresponds to the dialog in the script Nachfolgend websiteinterner Link.FM Statistics.

Check Source Documents for Errors

We recommend activating this option when distributing the documents; only then will a comprehensive report about missing fonts, unresolved cross-references, etc. be created.

Archive Name

The documents are always copied to a subdirectory of the target folder, which corresponds to the archive name. If archive files are zipped, the ZIP file also receives the archive name.

In the dropdown list next to the archive name, you can specify how many folder levels make up the default archive name.
The prefix of the archive name is always the current date (yymmdd_) followed by the start folder. This corresponds to the list selection ‘1’. If ‘2’ is chosen as list selection, the archive name contains 2 folder levels. In the example of the above screen shot this would correspond to ‘091202_Daten_UserGuide’.

To top

Additional options

Keep Relative Folder Structure

We generally recommend activating this option in order to keep the same relative structure to documents, graphics and text insets in the archived documents as in the original documents. This way archived or distributed documents can easily be input again without problems.

You should only deactivate this option if you explicitly want to change the folder structure or create an internal snapshot independently from the original documents.

If this option is deactivated (the relative folder structure is thus adapted), the following options ‘Copy Graphics/Text Insets’ must be activated. In this case, all documents are copied to the archive folder (even if the original documents lie in different folders) and the referenced files or text insets into subfolders, that are specified in the dialog to the right in the ‘Target Folders’ group.

Copy ref. files from other drives

FrameMaker always references documents, graphics and text insets relative to the comprising book or document.

If the option ‘Keep Relative Folder Structure’ is activated, files from other drives cannot be archived in the target folder without changing the reference structure or creating invalid references.

References to other drives are rather problematic for distribution. Consider whether or not all used files can be placed on the same drive. In order to be able to make all required files of a service provider available, such kinds of ‘external’ files are optionally copied to the target folder ‘_External’ (however, without adapting the references to these files).

Copy Other Files

Frequently project-specific files are to be included in the archive although these are not directly linked in the FM documents (e.g. the current book PDF or accompanying Word notes or configuration files for scripts). With the help of this option, you can specify file types that are to be additionally archived. Only files in the book folder (or in the start folder) are taken into account.

Copy Used Font Files

For performance and other reasons, the font analysis does not comprise all required font types; it corresponds to the result of the FrameMaker report ‘Special > Index of > References | Fonts’.

Zip Archive Files (in Target Folder)

If this option is enabled, the entire folder structure of the archived files is moved into a ZIP file. The ZIP file is created in the target folder, the contained files, however, keep their relative paths including archive folder.

 

If the ‘Check Source Documents for Errors’ option was enabled, a summary of the document errors is displayed after execution of the script.

To top

A detailed listing of the errors can be shown in an RTF report.

To top

The documents can be archived despite the errors; but the archiving can also be interrupted here in order to correct the errors.

The files are archived on the basis of the selection.

A subsequent message appears depending on the errors that occurred.

The fonts used on the body pages are listed in the _[i]_Used_Fonts.txt log file in the archive folder.

To top

Requirements

  • FrameMaker 6.0 or higher
  • FrameScript/ElmScript 4.1 or higher

Notes

The script works with structured and unstructured documents.

The TT-Info.exe program is required for identification of the fonts. This must be located in the Script or InitialScript folder.
PolarZipLight.dll must be registered for zipping the archive files. This occurs during the installation of [i]-frame by the setup program.

To top