Images (ePistolarium)

From XML
Revision as of 11:41, 15 January 2018 by Jong (Talk | contribs)

Jump to: navigation, search

Images are encoded with the figure, graphic, and figDesc elements.

figure groups elements representing or containing graphic information such as an illustration, formula, or figure.

In the ePistolarium the attribute value rend="inline" is used to indicate that the figure must be rendered in the running text. This is used, for instance, for certain mathematical symbols.

figDesc (description of figure) contains a brief prose description of the appearance or content of a graphic figure, for use when documenting an image without displaying it.

In the ePistolarium the contents of this element is not displayed.

graphic indicates the location of a graphic or illustration, either forming part of a text, or providing an image of it.

@width Where the media are displayed, indicates the display width.
@height Where the media are displayed, indicates the display height.
@scale Where the media are displayed, indicates a scale factor to be applied when generating the desired display size.
In the ePistolarium these attributes are occasionally used.


Example: https://correspondence.huygens.knaw.nl/documents/3365c937-4b0e-4ba0-909c-6258b32c4e3f (between text lines)

<p>... hoc est ad minimum una hora, ad spatium quod est inter Lunam et Terram, etiam bis pertranseundum, ut patet numeranti.</p>
<p><figure><graphic url="beec002jour04ill32a.gif"/></figure></p>
<p>Atque ex his concessis ita sum argumentatus: Sit <formula>ABC</formula> linea recta et, ut possimus idem concludere sive Sol ...</p>


Example: https://correspondence.huygens.knaw.nl/documents/999fb392-00a3-48ec-ba55-349c9bc5db4b (inline)

<p xml:id="p-2">Haec tamen aequatio radicem habet planum ut facillime ostendam si opus est +30<figure rend="inline"><graphic url="huyg003oeuv06fi19.gif"/></figure>Π+<figure rend="inline"><graphic url="huyg003oeuv06fi25.gif"/></figure>.</p>


Example: https://correspondence.huygens.knaw.nl/documents/8e59eff5-e44f-434a-af77-a3014924797a (scaled)

<p>Een ander</p>
<p>Zoekt twee getallen, zoo men die te zamen multipliceert, uytkomt 22 2/9 en zoo men 't grootste door 't kleynste divideert, uyt komt 2. Vraage na de getallen?</p>
<p><figure><graphic url="nier005-11-02.gif" width="1294" height="357" scale="0.25"/></figure></p>
<p>Nog een ander.</p>