Skip to content

Embed DoenetML in Ximera #261

Description

@cqnykamp

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
\doenetVersion{0.7}

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions