Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This example shows a regular numbered list:

Nested Lists

In eXtyles NLM, a group of contiguous list paragraphs will be exported as a single XML list. Nested lists should be styled carefully to ensure that the nesting is reflected in the paragraph styles used. See the following example of a nested list:

Image Removed

which yields this JATS XML:

Image Added

Code Block
languagexml
themeRDark
titleJATS XML Example
collapsetrue
<list id="L1" list-type="

...

order">
	<list-item>
		<p>
			

...

Fat 

...

new 

...

smallness 

...

few 

...

supposing 

...

suspicion two.
		</p>
	

...

</list-item>
	<list-item>
		

...

<p>
			

...

Course sir people worthy horses add entire suffer.
		

...

</p>

...

	

...

</list-item>
	

...

<list-item>

...

		<p>
			

...

How one dull get busy dare far.
		</p>

...

	</list-item>

...

	

...

<list-item>
		

...

<p>
			

...

At principle perfectly by sweetness do.
		

...

</p>
	

...

</list-item>

...

</list>

...


Nested Lists

In eXtyles NLM, a group of contiguous list paragraphs will be exported as a single XML list. Nested lists should be styled carefully to ensure that the nesting is reflected in the paragraph styles used. See the following example of a nested list:

Image Added


which yields this JATS XML:

Code Block
languagexml
themeRDark
titleJATS XML Example
collapsetrue
<list id="L1" list-type="bullet">
	<list-item>
		<p>
			Extrapyramidal dysfunction, including one or more of the following:
		</p>
		<list id="L2" list-type="bullet">
			<list-item>
				<p>
					. Usually in first decade of life
Dystonia
				</p>
			</list-item>
			<list-item>
				<p>
					<bold>Rigidity
				</p>
		Atypical form	</list-item>
			<list-item>
					</bold><p>
					. More often in the second or third decade of life
Choreoathetosis
				</p>
			</list-item>
		</list>
	</list-item>
	<list-item>
		<p>
			LossOnset
of ambulation
		</p>
		<list id="L4L3" list-type="bullet">
			<list-item>
				<p>
					<bold>
						Classic form
					</bold>
					. OftenUsually occurringin withinfirst ten to 15 years decade of onsetlife
				</p>
			</list-item>
			<list-item>
				<p>
					<bold>
						Atypical form
					</bold>
					. OftenMore occurringoften in withinthe 15second toor 40third yearsdecade of onsetlife
				</p>
			</list-item>
		</list>
	</list-item>
	<list-item>
</list>

...

The JATS and NLM Book DTDs support table cell contents aligned on other characters, for example the plus/minus sign in a column of meansĀ±errors (i.e. other values of the char attribute are allowed, such as @char="&plusmn;"). However, Word supports alignment only on the first non-letter, non-digit character.Ā 

...

		<p>
			Loss of ambulation
		</p>
		<list id="L4" list-type="bullet">
			<list-item>
				<p>
					<bold>
						Classic form
					</bold>
					. Often occurring within ten to 15 years of onset
				</p>
			</list-item>
			<list-item>
				<p>
					<bold>
						Atypical form
					</bold>
					. Often occurring within 15 to 40 years of onset
				</p>
			</list-item>
		</list>
	</list-item>
</list>


Note that the level-1 list L1 is not closed when the first of the level-2 list starts, and in the XML, lists L2, L3, and L4 are nested within list L1.


Shading

If shading is used in a table, as in this example:

...