You can edit all export tags in InDesign primarily through the Paragraph, Character, or Object Style panels. This allows you to control how your content is tagged for EPUB, HTML, and PDF exports.
Steps to Edit All Export Tags:
-
Open the Relevant Style Panel: Navigate to the Paragraph Styles, Character Styles, or Object Styles panel depending on which styles you want to edit export tags for.
-
Access Edit All Export Tags: In the panel menu (usually accessed through a three-line "hamburger" icon or similar), look for "More Options" and within that, find and select "Edit All Export Tags." This command might be located directly in the panel menu in some versions of InDesign.
-
Choose Export Format: A dialog box will appear, allowing you to select the export format you want to configure tags for. Typically, you'll see options for "EPUB and HTML" and "PDF."
-
Assign Tags: For each style listed, select the appropriate tag from the available options. This determines how the content associated with that style will be marked up in the exported file.
-
EPUB and HTML Specific Options: When configuring EPUB and HTML export tags, you may also have options to:
- Split EPUB: Control whether the document is split into multiple files.
- Include in HTML: Determine if the content should be included in the HTML output.
- Emit CSS: Specify whether CSS styles should be generated for the tagged content.
-
Confirm Changes: Once you've assigned tags to all the necessary styles and configured any format-specific options, click "OK" to save your changes.
Example:
Let's say you have a Paragraph Style called "Heading 1". To ensure that all text formatted with "Heading 1" is properly tagged as an H1 heading in your EPUB export:
- Open the Paragraph Styles panel.
- Select "Edit All Export Tags" from the panel menu.
- Choose "EPUB and HTML".
- Locate "Heading 1" in the list.
- From the dropdown menu next to "Heading 1", select the "H1" tag.
- Click "OK".
Now, whenever you export your InDesign document to EPUB, all paragraphs styled with "Heading 1" will be correctly tagged as <h1>
elements.