Tags for formatting characters and paragraphs – Adobe InDesign Tagged Text User Manual

Page 9

Advertising
background image

5

USING INDESIGN TAGGED TEXT

Adobe InDesign CS5 Tagged Text

Last updated 4/21/2010

Tags for formatting characters and paragraphs

The following tables describe character- and paragraph-level tags.

Cell style definition

<DefineCellStyle:Style group name:cell style name=<cell
attr 1><cell attr 2>...
>

A cell style definition includes the cell attributes listed
later in this document, as well as <BasedOn:style name>.

<DefineCellStyle:Style Group 1:Blue
Fill:<tCellFillColor:C\=75 M\=0 Y\=0 K\=0>>

Cell style applied

<CellStyle:cell style name>

<CellStyle:Blue Fill>

The <CellStyle> tag appears after the <CellStart> tag,
and the <End:CellStyle> tag appears after the <CellEnd>
tag.

Define list

<DefineListStyle:list name=<list attr1><list attr 2>>

The two attributes you can include are
<ContinuesAcrossStories:0 or 1> and
<ContinuesAcrossDocuments:0 or 1> (0=off; 1=on)

<DefineListStyle:Level 1=<ContinuesAcrossStories:0>>

Variable definition

<DefineTextVariable:variable
name
=<TextVarType:type><var attr 1><var attr 2>...>

A variable style definition includes the type of variable
and variable attributes listed later in this document.

<DefineTextVariable:Chapter
Titles=<TextVarType:ChapterNum>
<tvTextBefore:Chapter>>

TextVarType attributes include CreateDate, ModDate,
OutputDate, PageCount, FileName, CustomText,
ChapterNum, ParaStyle, and CharStyle

Variable inserted

<TextVarName:var name>

<TextVarName:Chapter Number>

Conditional text
definition

<DefineCondition:condition
name
=<ConditionColor:color>
<ConditionIndicatorMethod:Enum>
<ConditionIndicatorAppearance:Enum>
<ConditionVisibility:Boolean>>

<DefineCondition:Vista=<ConditionColor:0.6,0.4,0>
<ConditionIndicatorMethod:Highlight>
<ConditionIndicatorAppearance:Solid>
<ConditionVisibility:1>>

Valid values for <ConditionIndicatorMethod> include
Highlight and Underline. Valid values for
<ConditionIndicatorAppearance> include Wavy, Solid,
and Dashed. For <ConditionVisibility>, 1 is displayed and
0 is hidden.

Conditional text
applied

<cConditionalText:condition name>

<cConditionalText:Vista>

Cross-reference
format definition

<XRefFormatDefn:=<FormatName:variable name>
<CharStyleRef:style name>
<BuildingBlocksLength:Integer>
<BuildingBlock:=<BlockType:Enum>>>

A cross-reference format definition includes the format
name, the name of the character style that’s applied to
the cross-reference source, the number of building
blocks used, and building block tags.

<XRefFormatDefn:=<FormatName:Full Paragraph \&
Page Number><CharStyleRef:>
<BuildingBlocksLength:4>
<BuildingBlock:=<BlockType:CustomString><CustomTe
xt:\"><CharStyleRef:><IncludeDelim:0>>
<BuildingBlock:=<BlockType:FullParagraph><CustomT
ext:><CharStyleRef:><IncludeDelim:0>>
<BuildingBlock:=<BlockType:CustomString><CustomTe
xt:\" on page ><CharStyleRef:><IncludeDelim:0>>
<BuildingBlock:=<BlockType:PageNumber><CustomTe
xt:><CharStyleRef:><IncludeDelim:0>>>

For information on hyperlink tags, see “

Hyperlink, cross-

reference, and index tags

” on page

20.

Cross-reference
format

XRefFormat:format name

<XRefFormat:Full Paragraph \& Page Number>

Attribute

Format

Examples and notes

Advertising