CopyFlow Gold for InDesign CS5 & CS5.5

CopyFlow Gold for InDesign CS5 & CS5.5    [3/12]

Contents

  1. Naming Frames
  2. CFG Tool
  3. CFG Preferences
  4. Translation Workflow
  5. The Single Tagged File Format
  6. Installation
  7. CFG Log File
  8. Trados Tag Editor and Tagged XML
  9. Trados Tag Editor and XLIFF
  10. Using XLIFF with CFG
  11. Batch Processing Folders (to come)

 

Introduction – CopyFlow Gold for Adobe InDesign CS5 batch exports and batch imports text in separate or single RTF, XLIFF, Adobe tag, or plain text files. In short, the textual contents of an entire document are easily round-tripped.

To export and then re-import text content, the text frames are named. This can be done automatically.

CopyFlowGold for InDesign is available for InDesign CS5 for both the Macintosh and Windows platforms.

CopyFlow Gold for InDesign CS5 is scriptable using InDesign scripts written in Javascript.

After installation (see: How To Install), CopyFlow Gold adds a menu to the InDesign menu bar as shown below. The CFG Tool is a floating palette which contains the buttons to begin exports, imports and access to CFG settings.

CopyFlow Gold is often used to quickly extract formatted text from an InDesign document for translation purposes and to return the content after translation.

CopyFlow Gold (CFG) is built to round-trip text. CFG for InDesign CS5 exports and imports text to and from InDesign text frames. The exported file format and encodings are established by setting the CFG preferences as described below.

The process for using CFG with XLIFF and CFG-XML is slightly different – no pre-naming frames and separate XLIFF/XML preferences. Using CopyFlow Gold to round-trip XLIFF (the standard XML format for translation) is described here: CFG and XLIFF.

SDL Trados users may use the XLIFFTagged XML or Single RTF export formats.

Naming Frames

Text frame (an InDesign story) naming can be done for an entire document automatically or frame by frame by selecting either: Autoname Frames to name all frames in a document in a numerical sequence or Name A Frame to name (or unname) only the currently selected Frame. UnName All Frames - does just that — un-names all the frames in a document.

Frame names are saved in the InDesign document when the document is Saved. It is a good idea to save the document after the naming step is complete.

The frame (story) names are used to match the exported text to the text frames at re-import time.

The screen shot below shows the CopyFlow Gold floating palette

CFG Tool. The Prefs are used to select the Import/Export format and the details for each format (e.g., encodings, typographic quotes, style conflict resolution, etc.). CopyFlow Gold extends the filters built into InDesign for import and export.

CFG Tool

 

  • The Export button will export all named text stories to a single or multiple files as set in the preferences.
  • The Import button imports text into named frames.
  • The Flush button clears the contents of all named frames.
  • The Find button lists all the named frames, and shows an abstract of their contents, word and line counts, and beginning page sequence numbers. This list is sorted by page and position, showing the export order.
  • The Clear button clears the mid-palette display.
  • The Info button displays the current settings in the palette log.
  • The Preferences button opens the Preferences dialog. Choose your export/import format here.
  • The XLIFF Prefs button opens theXLIFF Preferences dialog.
  • The Help button opens an HTML page with help, tech support, and purchase information.
  • The Register button displays a dialog used to register the product with the keys emailed after purchase. Registration converts a CFG demo into a fully functional product.
  • At the bottom of the palette, the version and registration status are displayed.

 

 

 

 

 

CopyFlow Golds Preferences Dialog

This dialog establishes the export file format, its encoding and other options.

CFG Prefs

Checking the Remember Import/Export folders options will cause CFG to look for its import files in the last specified Import Folder and put exports in the last specified Export folder. Turn this option off to chnage the folder locations.

The Tagged Text Prefs button sets the encoding and other preferences for the Adobe Tags fomats and the Tagged XML format. These options are the same as for an InDesign Tag file Place or Export — see InDesign help for more detailed information.

The RTF Prefs button establishes the RTF file format import/export options. These options are the same as for an InDesign RTF file Place or Export — see InDesign help for more detailed information.

The Include Master Page Items checkbox either allows or disallows the naming and export of text in frames on InDesign Master pages.

 

The Do Not Export Empty Stories checkbox either allows or disallows the export of empty story callouts. For translation use – set as checked.

The Do Not Name Empty Stories checkbox either allows or disallows during subsequent AutoNames, the labelling of empty text frames. For translation use – set as checked.

 

Export Filter Settings

file formats

