1 <!-- ********************************************************************
3 This file contains common entity declarations used for
4 sorting (and other things) by various templates.
6 This file is part of the XSL DocBook Stylesheet distribution.
7 See ../README or http://cdn.docbook.org/release/xsl/current/ for
8 copyright and other information.
10 ******************************************************************** -->
12 <!-- ==================================================================== -->
14 <!ENTITY lowercase "'AaÀàÁáÂâÃãÄäÅåĀāĂ㥹ǍǎǞǟǠǡǺǻȀȁȂȃȦȧḀḁẚẠạẢảẤấẦầẨẩẪẫẬậẮắẰằẲẳẴẵẶặBbƀƁɓƂƃḂḃḄḅḆḇCcÇçĆćĈĉĊċČčƇƈɕḈḉDdĎďĐđƊɗƋƌDžDzȡɖḊḋḌḍḎḏḐḑḒḓEeÈèÉéÊêËëĒēĔĕĖėĘęĚěȄȅȆȇȨȩḔḕḖḗḘḙḚḛḜḝẸẹẺẻẼẽẾếỀềỂểỄễỆệFfƑƒḞḟGgĜĝĞğĠġĢģƓɠǤǥǦǧǴǵḠḡHhĤĥĦħȞȟɦḢḣḤḥḦḧḨḩḪḫẖIiÌìÍíÎîÏïĨĩĪīĬĭĮįİƗɨǏǐȈȉȊȋḬḭḮḯỈỉỊịJjĴĵǰʝKkĶķƘƙǨǩḰḱḲḳḴḵLlĹĺĻļĽľĿŀŁłƚLjȴɫɬɭḶḷḸḹḺḻḼḽMmɱḾḿṀṁṂṃNnÑñŃńŅņŇňƝɲƞȠNjǸǹȵɳṄṅṆṇṈṉṊṋOoÒòÓóÔôÕõÖöØøŌōŎŏŐőƟƠơǑǒǪǫǬǭǾǿȌȍȎȏȪȫȬȭȮȯȰȱṌṍṎṏṐṑṒṓỌọỎỏỐốỒồỔổỖỗỘộỚớỜờỞởỠỡỢợPpƤƥṔṕṖṗQqʠRrŔŕŖŗŘřȐȑȒȓɼɽɾṘṙṚṛṜṝṞṟSsŚśŜŝŞşŠšȘșʂṠṡṢṣṤṥṦṧṨṩTtŢţŤťŦŧƫƬƭƮʈȚțȶṪṫṬṭṮṯṰṱẗUuÙùÚúÛûÜüŨũŪūŬŭŮůŰűŲųƯưǓǔǕǖǗǘǙǚǛǜȔȕȖȗṲṳṴṵṶṷṸṹṺṻỤụỦủỨứỪừỬửỮữỰựVvƲʋṼṽṾṿWwŴŵẀẁẂẃẄẅẆẇẈẉẘXxẊẋẌẍYyÝýÿŸŶŷƳƴȲȳẎẏẙỲỳỴỵỶỷỸỹZzŹźŻżŽžƵƶȤȥʐʑẐẑẒẓẔẕẕ'">
15 <!ENTITY uppercase "'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ'">
17 <!-- The following three entities are used for sorting and grouping
18 indexterms, not in presentation of them. -->
19 <!-- If @sortas is present, sort and group by combination of
20 @sortas, space and entry to keep it separate from other entries
21 with the same @sortas.
22 If @sortas is not present, the first item is empty, and the added space
23 is removed when normalize-space is applied, leaving just the entry -->
25 <!ENTITY primary 'normalize-space(concat(d:primary/@sortas, " ", d:primary))'>
26 <!ENTITY secondary 'normalize-space(concat(d:secondary/@sortas, " ", d:secondary))'>
27 <!ENTITY tertiary 'normalize-space(concat(d:tertiary/@sortas, " ", d:tertiary))'>
29 <!ENTITY section '(ancestor-or-self::d:set|ancestor-or-self::d:book|ancestor-or-self::d:part|ancestor-or-self::d:reference|ancestor-or-self::d:partintro|ancestor-or-self::d:chapter|ancestor-or-self::d:appendix|ancestor-or-self::d:preface|ancestor-or-self::d:article|ancestor-or-self::d:section|ancestor-or-self::d:sect1|ancestor-or-self::d:sect2|ancestor-or-self::d:sect3|ancestor-or-self::d:sect4|ancestor-or-self::d:sect5|ancestor-or-self::d:refentry|ancestor-or-self::d:refsect1|ancestor-or-self::d:refsect2|ancestor-or-self::d:refsect3|ancestor-or-self::d:simplesect|ancestor-or-self::d:bibliography|ancestor-or-self::d:glossary|ancestor-or-self::d:index|ancestor-or-self::d:webpage|ancestor-or-self::d:topic)[last()]'>
31 <!ENTITY section.id 'generate-id(§ion;)'>
34 <!ENTITY scope 'count(ancestor::node()|$scope) = count(ancestor::node()) and ($role = @role or $type = @type or (string-length($role) = 0 and string-length($type) = 0))'>
36 <!ENTITY setup-language-variable '
37 <xsl:variable name="language" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
38 <xsl:call-template name="l10n.language"/>
41 <xsl:variable name="lowercase" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
42 <xsl:call-template name="gentext">
43 <xsl:with-param name="key">normalize.sort.input</xsl:with-param>
47 <xsl:variable name="uppercase" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
48 <xsl:call-template name="gentext">
49 <xsl:with-param name="key">normalize.sort.output</xsl:with-param>
54 <!-- Entity used in html/inline.xsl and fo/inline.xsl -->
55 <!ENTITY comment.block.parents "parent::d:answer|parent::d:appendix|parent::d:article|parent::d:bibliodiv|
56 parent::d:bibliography|parent::d:blockquote|parent::d:caution|parent::d:chapter|
57 parent::d:glossary|parent::d:glossdiv|parent::d:important|parent::d:index|
58 parent::d:indexdiv|parent::d:listitem|parent::d:note|parent::d:orderedlist|
59 parent::d:partintro|parent::d:preface|parent::d:procedure|parent::d:qandadiv|
60 parent::d:qandaset|parent::d:question|parent::d:refentry|parent::d:refnamediv|
61 parent::d:refsect1|parent::d:refsect2|parent::d:refsect3|parent::d:refsection|
62 parent::d:refsynopsisdiv|parent::d:sect1|parent::d:sect2|parent::d:sect3|parent::d:sect4|
63 parent::d:sect5|parent::d:section|parent::d:setindex|parent::d:sidebar|
64 parent::d:simplesect|parent::d:taskprerequisites|parent::d:taskrelated|
65 parent::d:tasksummary|parent::d:warning|parent::d:topic">