Download Xtags User's Guide
Transcript
Contents Creating Text, Picture, None, and Line Boxes....................... 33 Box Creation using Basic Parameters...........................................................................33 Tags for Text Boxes..................................................................................... 33 Parameters for anchored and unanchored text boxes.................... 34 Example 7.1.........................................................................................36 Example 7.2.........................................................................................37 Tags for Picture Boxes................................................................................ 37 Parameters for anchored and unanchored picture boxes ............. 38 Picture handling................................................................................... 40 Example 7.3.........................................................................................40 Conditional picture import................................................................. 41 Example 7.9.........................................................................................41 Extended picture path parameters..................................................... 41 Tags for None Boxes................................................................................... 42 Tags for Lines............................................................................................... 42 Parameters for anchored line tags...................................................... 42 Parameters for unanchored line tags................................................. 43 Example 7.4.........................................................................................44 Expanded Box Creation Parameters.............................................................................44 Absolute and Relative Box Placement...................................................... 44 Automatic Box Resizing............................................................................. 45 Box width parameter........................................................................... 45 Box height parameter.......................................................................... 46 Shrink-to-fit text boxes........................................................................ 46 Example 7.5.........................................................................................47 Shrink-to-fit picture boxes.................................................................. 47 Example 7.6.........................................................................................47 Picture Box Runaround Types (unanchored only)................................. 48 Item runaround.................................................................................... 48 Box Frame Specifications........................................................................... 48 Frame width.......................................................................................... 48 Frame color........................................................................................... 49 Frame shade.......................................................................................... 49 Example 7.7.........................................................................................49 Box Background Opacity and Blends....................................................... 50 Background color................................................................................. 50 Background shade................................................................................ 50 Example 7.8.........................................................................................50 Text Insets and Outsets............................................................................... 50 Grouping Tags...............................................................................................................50 Xtags User’s Guide 3 Grouping Unanchored Boxes.................................................................... 50 Example 7.10.......................................................................................51 Set/Clear Relative Origin Tags................................................................... 51 Example 7.11.......................................................................................51 Creating Tables............................................................................. 52 Tags for Tables............................................................................................. 52 Parameters for anchored and unanchored table boxes................... 53 Example 8.1.........................................................................................54 Tags for Table Rows ................................................................................... 56 Tags for Table Cells..................................................................................... 57 Example 8.2.........................................................................................57 Applying Master Pages............................................................... 59 Example 9.1.........................................................................................59 Working with Translation Tables and Macros................. 60 Translation Tables........................................................................................................60 Using the Translation Table Tag............................................................... 60 Translation Table Format........................................................................... 60 Translation specifications................................................................... 61 Example 10.1.......................................................................................61 Adding Entries to a Translation Table..................................................... 62 Turning Off Tag Interpretation................................................................. 63 Macros...........................................................................................................................63 Macro Definition and Invocation Tags.................................................... 63 Separator-specifying macro definition tag....................................... 64 Example 10.2.......................................................................................64 Automating Document Building............................................. 66 Xtags Simple Batch Facility..........................................................................................66 Using Scripts to Automate Document Building..........................................................66 Get Text with Xtags..................................................................................... 67 AppleScript (Mac-only)....................................................................... 67 ExtendScript (InDesign only)............................................................. 67 VB Script (InDesign/Windows only)................................................ 67 Save Text with Xtags................................................................................... 67 AppleScript (Mac-only)....................................................................... 67 AppleScript (Mac-only)....................................................................... 67 VB Script (InDesign/Windows only)................................................ 67 Example 11.1.......................................................................................68 AppleScript (Mac-only)....................................................................... 68