/usr/share/itstool/its/docbook.its is in itstool 2.0.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 | <its:rules
xmlns:its="http://www.w3.org/2005/11/its"
xmlns:itst="http://itstool.org/extensions/"
version="2.0">
<itst:match selector="/book"/>
<itst:match selector="/article"/>
<itst:match selector="/chapter"/>
<its:langRule selector="//*[namespace-uri(.) = '']" langPointer="@lang"/>
<itst:credits appendTo="/book/bookinfo | /article/articleinfo | /chapter/chapterinfo">
<othercredit class="translator">
<personname>
<firstname><itst:value-of select="name"/></firstname>
</personname>
<email><itst:value-of select="email"/></email>
</othercredit>
<copyright>
<itst:for-each select="years">
<year><itst:value-of select="year"/></year>
</itst:for-each>
<holder><itst:value-of select="name"/></holder>
</copyright>
</itst:credits>
<!-- Inline by default, might be overridden -->
<its:withinTextRule withinText="yes" selector="//abbrev |
//accel |
//acronym |
//action |
//affiliation |
//anchor |
//application |
//arg |
//audiodata |
//audioobject |
//authorinitials |
//biblioref |
//citation |
//citebiblioid |
//citerefentry |
//citerefentry/manvolnum |
//citerefentry/refentrytitle |
//citetitle |
//city |
//classname |
//co |
//code |
//col |
//colgroup |
//collabname |
//command |
//computeroutput |
//constant |
//constraint |
//contrib |
//country |
//database |
//date |
//email |
//emphasis |
//envar |
//errorcode |
//errorname |
//errortext |
//errortype |
//exceptionname |
//fax |
//filename |
//firstname |
//firstterm |
//footnoteref |
//foreignphrase |
//funcdef |
//funcparams |
//function |
//glossterm |
//group |
//guibutton |
//guiicon |
//guilabel |
//guimenu |
//guimenuitem |
//guisubmenu |
//hardware |
//holder |
//honorific |
//imagedata |
//imageobject |
//imageobjectco |
//initializer |
//inlineequation |
//inlinegraphic |
//inlinemediaobject |
//interface |
//interfacename |
//jobtitle |
//keycap |
//keycode |
//keycombo |
//keysym |
//lhs |
//lineage |
//lineannotation |
//link |
//literal |
//markup |
//medialabel |
//menuchoice |
//methodname |
//methodparam |
//modifier |
//mousebutton |
//nonterminal |
//olink |
//ooclass |
//ooexception |
//oointerface |
//option |
//optional |
//orgdiv |
//orgname |
//otheraddr |
//othername |
//package |
//paramdef |
//parameter |
//personname |
//phone |
//phrase |
//pob |
//postcode |
//productname |
//productnumber |
//prompt |
//property |
//quote |
//replaceable |
//returnvalue |
//revnumber |
//revremark |
//rhs |
//sbr |
//sgmltag |
//shortaffil |
//shortcut |
//state |
//street |
//structfield |
//structname |
//subscript |
//superscript |
//surname |
//symbol |
//systemitem |
//termdef |
//textobject |
//token |
//trademark |
//type |
//ulink |
//uri |
//userinput |
//varargs |
//varname |
//videodata |
//videoobject |
//void |
//wordasword |
//xref |
//year "/>
<!-- Mark footnotes nested, though itstool treats it as "no" -->
<its:withinTextRule withinText="nested" selector="//footnote"/>
<!-- Things with (semi-)structured content -->
<its:withinTextRule withinText="no" selector="//confgroup/* | //biblioentry/* | //biblioset/*"/>
<its:withinTextRule withinText="yes" selector="//bibliomixed/* | //bibliomset/*"/>
<its:withinTextRule withinText="no" selector="//glossentry/*"/>
<its:withinTextRule withinText="yes" selector="//indexterm//* |
//simplelist[@type = 'inline']/descendant-or-self::*"/>
<!--
We want to break address off into a translation unit because it's
supposed to be space-preserving. But because of DocBook wonkiness,
address is often just used to provide an email address. In that
particular case, just ignore the fact that it's supposed to be a
space-preserving translation unit.
-->
<its:withinTextRule withinText="yes" selector="//address[count(*) = 1 and email]"/>
<its:preserveSpaceRule space="preserve" selector="//address[not(count(*) = 1 and email)]"/>
<!-- Above all else, info is not a text run -->
<its:withinTextRule withinText="no" selector="//bookinfo/* | //chapterinfo/* | //articleinfo/*"/>
<!-- These are always verbatim -->
<its:preserveSpaceRule space="preserve" selector="//classsynopsisinfo |
//funcsynopsisinfo |
//literallayout |
//programlisting |
//screen |
//synopsis "/>
<!-- Drop editor remarks -->
<its:localeFilterRule localeFilterList="" selector="//remark"/>
<!-- External media files -->
<its:externalResourceRefRule externalResourceRefPointer="@fileref"
selector="//audiodata | //imagedata | //videodata"/>
<!-- Some hacks -->
<its:translateRule translate="no" selector="//releaseinfo[@role = 'CVS' and normalize-space(.) = '$Id$']"/>
</its:rules>
|