Quark XPress Tags User Manual

A Guide to XPress Tags 2019
2019/08/07
A GUIDE TO XPRESS TAGS 2019 | I
Contents
Understanding XPress Tags..........................................................1
Importing tagged text ......................................................................................1
Generating tagged text in another application ................................................1
General information on XPress tags .................................................................1
Character and paragraph formatting ...........................................3
Character attributes..........................................................................................3
Languages.................................................................................................................4
Rubi text....................................................................................................................6
Group characters ......................................................................................................7
Font sets ...................................................................................................................7
OpenType attributes.................................................................................................8
Paragraph attributes.......................................................................................11
Other attributes..............................................................................................14
Turn on/off styling...........................................................................................14
Revert styling to style sheets .........................................................................14
Style sheets................................................................................15
Defining style sheets.......................................................................................15
Applying style sheets......................................................................................15
Additional XPress Tags for style sheets..........................................................16
Colors .........................................................................................18
Defining a custom color ..................................................................................18
Applying a custom color .................................................................................19
Special characters.......................................................................20
Encoding .........................................................................................................20
Escaped characters .........................................................................................20
Other special characters .................................................................................20
ASCII codes.....................................................................................................22
Indexing .....................................................................................23
Marking text for an index ...............................................................................23
Specifying index tag information....................................................................23

UNDERSTANDING XPRESS TAGS

A GUIDE TO XPRESS TAGS 2019 | 1
Understanding XPress Tags
With XPress Tags Filter XTensions software, you can use plain text files to import
and export text into QuarkXPress layouts with paragraph and character attributes
already applied. Because the plain text file format doesn’t actually support
attributes, the formatting is indicated with codes that are translated by the XPress
Tags filter. As the new character and paragraph formatting options are added to
QuarkXPress, new XPress Tags codes are added to support the new attributes.

Importing tagged text

To import a plain text file that contains embedded XPress Tags codes:
Choose File > Import. 1.
Select the target XPress tags file. 2.
The application attempts to detect the encoding of the XPress Tags file. To 3.
specify a different encoding, choose an option from the Encoding drop-down
menu.
To convert XPress Tags codes into actual character attributes and paragraph 4.
formats, check Interpret XPress Tags in the Import Text dialog box. If you do
not check Interpret XPress Tags in the Import Text dialog box before
importing tagged text, QuarkXPress does not convert XPress Tags codes. Instead,
the program imports the codes as text characters.

Generating tagged text in another application

To include XPress Tags information in a text file that you created in another
application, precede the text with the codes you want. Begin the text file with a
version code and encoding indication (for example: <v15.00><e9>). For more
information about encoding codes, see “Encoding“.
Save the text you generate in the plain text file format using the appropriate
encoding.

General information on XPress tags

When entering XPress Tags codes, keep the following in mind:
XPress Tags codes are case-sensitive.

CHARACTER AND PARAGRAPH FORMATTING

A GUIDE TO XPRESS TAGS 2019 | 3
Character and paragraph formatting
When you specify type styles using XPress Tags codes, <P> always sets the type style
to Plain. When you specify any other type style (for example, <B> for Bold), that
style is applied if it isn’t already specified, and is removed if it has been specified.
For example, the first time you specify <B>, the Bold type style is applied to the text
that follows. If you enter <B> again, the Bold type style is not applied to the text
that follows. If you enter <$>, the type style is set to the one specified in the current
style sheet. If a style sheet is not currently applied, the Normal style sheet is used.

Character attributes

