Adobe InDesign Tagged Text User Manual

Page 8

Advertising
background image

4

USING INDESIGN TAGGED TEXT

Adobe InDesign CS5 Tagged Text

Last updated 4/21/2010

Attribute

Format

Examples and notes

Start file tag

<Encodingformat-Platform>

<ASCII-MAC>

Specify the encoding format (ASCII, ANSI, UNICODE, SJIS,
CGB18030, BIG5, or KSC5601) followed by the platform
(MAC or WIN).

Color table

<ColorTable:=<Swatch name 1:Swatch Type (COLOR,
TINT, GRAD, or MIXED):Color Type (CMYK, RGB, LAB, or
MIXED):Color Mode (Process, Spot, or Mixed):Values of
color, tint, or gradient
> <Swatch name 2>...>

A COLOR swatch requires 4 values for CMYK and 3 values
for RGB and LAB.

GRADIENT syntax: <Gradient name: GRAD:Fill
type
:StopPosition1;StopColor1; Midpoint1 |
StopPosition2;StopColor2; Midpoint2>

TINT syntax: <Base Color:TINT:Tint value>

MIXED Ink Syntax: <MixedInk
Name:MIXED:MIXED:Mixed:Component1Name,
Component2Name:Component1value,Component2value
>

<ColorTable:= <Black:COLOR:CMYK:Process:0,0,0,1>
<Green:COLOR:CMYK:Process:1,0,1,0>
<Blue:COLOR:CMYK:Process:1,1,0,0>
<G/B:GRAD:Linear:0.0;Green;0.5 | 1.0;Blue;0.5>
<Blue:TINT:Blue;20>>
<MixedInk1:MIXED:MIXED:Mixed:Green,Blue:1.00,0.5>

The color table is a list of all colors, tints, and gradients
defined in the Swatches panel and used in the text.

You can use the abbreviation <Table>.

Paragraph style
definition

<DefineParaStyle:Style group name::Paragraph style
name
= <attr1><attr2>...>

A paragraph style definition includes the character- and
paragraph-level attributes listed later in this document,
as well as <Nextstyle:style name> and <BasedOn:style
name
>

<DefineParaStyle:Style Group 1:Heading
1=<Nextstyle:Body Text> <cFont:AdobeGaramond>
<cSize:18> <pBodyAlignment:Center>>

The paragraph style definition includes a list of all styles
defined in the Paragraph Styles panel and used in the
text. See

Tags for formatting characters and paragraphs

on page

5.

Paragraph style
applied

<ParaStyle:Paragraph style name>

<ParaStyle:Heading 1>

The tag <ParaStyle:> starts a new paragraph with no
paragraph style. You can use the abbreviation <pStyle>.

Character style
definition

<DefineCharStyle:Style group name::Char style name=
<char attr1><char attr2>...>

A character style definition includes the character-
attributes listed later in this document, as well as
<Nextstyle:style name>.

<DefineCharStyle:Style Group
1:Emphasis=<Nextstyle:Emphasis> <cTypeface:Italic>>

The character style definition includes a list of all styles
defined in the Character Styles panel and used in the text.
See “

Tags for formatting characters and paragraphs

” on

page

5.

Character style
applied

<CharStyle:Character style name>

<CharStyle:Emphasis>

The tag <CharStyle:> ends the character style definition.

Table style definition

<DefineTableStyle:Style group name:table style
name=<table attr1><table attr2>...<cell style>...
>

A table style definition includes the table attributes listed
later in this document followed by the cell styles used in
the table style. The <BasedOn:style name> attributes can
also be included.

<DefineTableStyle:Style Group 1:Income
Table=<tBeforeSpace:6> <tLastColCellStyle::Blue Fill>
<tLastColUseBodyCellStyle:0>>

For information on hyperlink tags, see “

Table tags

” on

page

15.

Table style applied

<TableStyle:Table style name>

The <TableStyle> tag appears before the <TableStart>
tag.

<TableStyle:Income Table>

Advertising