A Guide to XPress Tags 2019 2019/08/07
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.........
Legal notices ..............................................................................
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 • XPress Tags codes for character and paragraph attributes must begin and end with angle brackets (< >). For example, the XPress Tags code for boldface text is . • 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 .
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. If you enter again, the Bold type style is not applied to the text that follows.
CHARACTER AND PARAGRAPH FORMATTING • Horizontal scale : in percentage of scale • Vertical scale • Kern : in 1/200 em space • Track : in 1/200 em space • Sending : Same tag as tracking but with a value in points added to the end • Baseline shift • Ligatures: to turn on, or to turn off • Opacity • OpenType: where “xxxx” = the OpenType feature • Language: (see “Languages“) • Character alignment :
CHARACTER AND PARAGRAPH FORMATTING • Croatian: • Czech: • Danish: • Dutch: • English (International): • English (US): • Estonian: • Finnish: • French: • German: • German (Reformed): • German (Swiss Reformed): • German (Swiss): • Greek: • Hungarian: • Icelandic: • Italian: • Japanese: • Korean: • Latvian: • Lithuanian: • Norwegian (Bokmal): •
CHARACTER AND PARAGRAPH FORMATTING • Hindi: • Bengali: • Punjabi: • Tamil: • Malayalam: • Odia: • Telugu: • Kannada: • Gujarati: • Marathi: • Assamese: Rubi text Rubi text lets you annotate base characters with smaller rubi characters. This feature is an East Asian feature and is only available when you have the East Asian preference enabled (QuarkXPress/Edit( > Preferences > East Asian).
CHARACTER AND PARAGRAPH FORMATTING • 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.
CHARACTER AND PARAGRAPH FORMATTING 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. OpenType attributes Turn on/off styling is similar to the current method used for type styles. Respecifying a tag toggles the current state of the attribute.
CHARACTER AND PARAGRAPH FORMATTING • Small Caps: smcp • Subscript: subs • Superscript: sups • Swash: swsh • Titling Alternates: titl • Tabular Lining: tlin • Tabular Oldstyle: told • Slashed Zero: zero • Vertical Kana Alternates • 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
CHARACTER AND PARAGRAPH FORMATTING • Stylistic Set 22: ss22 • Stylistic Set 23: ss23 • Stylistic Set 24: ss24 • Stylistic Set 25: ss25 • Stylistic Set 26: ss26 • Stylistic Set 27: ss27 • Stylistic Set 28: ss28 • Stylistic Set 29: ss29 • Stylistic Set 30: ss30 • Stylistic Set 31: ss31 • Stylistic Set 32: ss32 • Stylistic Set 33: ss33 This is a glyph attribute; see above.
CHARACTER AND PARAGRAPH FORMATTING you can import and export text that uses these features in XPress Tags format using any language edition of QuarkXPress.
CHARACTER AND PARAGRAPH FORMATTING enter a 2 followed by the alternating characters. Alignment options are 0 for Left, 1 for Center, 2 for Right, 4 for Decimal, 5 for Comma, and any printing character (in quotation marks) for Align On. Note: Reverting text to the Normal style sheet does not revert the alignment to the alignment specified in the Normal style sheet. Instead, you must specify the new alignment in addition to reapplying the Normal style sheet.
CHARACTER AND PARAGRAPH FORMATTING 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%.
CHARACTER AND PARAGRAPH FORMATTING 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. Other attributes This section lists attributes that do not fit into the other categories.
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 example, applies the Normal character style sheet, erasing any existing character attributes. Applying a paragraph style sheet • Apply Normal paragraph style sheet: @$:paragraph text • Apply No Style paragraph style sheet: @:paragraph text • Apply defined paragraph style sheet: @stylesheetname:paragraph text To apply the Normal style sheet (which had attributes defined in the QuarkXPress project) to a paragraph, begin the paragraph with the @$: code.
STYLE SHEETS • 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.
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 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,#.
SPECIAL CHARACTERS Special characters XPress Tags lets you specify character encoding and insert and manipulate special characters such as discretionary hyphens and non-breaking 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 Some special characters have their own XPress Tags codes. Use the following codes to define these characters. • Tab: <\t> • Standard space • 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 • Flexible space • Figure space • Punctuation space • Word joiner: <\j> • Ideographic space • Indent Here: <\i> • Em dash : <\_> • En dash : <\a
SPECIAL CHARACTERS • Next box page number: <\4> • Conditional Style marker: <\r> • Zero Width Joiner: • Zero Width Non-Joiner: To define any space or hyphen as non-breaking, use the format: <\!><\!>. Example: <\!><\!-> or <\!><\!m>. Right Indent tab is defined as <\!><\t> ASCII codes Some word processing applications may require you to use the decimal ASCII codes to create XPress Tags for special characters. The XPress Tags code for these characters is <\#decimal value>.
INDEXING 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.
INDEXING • Style information: "style sheet name" or "" for Entry’s Style • Scope: 0,1,2,3,4,5 (Selection Start = 0, Selection Text = 1, To Style = 2, Specified number of paragraphs = 3, To End Of = 4, Suppress Page Number = 5, Cross-Reference = code) • Sort As: “sort as text“ • Selection Start: 0 • Selection Text: 1 • To Style: style sheet name • Specified # of ¶s: Number of paragraphs • Suppress Page #: 0 • To End Of: 0,1 (Story = 0, Layout = 1) • Suppress Page #: 0 • Cross-Reference: 0
LEGAL NOTICES 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.