A Guide to XPress Tags 8
CONTENTS Contents Legal notices.....................................................................................4 Understanding XPress Tags..............................................................5 Importing tagged text............................................................................................5 Generating tagged text in another application......................................................5 General information on XPress tags......................................................
CONTENTS Other special characters.......................................................................................20 ASCII codes...........................................................................................................21 Indexing..........................................................................................22 Marking text for an index.....................................................................................22 Specifying index tag information....................
LEGAL NOTICES Legal notices ©2008 Quark, Inc. All rights reserved. Unauthorized reproduction is a violation of applicable laws. Quark, the Quark logo, QuarkXPress and XTensions are trademarks or registered trademarks of Quark, Inc. and its affiliates in the U.S. and/or other countries. Mac is a trademark of Apple, Inc. Unicode is a trademark of Unicode, Inc. Windows and OpenType are registered trademarks of Microsoft Corporation in the United States and/or other countries.
UNDERSTANDING XPRESS TAGS 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.
UNDERSTANDING XPRESS TAGS • To combine character attribute codes, begin with a left angle bracket, then enter the codes you want to specify, and complete the code with a right angle bracket. For example, the code for bold italic text is . • XPress Tags codes for character attributes must be placed immediately preceding the characters to which you want to apply the attributes.
UNDERSTANDING XPRESS TAGS specification in the project's list of hyphenation and justification specifications, the Standard hyphenation and justification specification is substituted. • The maximum length for the names of style sheets and of hyphenation and justification specifications is 63 characters. • The following characters cannot be used in style sheet names: " : = @. • Names you specify as XPress Tags codes must be preceded and terminated by an inch mark " character.
CHARACTER AND PARAGRAPH FORMATTING Character and paragraph formatting When you specify type styles using XPress Tags codes,
always sets the type style to Plain. When you specify any other type style (for example, 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 , the Bold type style is applied to the text that follows.
CHARACTER AND PARAGRAPH FORMATTING • Ligatures: to turn on, or to turn off • Opacity*:
CHARACTER AND PARAGRAPH FORMATTING • Norwegian (Bokmal): • Norwegian (Nynorsk: • Polish: • Portuguese (Brazilian): • Portuguese (European): • Romanian: • Russian: • Slovak: • Slovenian: • Spanish: • Swedish: • Turkisn: • Ukranian: RUBI TEXT Rubi text lets you annotate base characters with smaller rubi characters. This feature is available only in particular language editions of QuarkXPress.
CHARACTER AND PARAGRAPH FORMATTING • encloses the tag. • /#72 and /#40 mark the beginning and end of the grouped characters. • 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.
CHARACTER AND PARAGRAPH FORMATTING • Ornaments*: ornm • Proportional Lining: plin • Proportional Oldstyle: pold • Ruby Notation Forms†: ruby • Stylistic Alternates*: salt • 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 *This is a glyph attribute; see above.
CHARACTER AND PARAGRAPH FORMATTING †This feature can be applied only in a language edition of QuarkXPress that supports East Asian features. PARAGRAPH ATTRIBUTES • Left-align paragraph : <*L> • Center-align paragraph : <*C> • Right-align paragraph : <*R> • Justify paragraph : <*J> • Force justify paragraph : <*F> • Set tab stops* : <*t(##.#,#,"1 or 2 characters")>. Values in parentheses represent Position (in points), Alignment, and Fill Characters.
CHARACTER AND PARAGRAPH FORMATTING • 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.
CHARACTER AND PARAGRAPH FORMATTING • Revert all OpenType features to the character attributes in the currently applied paragraph style sheet: • Revert all OpenType features to the character attributes in the currently applied character style sheet: A GUIDE TO XPRESS TAGS 8 | 15
STYLE SHEETS 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.
STYLE SHEETS • Apply No Style paragraph style sheet: @:paragraph text • Apply defined paragraph style sheet: @stylesheetname:paragraph text APPLYING A CHARACTER STYLE SHEET • Apply Normal character style sheet: <@$> • Apply the paragraph's character style sheet: <@$p> • Apply No Style character style sheet: <@> • Apply defined character style sheet: <@stylesheetname> ADDITIONAL XPRESS TAGS FOR STYLE SHEETS The possibility of a relationship between a character style sheet and a paragraph style sheet creat
COLORS Colors A non-process color needs to be accurately defined in order to be accurately interpreted upon import. For these colors, a definition is placed at the top of the XPress Tag file similar to style sheet definitions. DEFINING A CUSTOM COLOR @colorname=[C]<"colorclass",colorspec> Where: colorname = name of the color [C] = denotes a custom color colorspec = "libraryname",S or P,#,"colorsubclass" #.##,#.##,#.##,#.##,#.##,#.
COLORS 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.
SPECIAL CHARACTERS Special characters XPress Tags lets you specify character encoding and insert and manipulate special characters such as discretionary hyphens and nonbreaking spaces. ENCODING One of the following three extended character set indicators is automatically placed at the top of an XPress Tags file you create using the Save Text command (File menu).
SPECIAL CHARACTERS • Indent Here: <\i> • Right-indent tab: <\t> • Standard space*: <\s> • En space*: <\e> • Punctuation space*: <\p> • Flex space*: <\f> • Em dash*: <\_> • En dash*: <\a> • Discretionary hyphen: <\h> • Previous Text Box Page Number character: <\2> • Current Page Number character: <\3> • Next Text Box Page Number character: <\4> • New column: <\c> • New box: <\b> • Em space*: <\m> • 3-per-Em space*: <\#> • 4-per-Em space*: <\$> • 6-per-Em space*: <\^> • Figure space*: <\8> • Hair space*: <\{
INDEXING Indexing You can import and export QuarkXPress index tags in XPress Tags format. Text might be tagged by writers or indexers using a word processing application, and then imported into QuarkXPress for layout purposes. Alternatively, text 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.
INDEXING • Selection Text: 1 • To Style: stylesheetname • Specified # of ¶s: Number of paragraphs • Suppress Page #: 0 • To End Of: 0, 1 (Story = 0, Document = 1) • Suppress Page #: 0 • Cross-Reference: 0, 1, 2 (See = 0, See also = 1, See herein = 2) A GUIDE TO XPRESS TAGS 8 | 23