Difference between revisions of "Miscellaneous (ePistolarium)"

From XML
Jump to: navigation, search
(Update URL)
(Add formula element)
Line 1: Line 1:
 
Apart from name annotations a number of other elements is used for annotating interpretation of the text.
 
Apart from name annotations a number of other elements is used for annotating interpretation of the text.
 +
 +
 +
The <code>formula</code> element contains a mathematical or other formula.
 +
 +
Example: https://test.epistolarium.huygens.knaw.nl/documents/4a760049-e497-4a4a-a7ef-cc44ab1227dc
 +
(simple formulas)
 +
 +
<pre>
 +
<p>Datis itaque positione rectis <formula>BA</formula>, <formula>AC</formula> angulum comprehendentibus,
 +
punctoque intra angulum dato <formula>D</formula>, oporteat per ipsum ducere rectam <formula>BDC</formula>,
 +
ita ut triangulum <formula>BAC</formula> sit omnium quae ita abscindi possunt minimum. Hoc autem satis
 +
facile est. Illud difficilius: posito nimirum angulo <formula>BAC</formula> recto ducere per punctum
 +
<formula>D</formula> intra ipsum dato rectam <formula>BDC</formula> omnium brevissimam.</p>
 +
</pre>
 +
 +
The Descartes correspondence contains <code>formula</code> elements with TeX notation.
 +
However, these elements occur in a <code>figDesc</code> element, which is not rendered.
 +
The rendered form is defined by the <code>graphic</code> element.
 +
 +
Example: https://test.epistolarium.huygens.knaw.nl/documents/686db5cd-8759-4e66-9db5-a6f82fe42b17
 +
(formula in TeX notation)
 +
 +
<pre>
 +
<p>... le côté droit est <figure rend="inline"><graphic url="AM2L156F067.gif"/><figDesc><formula notation="TeX">${\displaystyle\strut Bq\over \displaystyle\strut D}$</formula></figDesc></figure>, ...</p>
 +
</pre>
 +
  
 
The <code>ref</code> element contains a textual reference to some information.
 
The <code>ref</code> element contains a textual reference to some information.

Revision as of 12:06, 12 December 2017

Apart from name annotations a number of other elements is used for annotating interpretation of the text.


The formula element contains a mathematical or other formula.

Example: https://test.epistolarium.huygens.knaw.nl/documents/4a760049-e497-4a4a-a7ef-cc44ab1227dc (simple formulas)

<p>Datis itaque positione rectis <formula>BA</formula>, <formula>AC</formula> angulum comprehendentibus,
punctoque intra angulum dato <formula>D</formula>, oporteat per ipsum ducere rectam <formula>BDC</formula>,
ita ut triangulum <formula>BAC</formula> sit omnium quae ita abscindi possunt minimum. Hoc autem satis
facile est. Illud difficilius: posito nimirum angulo <formula>BAC</formula> recto ducere per punctum
<formula>D</formula> intra ipsum dato rectam <formula>BDC</formula> omnium brevissimam.</p>

The Descartes correspondence contains formula elements with TeX notation. However, these elements occur in a figDesc element, which is not rendered. The rendered form is defined by the graphic element.

Example: https://test.epistolarium.huygens.knaw.nl/documents/686db5cd-8759-4e66-9db5-a6f82fe42b17 (formula in TeX notation)

<p>... le côté droit est <figure rend="inline"><graphic url="AM2L156F067.gif"/><figDesc><formula notation="TeX">${\displaystyle\strut Bq\over \displaystyle\strut D}$</formula></figDesc></figure>, ...</p>


The ref element contains a textual reference to some information. Currently only used with attribute @type="bible" to refer to a specific part of the Bible.

Example: https://correspondence.huygens.knaw.nl/documents/f868a963-2b51-4be8-bfca-b2c29cff097d

<p>Atqui si <hi rend="italic">multi vocati, pauci electi</hi>, <ref type="bible">Matth. XX. 16</ref>;...</p>