/usr/share/djvu/pubtext/DjVuOCR.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 | <?xml version="1.0" ?>
<!--================== Imported Names ====================================-->
<!ENTITY % LanguageCode "CDATA">
<!-- a language code, as per [RFC1766]-->
<!--=================== Generic Attributes ===============================-->
<!ENTITY % i18n
"lang %LanguageCode; #IMPLIED
dir (ltr|rtl) #IMPLIED"
>
<!-- lang defaults to "en"; dir defaults to "ltr" (left-to-right) -->
<!ENTITY % Coords "CDATA"> <!-- comma separated list of lengths
alternating x and y values (a total
of four values) -->
<!--================= HIDDEN TEXT LAYER ==================================-->
<!ELEMENT CHARACTER (#PCDATA)>
<!ATTLIST CHARACTER
shape CDATA "rect"
coords %Coords; #IMPLIED
>
<!ELEMENT WORD ( (CHARACTER+) | (#PCDATA) ) >
<!ATTLIST WORD
shape CDATA "rect"
coords %Coords; #IMPLIED
>
<!ELEMENT LINE ( (WORD+) | (#PCDATA) ) >
<!ATTLIST LINE
shape CDATA "rect"
coords %Coords; #IMPLIED
>
<!ELEMENT PARAGRAPH ( (LINE+) | (#PCDATA) ) >
<!ATTLIST PARAGRAPH
shape CDATA "rect"
coords %Coords; #IMPLIED
>
<!ELEMENT REGION ( (PARAGRAPH+) | (#PCDATA) ) >
<!ATTLIST REGION
shape CDATA "rect"
coords %Coords; #IMPLIED
>
<!ELEMENT PAGECOLUMN ( (REGION+) | (#PCDATA) ) >
<!ATTLIST PAGECOLUMN
shape CDATA "rect"
coords %Coords; #IMPLIED
>
<!ELEMENT HIDDENTEXT (PAGECOLUMN+) >
<!ATTLIST HIDDENTEXT
shape CDATA "rect"
coords %Coords; #IMPLIED
>
<!--================ Document Structure ==================================-->
<!ENTITY % djvuxml.content "HIDDENTEXT?">
<!ELEMENT DjVuXML (%djvuxml.content;)>
<!ATTLIST DjVuXML
%i18n;
>
|