Diagram

Validation Information:

[table border="1" colwidth="115"]

Rules,Values

Contained by:,<add>|<corr>|<date>|<del>|<head>|<hi>|<l>|<metamark>|<note>|<num>|<p>|<restore>|<seg>|<sic>|<speaker>|<stage>|<stamp>|<unclear>

May contain:,<anchor/>|<delSpan/>|<figDesc>|<floatingText>|<lb/>|<lg>|<metamark>|<note>|<pb/>
Attributes:,@corresp|@xml:id|@n|@type
[/table]


What is it?

Diagrams are to be encoded as figures. Their treatment is similar to doodles, with emphasis on a clear description. The description is surrounded by <figDesc> tags (which stands for 'figure description'), an the <figDesc> tags are in turn surrounded by <figure> tags.

<figure type="diagram" corresp="#06v" xml:id="MS-HRC-SB-5-9-2__06v_-_diagram1" n="1">
	<figDesc>
		...
	</figDesc>
</figure>

Attributes

[ebs-tabs class="yourcustomclass"]

[ebs-tab title="@xml:id" active="active"]

The @xml:id attribute holds a unique identifier for the diagram. We like to encode the MS number, the page number and the fact that it's a diagram within this @xml:id.

[ebs-panel style="panel-info"][ebs-panel-header]For example:[/ebs-panel-header]

[ebs-panel-content]


<figure xml:id="MS-HRC-SB-5-9-2__06v_-_diagram1">

[/ebs-panel-content]
[/ebs-panel]

[/ebs-tab]

[ebs-tab title="@corresp"]

The @corresp attribute holds a hashtag plus the page number of the location of the diagram.

[ebs-panel style="panel-info"]
[ebs-panel-header]
For example:
[/ebs-panel-header]
[ebs-panel-content]

<figure corresp="#06v">

[/ebs-panel-content]
[/ebs-panel]

[/ebs-tab]

[ebs-tab title="@n"]

The @n attribute indicates the diagram's number. Please number all diagrams, and start from 1 for each version of the text. If one version of the text is spread over more than one notebook, please do not start renumbering from one when you reach the second notebook, or the third.

[ebs-panel style="panel-info"]
[ebs-panel-header]
For example:
[/ebs-panel-header]
[ebs-panel-content]
=> Eng MS 1 (three nb's) > contains 7 diagrams
=> Eng MS 2 (two nb's) > contains 5 diagrams
=> Eng TS 1 (140 loose leaves) > contains 1 diagram
[/ebs-panel-content]
[/ebs-panel]

[/ebs-tab]

[ebs-tab title="@type"]

The @type attribute requires the value "diagram".

[ebs-panel style="panel-info"]
[ebs-panel-header]
For example:
[/ebs-panel-header]
[ebs-panel-content]

<figure type="diagram">

[/ebs-panel-content]
[/ebs-panel]

[/ebs-tab]

[/ebs-tabs]


[ebs-panel style="panel-danger"]
[ebs-panel-header]
Important![/ebs-panel-header]
[ebs-panel-content]
The @xml:id also serves as a filename for an image of that diagram. Please crop every diagram (on the "big.jpg" facsimile in your images folder, not on the regular image), save it as the value of the @xml:id for that diagram + .jpg. For example:

MS-HRC-SB-5-9-2__06v_-_diagramkjdn.jpg

Then save the image in a "diagram" folder within the images folder. For example:

innommable/images/MS-HRC-SB-5-9-2/diagrams/MS-HRC-SB-5-9-2__06v_-_diagram.jpg

[/ebs-panel-content]
[/ebs-panel]