Plain: <P>
Bold: <B>
Italic: <I>
Underline: <U>
Word Underline: <W>
Strikethrough: </>
Double Strikethrough: <R>
Outline: <O>
Shadow: <S>
All Caps: <K>
Small Caps: <H>
Superscript: <+>
Subscript: <-> (hyphen)
Superior: <V>
Change font : <f"font name">
Change font size : <z###.##> in points
Change color*: <c"color name"> or <cC, cM, cY, cK, and cW>
Change shade : <s###.#> in percentage of shade
CHARACTER AND PARAGRAPH FORMATTING
A Guide to XPress Tags 2019 | 5
Croatian: <n68>
Czech: <n56>
Danish: <n9>
Dutch: <n5>
English (International): <n2>
English (US): <n0>
Estonian: <n44>
Finnish: <n17>
French: <n1>
German: <n3>
German (Reformed): <n70>
German (Swiss Reformed): <n69>
German (Swiss): <n19>
Greek: <n20>
Hungarian: <n43>
Icelandic: <n21>
Italian: <n4>
Japanese: <n14>
Korean: <n51>
Latvian: <n45>
Lithuanian: <n41>
Norwegian (Bokmal): <n12>
Norwegian (Nynorsk): <n80>
Polish: <n42>
Portuguese (Brazilian): <n71>
Portuguese (European): <n10>
Romanian: <n39>
Russian: <n49>
Slovak: <n57>
Slovenian: <n66>
Spanish: <n8>
Swedish: <n7>
Turkish: <n24>
Ukrainian: <n62>
CHARACTER AND PARAGRAPH FORMATTING
A Guide to XPress Tags 2019 | 7
2 is overhang, where 0 = none, 1 = up to one rubi character, 2 = up to 1/2 rubi
character, 3 = up to one base character, 4 = up to 1/2 base character, and 5 =
unrestricted.
B is placement relative to base text, where A = Above and B = below.
T is auto-alignment, where T = true and F = false.

Group characters

