Table of Contents

Syntax #


Purpose #

The s.quote annotation is used to tag a span element either as being quoted from another source, or as a direct repetition of what someone else has said.

Example #

The following is an example of a time when you might want to use the annotation

Note: the relevant span has been marked in bold for this example. The span is not bold in the source document.


The following is an example of a rule that will apply the annotation

The following is the DITA XML output for the rule:

<title>Quote Example</title>


<p>This sentence contains a quote: <q>this is the quote</q> (<cite>Author, 2023</cite>).</p>