Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

This page describes how to style the various elements of figures. This includes figure captions, accessibility text, and figure credits. The images themselves are not part of the XML file; the XML includes pointers to separate graphic files.


Figure Caption, Figure Caption Continued, Figure Accessibility Caption, Figure Credit

As for tables, the Figure Caption style is used for the figure number and the first paragraph of the figure caption. If the caption extends to a second or subsequent paragraph, the Figure Caption Continued style should be used.

The Figure Accessibility Caption style is used for a paragraph that describes the content of the figure for visually impaired users or others who are unable to view the image. Because this paragraph is designed to be read by screenreaders, it must contain plain text only, with no face markup or other non-text content.

The Figure Credit style is used for a paragraph that contains information about the source of the image and/or details of any permissions obtained.

The actual graphic itself does not form part of the XML. Instead, the XML includes a pointer to the image file, represented by the @xlink attribute of the graphic element. By default, the filename in this pointer is constructed automatically from the manuscript ID entered during activation of the Word file and an incremental counter. In the example below, this gives @xlink:href="123-f1" for the first image in a document with ID 123.

If the images are embedded in the Word file and are retained in the file at the point that the document is exported to XML, these paragraphs should be styled as Non-XML Text in order to avoid parsing errors or the presence of extraneous elements in the XML.

Example


This illustration is an excerpt from the sample document: Sample 2_Book Review.docx

JATS XML Example
<fig id="f1" position="float" fig-type="figure">
	<label>Figure 1</label>
	<caption>
		<p>Locations of the FIFA World Cup final</p>
		<p>The locations of all finals since 1930 are shown.</p>
	</caption>
	<long-desc>The map shows the locations of all final matches of the FIFA World Cup tournament from its inception in 1930 to the 2014 tournament in Brazil.</long-desc>
	<graphic xlink:href="123-f1"></graphic>
	<attrib>Reproduced with permission.</attrib>
</fig>
  • No labels