Adding text frames and tables from InDesign packages


    From InDesign packages, you can add text frames and tables as either HTML elements or XML components. XML components function exactly like GoLive's HTML components; if you update a package, GoLive updates all related components throughout a site. (See Using components.)

    When you import packages, GoLive converts InDesign paragraph and characters styles into CSS styles. These CSS styles are stored with packages in an internal style sheet, but you can also create an external style sheet for a package. Internal style sheets determine how assets appear when you first add them to Web pages; external style sheets allow you to automatically update package assets throughout a site. You can edit both types of style sheets in the CSS editor. (See Using the CSS Editor.) Be aware, however, that CSS doesn't preserve all InDesign character and paragraph attributes. For more information, see the Adobe InDesign CS documentation.

    Note: The character encoding of the Web page must match the character encoding specified in InDesign's Package For GoLive dialog box; otherwise, characters like apostrophes and curly quotes may drop out. For information about character encoding, seeAdding elements or scripts to the head section.

To add a text frame or table from an InDesign package:

    From the package window, drag the text frame or table to a page.

    TipTo add a text frame or table as a graphic, hold down Shift while dragging; the text becomes a resizable Smart Object.

To edit the internal style sheet for a package:

    From the package window menu, choose CSS Styles > Edit.

To revert to the original internal style sheet:

    From the package window menu, choose CSS Styles > Generate.

To create an external style sheet for a package:

  1. From the package window menu, choose CSS Styles > Save to Site.
  2. Name the style sheet, specify a location in the site folder, and then click Save.

To specify how a text or table asset uses CSS styles and components:

  1. In the Page Items tab of the package window, select the text or table asset.
  2. In the toolbar, choose InCopy from the Generator menu, and then click the Settings button.
  3. In the InCopy Translation Options dialog box, choose one of the following from the CSS Style Definition menu:
    • None to write no CSS styles.
    • Internal CSS to write styles to the internal style sheet.
    • External CSS to write styles to an external style sheet.
  4. If you chose External CSS in step 3, specify the style sheet in the CSS Style Sheet text box.
  5. From the CSS Style Usage menu, choose one of the following:
    • Use to include styles for both <p> and <span> tags.
    • Do Not Use to use plain text.
  6. From the Content Usage menu, choose one of the following:
    • Component to add the asset as a component.
    • Direct to add the asset as inline HTML code.

    TipTo apply settings to all text assets in a package, hold down Alt (Windows) or Option (Mac OS) while clicking OK.