A Guide to XPress Tags 2020 2020/09/22
Contents Understanding XPress Tags..........................................................1 Importing tagged text ......................................................................................1 Generating tagged text in another application ................................................2 General information on XPress tags .................................................................2 Character and paragraph formatting ...........................................4 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 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: ). For more information about encoding codes, see “Encoding“. Save the text you generate in the plain text file format using the appropriate encoding.
UNDERSTANDING XPRESS TAGS you want it applied (or for type styles, you can enter the code for plain text,
). • For XPress Tags code commands that let you specify more than one value (such as paragraph attributes), you can enter a $ in place of an actual value. When QuarkXPress encounters a $ code, the program substitutes the value specified in the currently applied style sheet. (If no style sheet is currently applied, the value of the Normal style sheet is used.
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 • Emphasis Mark • OpenType: where “xxxx” = the OpenType feature • Language: (see “Languages“) :
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 • Superscript: sups • Swash: swsh • Titling Alternates: titl • Tabular Figures: tnum • Proportional Figures: pnum • Slashed Zero: zero • Vertical Kana Alternates • Small Capitals from Capitals: c2sc • Case Sensitive Forms: case • Capital Spacing: cpsp • Historical Ligatures: hlig • Petite Capitals: pcap • Alternative Fractions : afrc • Stylistic Set 0: ss00 • Stylistic Set 1: ss01 • Stylistic Set 2: ss02 • Stylistic Set 3: ss03 • Stylisti
CHARACTER AND PARAGRAPH FORMATTING • Stylistic Set 21: ss21 • 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 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.
CHARACTER AND PARAGRAPH FORMATTING • Character Alignment : <*An>, where n indicates the type of alignment; = Em box top/right, = ICF top/right, = center, = ICF bottom/left, = Em box bottom/left, = baseline • 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.
CHARACTER AND PARAGRAPH FORMATTING of text. Rules Style options are 0 for Solid, 1 for Dotted, 2 for Dotted 2, 3 for 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 (#%).
CHARACTER AND PARAGRAPH FORMATTING from 0-8; 0= Level 1, 1= Level 2, ...), 1 is Restart Numbering After is True (values are 0 and 1), 0 is Restart numbering After Level (0= Level, 1= Style), 3 is Level for Restart numbering After (values range from 0-9; 0= After Any Previous Level, 1= Level 1, 2= Level 2, ...) • Outline style: <*bo"Outline Style Name"(20,10,0,4,1,1,4)>. If the layout does not contain an outline style by this name, no outline style is applied.
CHARACTER AND PARAGRAPH FORMATTING • Turn on features “a” and “b”, then turn on feature “c” and turn off feature “b”: some text • Turn on features “a” and “y”: Revert styling to style sheets • Revert features “x” and “y” to the character attributes in the currently applied paragraph style sheet: • Revert features “x” and “a” to the character attributes in the currently applied character style sheet:
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 ©2020 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.