/usr/share/djvu/pubtext/DjVuXML-s.dtd is in libdjvulibre-text 3.5.25.4-4.
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 | <?xml version="1.0" ?>
<!--================== Imported Names ====================================-->
<!ENTITY % ContentType "CDATA">
<!-- media type, as per [RFC2045]-->
<!ENTITY % LanguageCode "CDATA">
<!-- a language code, as per [RFC1766]-->
<!ENTITY % Text "CDATA">
<!ENTITY % URI "CDATA">
<!-- a Uniform Resource Identifier,
see [URI]
-->
<!--=================== Generic Attributes ===============================-->
<!ENTITY % coreattrs
"id ID #IMPLIED
class CDATA #IMPLIED
title %Text; #IMPLIED"
>
<!ENTITY % i18n
"lang %LanguageCode; #IMPLIED
dir (ltr|rtl) #IMPLIED"
>
<!ENTITY % attrs "%coreattrs; %i18n;">
<!ENTITY % Shape "(rect|circle|oval|poly|default)">
<!ENTITY % Coords "CDATA"> <!-- comma separated list of lengths
alternating x and y values -->
<!ENTITY % FrameTarget "CDATA">
<!ENTITY % Color "CDATA">
<!-- There are also 16 widely known color names with their RGB values:
Black = #000000 Green = #008000
Silver = #C0C0C0 Lime = #00FF00
Gray = #808080 Olive = #808000
White = #FFFFFF Yellow = #FFFF00
Maroon = #800000 Navy = #000080
Red = #FF0000 Blue = #0000FF
Purple = #800080 Teal = #008080
Fuchsia= #FF00FF Aqua = #00FFFF
-->
<!ENTITY % BorderType
"(none|xor|solid|shadowout|shadowin|etchedin|etchedout)">
<!ENTITY % Length "CDATA">
<!ENTITY % block "P">
<!--===================== HIDDEN TEXT LAYER =====================================-->
<!ELEMENT HIDDENTEXT (PAGECOLUMN)+ >
<!ATTLIST HIDDENTEXT
shape CDATA "rect"
coords %Coords; #IMPLIED
>
<!ELEMENT PAGECOLUMN (#PCDATA|REGION)* >
<!ATTLIST PAGECOLUMN
shape CDATA "rect"
coords %Coords; #IMPLIED
>
<!ELEMENT REGION (#PCDATA|PARAGRAPH)* >
<!ATTLIST REGION
shape CDATA "rect"
coords %Coords; #IMPLIED
>
<!ELEMENT PARAGRAPH (#PCDATA|LINE)* >
<!ATTLIST PARAGRAPH
shape CDATA "rect"
coords %Coords; #IMPLIED
>
<!ELEMENT LINE (#PCDATA|WORD)* >
<!ATTLIST LINE
shape CDATA "rect"
coords %Coords; #IMPLIED
>
<!ELEMENT WORD (#PCDATA)>
<!ATTLIST WORD
shape CDATA "rect"
coords %Coords; #IMPLIED
>
<!--===================== METADATA =====================================-->
<!ELEMENT METADATA (#PCDATA)>
<!ATTLIST METADATA
%attrs;
>
<!--================== Client-side image maps ============================-->
<!-- These can be placed in the same document or grouped in a
separate document although this isn't yet widely supported -->
<!ELEMENT MAP ( (%block;)+ | (AREA)+ )>
<!ATTLIST MAP
%attrs;
name CDATA #REQUIRED
>
<!ELEMENT AREA EMPTY>
<!ATTLIST AREA
%attrs;
shape %Shape; "rect"
coords %Coords; #IMPLIED
href %URI; #IMPLIED
nohref (nohref) #IMPLIED
alt %Text; #REQUIRED
target %FrameTarget; "_self"
highlight %Color; #IMPLIED
bordertype %BorderType; "none"
bordercolor %Color; #IMPLIED
border %Length; #IMPLIED
visible (visible) #IMPLIED
>
<!--=================== Text Markup ======================================-->
<!ENTITY % special "IMG | OBJECT | MAP">
<!-- %inline; covers inline or "text-level" elements -->
<!ENTITY % inline "CDATA | %special;">
<!ENTITY % flow "%block; | %inline;">
<!--==================== OBJECT ======================================-->
<!--
OBJECT is used to embed objects as part of DjVuXML pages
PARAM elements should precede other content. SGML mixed content
model technicality precludes specifying this formally ...
At most one HIDDENTEXT element may appear embedded in the object. It may appear
anywhere after the PARAM elements.
-->
<!ELEMENT OBJECT ( (PARAM)*, (%flow;)*, HIDDENTEXT?, METADATA?, (%flow;)* ) >
<!ATTLIST OBJECT
%attrs;
data %URI; #REQUIRED
type %ContentType; #IMPLIED
height %Length; #IMPLIED
width %Length; #IMPLIED
usemap %URI; #IMPLIED
>
<!ELEMENT PARAM EMPTY>
<!ATTLIST PARAM
id ID #IMPLIED
name CDATA #REQUIRED
value CDATA #IMPLIED
>
<!--===================== IMG ========================================-->
<!ELEMENT IMG ANY> <!-- currently undefined -->
<!--=================== Paragraphs =======================================-->
<!ELEMENT P (%inline;)* >
<!ATTLIST P
%attrs;
>
<!--=================== Document Body ====================================-->
<!ELEMENT BODY (%flow;)+ >
<!ATTLIST BODY
%attrs;
>
<!--================ Document Head =======================================-->
<!ENTITY % head.content "TITLE, BASE?">
<!ELEMENT HEAD (%head.content;)>
<!ATTLIST HEAD
%i18n;
profile %URI; #IMPLIED
>
<!-- The TITLE element is not considered part of the flow of text.
It should be displayed, for example as the page header or
window title. Exactly one title is required per document.
-->
<!ELEMENT TITLE (#PCDATA)>
<!ATTLIST TITLE %i18n;>
<!ELEMENT BASE EMPTY>
<!ATTLIST BASE
href %URI; #REQUIRED
>
<!--================ Document Structure ==================================-->
<!ENTITY % djvuxml.content "HEAD?, BODY?">
<!ELEMENT DjVuXML (%djvuxml.content;)>
<!ATTLIST DjVuXML
%i18n;
>
|