Difference between revisions of "Facsimile (Mondrian)"

From XML
Jump to: navigation, search
(Created page with "Images of the source go into the <facsimile> element. The facsimile element contains surfaces, corresponding with sheets, and possible zones, corresponding with areas on those...")
 
Line 18: Line 18:
 
The surfaces and zones must have xml:id attributes, as we need to link them to the text that they contain.  This is described under page breaks.
 
The surfaces and zones must have xml:id attributes, as we need to link them to the text that they contain.  This is described under page breaks.
 
The order of the surfaces corresponds to the (most probable) physical ordering of the document.
 
The order of the surfaces corresponds to the (most probable) physical ordering of the document.
 +
 +
==See also==
 +
* [[XML Mondrian Guidelines]]
 +
 +
[[Category:XML Mondrian]]

Revision as of 12:41, 24 January 2017

Images of the source go into the <facsimile> element. The facsimile element contains surfaces, corresponding with sheets, and possible zones, corresponding with areas on those sheets. Zones can be used for pages (for instance, a folded sheet may contain 4 zones corresponding to the pages written on the sheet) or other areas that are of special interest (e.g. a sketch). Sheets have two surfaces, front and back, or in technical terms: recto and verso. The surfaces on the first sheet are called 1r (1 recto) and 1v (1 verso), on the second sheet 2r and 2v, etc. If the sheet has been folded once, we have four zones: 1r-1, 1v-2,1v-3,1r-4. If there is no need to distinguish different zones on the sheet (surface is used as a single zone), we don't define zones for that sheet. Envelopes, if available, also have a front and back side, which we identify by er and ev. We associate graphics with the surfaces and zones preferably by referring to an RKD barcode. The details still have to be worked out. We probably will not include graphics directly within the zone but will refer to the image of the surface and define the size and locatiuon of the zone in terms of the surfaces coordinate system.

For example (assuming the surface is an A4 sheet, coordinates in mm):

<facsimile>
 <graphic url="to be decided"/>
 <surface n="1r" xml:id="s1r" ulx="0" uly="0" lrx="297" lry="210">
  <zone xml:id="z1r-1"  ulx="148.5" uly="0" lrx="297" lry="210"></zone>
  <zone xml:id="z1r-4"  ulx="0" uly="0" lrx="148.5" lry="210"></zone>
 </surface>
  ....
</facsimile>

The surfaces and zones must have xml:id attributes, as we need to link them to the text that they contain. This is described under page breaks. The order of the surfaces corresponds to the (most probable) physical ordering of the document.

See also