Character grouping lets you group horizontal characters in a vertical text story.
This feature is an East Asian feature and is only available when you have the East
Asian preference enabled (QuarkXPress/Edit( > Preferences > East Asian). However,
you can import and export text that uses these features in XPress Tags format using
any language edition of QuarkXPress.
Group character tags use the following form:
<A(\#72ABC\#40<t–10h80>)>
The contents of this tag are as follows:
<A()> encloses the tag.
/#72 and /#40 mark the beginning and end of the grouped characters.
<t–10h80> are applications of tracking and horizontal scaling (see “Character
attributes“).

Font sets

Font sets let you specify a group of fonts to be applied to different types of text in a
text run. Like style sheet definitions, font set definitions are stored in XPress Tags
files. For example, if you export text that uses a font set named “Fontset 1,” the
definition of Fontset 1 is exported in the form of a tag like the following, at the
beginning of the XPress Tag file:
@Fontset 1=[F]<"HiraMinPro-W3",100,0,h100,"GrecoStd-
DB",100,0,h100,
"Corbel",100,0,h100,"HiraMinPro-W3",89.999,-5,h105,"Times-
Roman",100,0,h100>
In the , font set tags are as follows:
<h105z10.89b-0.6f"HiraMinPro-W3",("Fontset 1",12)>
The contents of this tag are as follows:
h105 = horizontal or vertical scaling (see “Character attributes“).
z10.8 = percentage of current font size
b-0.6 = baseline shift, in points
f"HiraMinPro-W3" = font
("Fontset 1", 12) = name of the font set to be applied and current point size
of the font
CHARACTER AND PARAGRAPH FORMATTING
A Guide to XPress Tags 2019 | 9
Small Caps: smcp
Subscript: subs
Superscript: sups
Swash: swsh
Titling Alternates: titl
Tabular Lining: tlin
Tabular Oldstyle: told
Slashed Zero: zero
Vertical Kana Alternates : vkna
Small Capitals from Capitals: c2sc
Case Sensitive Forms: case
Capital Spacing: cpsp
Stylistic Set 0: ss00
Stylistic Set 1: ss01
Stylistic Set 2: ss02
Stylistic Set 3: ss03
Stylistic Set 4: ss04
Stylistic Set 5: ss05
Stylistic Set 6: ss06
Stylistic Set 7: ss07
Stylistic Set 8: ss08
Stylistic Set 9: ss09
Stylistic Set 10: ss10
Stylistic Set 11: ss11
Stylistic Set 12: ss12
Stylistic Set 13: ss13
Stylistic Set 14: ss14
Stylistic Set 15: ss15
Stylistic Set 16: ss16
Stylistic Set 17: ss17
Stylistic Set 18: ss18
Stylistic Set 19: ss19
Stylistic Set 20: ss20
Stylistic Set 21: ss21
CHARACTER AND PARAGRAPH FORMATTING
A Guide to XPress Tags 2019 | 11
you can import and export text that uses these features in XPress Tags format using
any language edition of QuarkXPress.
Alternate metrics
Full Widths : fwid
Half Widths : hwid
Third Widths : twid
Quarter Widths : qwid
Proportional Widths : pwid
Alternate Vertical Metrics : valt
Proportional Alternate Widths : palt
Proportional Alternate Vertical Metrics : vpal
Alternate Half Widths : halt
Alternate Vertical Half Metrics : vhal
This is a glyph attribute; see above.
This feature is an East Asian feature and is only available when you have the East
Asian preference enabled (QuarkXPress/Edit( > Preferences > East Asian). However,
you can import and export text that uses these features in XPress Tags format using
any language edition of QuarkXPress.

Paragraph attributes

XPress Tags codes for paragraph attributes must be placed at the beginning of a
paragraph. Formats specified by XPress Tags codes remain applied until you specify
other values at the beginning of a subsequent paragraph or until you enter codes
that change the style sheet.
Left-align paragraph: <*L>
Center-align paragraph: <*C>
Right-align paragraph : <*R>
Justify paragraph: <*J>
Force Justify paragraph: <*F>
Towards Spine paragraph: <*T>
Away from Spine paragraph: <*W>
Set Tab stops : <*t(##.#,#,"1 or 2 characters")>. Values in
parentheses represent Position (in points), Alignment, and Fill Characters. For
no fill characters, enter a 1 followed by two spaces. For 1 fill character, enter a 1
followed by the repeat character (enter the character twice). For 2 fill characters,
CHARACTER AND PARAGRAPH FORMATTING
A Guide to XPress Tags 2019 | 13
Dash Dot, 4 for All Dots, 5 for Double, 6 for Thin-Thick, 7 for Thick-Thin, 8
for Thin-Thick-Thin, 9 for Thick-Thin-Thick, and 10 for Triple. Shade is a
percentage. You can specify a rule’s offset value in points or as a percentage (#%).
For example, <*rb(2,0,C,50,6,18,30%)> would format a Rule Below 2
points wide in the Solid style, 50% Cyan, indented 6 points From Left and 18
points From Right, and Offset 30%.
Drop cap : <*d(character count,line count)>
Keep with Next Paragraph : <*kn1> or <*kn0>1 = keep with next; 0 =
don’t keep
Keep Together : <*ktA> or <*kt(#,#)> A = All; #,# = Start line number,
End line number To return to the setting used in the Normal style sheet, enter
<*kt($)>
Hanging character set: <*s"hanging character set name">. If the layout
does not contain a hanging character set by this name, no hanging character set
is applied. However, if you subsequently add a hanging character set with this
name, that hanging character set is applied to the text.
Bullet style: <*bb"Bullet Style Name"(7.2,0,0)>. If the layout does not
contain a bullet style by this name, no bullet style is applied. In the
parenthesized list, the first number is the minimum distance between the bullet
and the text, the second number is the Start At value, and the third number is
the Restart Numbering flag (0 = false, 1 = true). Note that the last value is
irrelevant for bullet styles.
Numbering style: <*bb"Numbering Style Name"(7.2,0,0)>. If the layout
does not contain a numbering style by this name, no numbering style is applied.
In the parenthesized list, the first number is the minimum distance between the
bullet and the text, the second number is the Start At value, and the third
number is the Restart Numbering flag (0 = false, 1 = true).
Outline style: <*bo"Outline Style Name"(7.2,0,0)>. If the layout does not
contain an outline style by this name, no outline style is applied. The
parenthesized list of values is ignored for outline styles. In the parenthesized list,
the first number is the minimum distance between the bullet and the text, the
second number is the Start At value, and the third number is the Restart
Numbering flag (0 = false, 1 = true). Note that the last value is irrelevant for
bullet styles.
Indent level: <*l1>. The lowest level is l0 (level 1), and the highest level is l8
(level 9).
If a $ replaces any or all format codes (for example, <*t$>), the current
paragraph style sheet values are used. If a style sheet is not currently applied, the
Normal style sheet is used. All numeric values in these two commands are
measured in points.
Any or all of the format codes can be replaced by a $ to use the current style
sheet’s definition, or by a 0 to specify no rule (for example, <*ra$> and <*ra0>).

STYLE SHEETS

A GUIDE TO XPRESS TAGS 2019 | 15
Style sheets
You can use XPress Tags to apply character style sheets and establish a relationship
between paragraph and character style sheets.
Defining style sheets
Style sheet definitions may include paragraph attributes only, character attributes
only, or both paragraph and character attributes.
Define paragraph style sheet with default character attributes:
@stylesheetname=[Sp"",""] <paragraph and character attributes>
(Hard Return) For example, @Paragraph1=[Sp"",""]<*L*h"Standard"
*kn0*kt0*ra0*rb0*d0*p(0,0,0,0,0,0,g(B,S))PBs100t0h100z14k0b0c"
Red"f"Times-Roman">
Define character style sheet: @stylesheetname=<character
attributes>(Hard Return) For example, @Char1=<Ps100t–
3h100z10k0b0cK f"Palatino-Roman">
Define paragraph style sheet with character style sheet:
@stylesheetname=[Sp"","","character stylesheetname"]<paragraph
attributes>(Hard Return) For example,
@Paragraph1=[Sp"","Paragraph1","Char1"]
<*L*h"Standard"*kn0*kt0*ra0*rb0*d0*p(0,0,0,0,0,0,g(B,S))>
Base one paragraph style sheet on another, and apply Next Style:
@stylesheetname=[Sp"based on paragraph stylesheetname","next
paragraph stylesheetname","character
stylesheetname"]<paragraph attributes>(Hard Return) For example,
@Paragraph2=[Sp"Paragraph1", "Paragraph3","Char1"]<*t(121,1,
"1."227,1,"1 ")>
Base one character style sheet on another:
@stylesheetname=[St"","","","based on character
stylesheetname"] <character attributes>(Hard Return) For example,
@Char2=[St"","","","Char1"] <PBf"ArialMT">

Applying style sheets

The @ character is used to apply a style sheet. When applying a character style sheet,
you can set all character attributes to the character style sheet’s default attributes by
preceding @ with an “x“. This clears any existing character attribute overrides. For
STYLE SHEETS
A Guide to XPress Tags 2019 | 17
Set type style according to character attributes in the currently applied character
style sheet: <$$>
Set all character attributes according to character attributes in the applied
paragraph style sheet.: <a$>
This command does not apply a character style sheet
Set all character attributes to character attributes in the currently applied
character style sheet: <a$$>
COLORS
A Guide to XPress Tags 2019 | 19
Example: @CMYK-M50Y100spotY=[C]<"CMYK",S,3,0,0.5,1,0>
if colorclass = "DIC", "FOCALTONE", "PANTONE®…", "TOYO", "TRUMATCH" then
colorspec = "libraryname",S or
P,#,"colorsubclass",#.##,#.##,#.##,#.##,#.##,#.##
Example1: @DIC 399p spotB=[C]<"DIC","DIC
399p",S,4,"CMYK",0.55,0.14,0.47,0>
Example2: @PANTONE 259 HexC=[C]<"PANTONE® solid in hexachrome®
coated","PANTONE 259 HC",S,4,"Hexachrome",0.4,1,0,0.25,0,0>
if colorclass = "MULTI-INK", then colorspec = "colorname",
"colorclass",I or C,#.##,#
Where:
I or C = the color is Ink alias or custom color.
I = Ink-alias
C = Custom Ink
#.## = the multi-ink percentage
# = the ink index. This value is written only for ink-alias components
Example: @Mink-M70Lab20=[C]<"MULTI-INK","Process
Magenta","CMYK",I,0.7,1"LAB-L50A45B–75spotB","LAB",C,0.2>

Applying a custom color

Once the colors are defined, they can be applied with the normal color tag. For
example, <c"Red">, or <c"Mink-M70Lab20">
SPECIAL CHARACTERS
A Guide to XPress Tags 2019 | 21
Some special characters have their own XPress Tags codes. Use the following codes
to define these characters.
Tab: <\t>
Standard space : <\s>
Em space : <\m>
En space : <\e>
3-per-Em space : <\#>
4-per-Em space : <\$>
6-per-Em space : <\^>
Thin space : <\[>
Hair space : <\{>
Zero width space : <\z>
Flexible space : <\f>
Figure space : <\8>
Punctuation space : <\p>
Word joiner: <\j>
Ideographic space : <\o>
Indent Here: <\i>
Em dash : <\_>
En dash : <\a>
Hyphen : <\->
Discretionary hyphen: <\h>
Discretionary new line: <\d>
New line: <\n>
New column: <\c>
New box: <\b>
Previous box page number: <\2>
Current box page number: <\3>

INDEXING

A GUIDE TO XPRESS TAGS 2019 | 23
Indexing
You can import and export QuarkXPress index tags in XPress Tags format. The text
might be tagged by writers or indexers using a word processing application, and
then imported into QuarkXPress for layout purposes. Alternatively, the might be
exported from QuarkXPress with index tags for editing.

Marking text for an index

The XPress Tags for indexing let you insert index markers at the text insertion point
or specify ranges of text to be indexed.
Insert an index marker at the insertion point: <XI,Tag Info>
Indicate the start of an indexed range of text: <XO>
Indicate the end of an indexed range of text: <XC,Tag Info>

Specifying index tag information

Index tags include information about an entry’s level, style, and scope.
First-level entry: "First Level entry","",Sort As,Style
Info,Scope,Extra Info,"Cross-Reference String". For example,
<XO>20th Century<XC,"20th Century","","Twentieth
Century","Index Text 1",6,1,"Modern Age">
Second-level entry: "First Level entry","Second Level
entry","",Sort As,Style Info,Scope,Extra Info,"Cross-Reference
String". For example, <XO>Humanities<XC,"20th
Century","Humanities","","","Index Text 2",6,1,"Arts">
Third-level entry: "First Level entry","Second Level entry","Third
Level entry","",Sort As,Style Info,Scope,Extra Info,"Cross-
Reference String". For example, <XO>Literature<XC,"20th
Century","Humanities","Literature","","","Index Text
3",6,1,"Books">
Fourth-level entry: "First Level entry","Second Level entry","Third
Level entry","Fourth Level entry",Sort As,Style
Info,Scope,Extra Info,"Cross-Reference String". For example,
<XO>English<XC,"20th
Century","Humanities","Literature","English","","Index Text
4",6,1,"Great Britain">

LEGAL NOTICES

A GUIDE TO XPRESS TAGS 2019 | 25
Legal notices
©2019 Quark Software Inc. and its licensors. All rights reserved.
Protected by the following United States Patents: 5,541,991; 5,907,704; 6,005,560;
6,052,514; 6,081,262; 6,633,666 B2; 6,947,959 B1; 6,940,518 B2; 7,116,843;
7,463,793; and other patents pending.
Quark, the Quark logo, QuarkXPress, and QuarkCopyDesk are trademarks or
registered trademarks of Quark Software Inc. and its affiliates in the U.S. and/or
other countries. All other marks are the property of their respective owners.
Loading...