The Export Filter popup menu sets theimport and export file format types.Plain Text – plain text – 1 file per named story – no fomat tagsAdobe Tag Files – 1 file per named story in Adobe tagged file format.RTF Files - 1 file per named story in RTF file formatSingle Adobe Tag File - 1 file perdocument in Adobe tag format with stories separated by NAPS story tags.Tagged XML File - 1 file per document in Adobe tag format, but syntactically reformated as an XML file. This format is primarily used to make Adobe Tags compatible with SDL Trados Tag Editor (see also instructions on how toConfigure the Tag Editor for Tagged XML.)XLIFF Export - Export to XML translation standard XLIFF an XML format. See Using CopyFlow Gold with XLIFF for details.

 

 

 

A Translation Workflow

(If Using XLIFF read: CopyFlow Gold for InDesign CS5 for XLIFF Workflow )

If you are using CopyFlow Gold for language translation with the ‘Single Adobe Tag’‘Single RTF File’ or ’Tagged XML File’ formats, the workflow is:

1.) Open a copy of the document to be translated. Use the “Autoname Frames” menu item to name the text frames. The names are assigned automatically to any frame that contains text. A series of linked text frames (a story) is named as a single item. The story names are established by taking the prefix you enter in the dialog and appending a number.

2.) You can clear any boxes you do not wish to export by unnaming them using the “Name A Frame” menu item. You can also use this same item to interactively name or rename other stories.

3.) Open the CFG Tool palette from the menu and use the Prefs button to set the format you wish to export to and its options.

4.) Use the Export button to begin an export. You will be asked to select a folder to export into, after which the program will export all the named stories with content to individual files (or a single file) in the export folder. As part of the export process, a file extension signifying the export type is appended to the frame name to produce an output file name (e.g., Adobe Hist 2006.rtf).

5.) Save the copy of the document you began with; this preserves the frame names within the document.

6.) Translate the text.

7.) Place the translated file into the folder you wish to use for import and open the InDesign document, re-open the CFG Tool palette, and use the Import button to begin the batch import process. You will be asked to select the folder where the text file resides. CopyFlow Gold will then examine each named text frame and, if it finds importable text of the currently selected format in the selected import folder, the file will be imported into the document. If there is no file matching the name and format in the selected folder, no change will be made to the story.

 

Using Single Tagged Text File Format

An export/import option is provided to produce a single file of Adobe Tagged Text from an entire InDesign document.

To export to a single tagged text file, use the preferences to select the export filter “Single Adobe Tag File”, then click “Establish Tagged Text Import/Export Preferences” and then the Export button on the CFG Tool palette to start the export. You will be asked once to locate the folder you wish to export to. If you have the Remember Folders preference set, CFG will continue to use this folder as the export folder.

The exported file will be named docname.tag . Each story’s tagged text is delimited by a line which begins with a ‘#’ mark, followed by “storyname=”, followed by the frame name. For example: #storyname=story_25. The hash mark is the first character on a line of text. The frame name is followed by a carriage return. The tagged text for the story follows this line and runs until the next frame tag. (Note: Avoid translating the frame names or Adobe tags.)

With the InDesign file still open, to import a single file of tagged text, with the preference still set to “Single Adobe Tag File,” click the Import button. After a few seconds, the import process should begin. The import process looks through the InDesign document for each of the named frames and tries to find the tagged text with the same frame name within the .tag file. If it cannot find text for a particular frame, it begins to look for the text for the next named frame in the document.

How To Install CopyFlow Gold

Quit InDesign. The downloaded zip file should be expanded. It contains a .mxp or a .zxp file. Open the file .mxp or .zxp with Adobe Extension Mangager and follow the installation prompts.

If you plan to use the Tagged XML fromat with SDL Trados follow the additional instruction to Configure the Tag Editor for Tagged XML.

CFG Install  Folder

 

CopyFlow Gold Log File

 

A detailed log file of operation is written for each session. The log file is named “CFG_LogFile.txt” and is stored in the user’s My Documents (Windows) or Documents (Macintosh) folder.

 

Configure the SDL Trados Tag Editor for Tagged XML

 

1. A folder named “other files” in the CFG CS5 distribution contains two files a .ini and .dtd. Copy these 2 files to C:\Documents and Settings\All Users\Application Data\SDL International\Filters or another shared location.

2. Then in SDL Trados Tag Editor ->Tools menu select Tag Settings.

3. Click Open button and open the NapsXml.ini file moved into the Filters directory in step 1.

 

- To check Tag Editor settings for NapsXml:

1. Tag Settings . Select napsxml. (included in delivery)  Click Properties.

Tag Editor Screen

2. Then select Elements and click the Advanced button.

Tag Editor Screen

3. Keep All Line Breaks – should be checked

Tag Editor Screen

 

We have been Adobe InDesign developers for more than 10 years and provided many customers with custom solutions – tailored to their workflow.