A Guide to XPress Tags 10
CONTENTS Contents Understanding XPress Tags..............................................................4 Importing tagged text............................................................................................4 Generating tagged text in another application......................................................4 General information on XPress tags.......................................................................5 Character and paragraph formatting..............................................
CONTENTS Indexing..........................................................................................24 Marking text for an index.....................................................................................24 Specifying index tag information..........................................................................24 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 General information on XPress tags When entering XPress Tags codes, keep the following in mind: • XPress Tags codes are case-sensitive. • 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.
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 • Change font size*: in points • Change color*: or • Change shade*: in percentage of shade • Horizontal scale*: in percentage of scale • Kern*: in 1/200 em space • Track*: in 1/200 em space • Send†: Same tag as tracking but with a value in points added to the end • Set baseline shift*: in points • Vertical scale*:
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): • Norwegian (Nynorsk: • Polish:
CHARACTER AND PARAGRAPH FORMATTING • 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. However, you can import and export text that uses this features in XPress Tags format using any language edition of QuarkXPress. Rubi text tags use the following form: <\#9Rubi text\#132,50,C,A,0,2,B,T)> The contents of this tag are as follows: •
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 • Contextual Alternates: calt • Discretionary Ligatures: dlig • Demominators: dnom • Fractions: frac • Hangul*: hngl • Historical Alternates*: hist • Horizontal Kana Alternates†: hkna • Italics†: ital • Standard Ligatures: liga • Numerators: numr • Ordinals: ordn • Ornaments*: ornm • Proportional Lining: plin • Proportional Oldstyle: pold • Ruby Notation Forms†: ruby • Scientific Inferiors: sinf • Stylistic Alternates*: salt • Small Caps: smcp • Subscript: subs • Superscr
CHARACTER AND PARAGRAPH FORMATTING • JIS2004 Forms†: jp04 • JIS78 Forms†: jp78 • JIS83 Forms:† jp83 • JIS90 Forms†: jp90 • NLC Kanji Forms*: nick • Simplified Forms†: smpl • Traditional Forms†: trad • Traditional Name Forms*: tnam *This is a glyph attribute; see above. †This feature can be applied only in a language edition of QuarkXPress that supports East Asian features.
CHARACTER AND PARAGRAPH FORMATTING • 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. 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, enter a 2 followed by the alternating characters.
CHARACTER AND PARAGRAPH FORMATTING Offset. Enter rule widths and indents in points. You can enter "T" in front of the left indent value to base rule length on the first line 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 Other attributes This section lists attributes that do not fit into the other categories. • Glyph: 0, where DoO = opening tag, F"zero" = Feature, I0 = index of the alternate glyph, f"AcaslonPro-Bold" = Font, 0 = base character, and oC = close tag. • Hyperlink: Linked text, where is the opening tag (this never changes), \#nnn is the
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 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 example, applies the Normal character style sheet, erasing any existing character attributes.
STYLE SHEETS Additional XPress Tags for style sheets The possibility of a relationship between a character style sheet and a paragraph style sheet creates the need for additional XPress Tags. • Set type style according to character attributes in the applied paragraph style sheet: <$> • 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: @Red=[C]<"RGB",P,1,0,0> if colorclass = "CMYK", then colorspec = S or P,#,#.##,#.##,#.##,#.## 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.
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 Other special characters Some special characters have their own XPress Tags codes. Use the following codes to define these characters. • New line (Soft return): <\n> • Discretionary return: <\d> • Hyphen*: <\-> • 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
SPECIAL CHARACTERS 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>. The # symbol is part of the code. The XPress Tags code must be three digits for the ASCII code; when entering a four-digit ASCII code, do not enter the leading zero. The following list defines the ASCII decimal codes for some common characters. • Decimal ASCII code for a character*: <\#de
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 "Humanities","Literature", "English","","Index Text 4",6,1,"Great Britain"> • Style information: "stylesheetname" or "" for Entry's Style • Scope: 0, 1, 2, 3, 4, 5, or 6 (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: stylesheetname • Specified # of ¶s: Number of paragraphs • Suppress Page #: 0 • To End Of: 0, 1
LEGAL NOTICES Legal notices ©2013 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.