Embed DoenetML in Ximera
Syntax
To embed a DoenetML activity inside a Ximera LaTeX document, use the following
syntax:
\begin{doenet}
<title>My DoenetML activity</title>
<p>What is 1+1? <answer>2</answer></p>
\end{doenet}
Syntax to let authors load a DoenetML activity hosted on the Doenet website rather than inlining it
inside the LaTeX document. The syntax for embed code would be:
\doenet{7V2FEXHpvhfft2afBJCXtP}
where the code in the argument comes from the Doenet website.
Versioning
To specify the DoenetML version for the entire LaTeX activity, one can add
to the preamble of the activity.
To override the version for a specific DoenetML activity, the version can be supplied as a
parameter to the DoenetML environment, as in:
\begin{doenet}[version=0.7]
Embed DoenetML in Ximera
Syntax
To embed a DoenetML activity inside a Ximera LaTeX document, use the following
syntax:
Syntax to let authors load a DoenetML activity hosted on the Doenet website rather than inlining it
inside the LaTeX document. The syntax for embed code would be:
where the code in the argument comes from the Doenet website.
Versioning
To specify the DoenetML version for the entire LaTeX activity, one can addto the preamble of the activity.
To override the version for a specific DoenetML activity, the version can be supplied as a
parameter to the DoenetML environment, as in: