%
}{}
}{%
\HCode{\Hnewline}%
}
\newtoks\eqtoks
\def\AltMath#1${\eqtoks{#1}%
\HCode{}$}
\Configure{$}{}{}{\expandafter\AltMath}
\def\AltlMathI#1\){\eqtoks{#1}%
\HCode{}\)}
\Configure{()}{\AltlMathI}{}
\def\AltlDisplay#1\]{\eqtoks{#1}%
\HCode{}\]}
\Configure{[]}{\AltlDisplay}{}
\def\AltlDisplayI#1$${\eqtoks{#1}%
\HCode{}$$}
\Configure{$$}{}{}{\expandafter\AltlDisplayI}
\newcommand\VerbMath[1]{%
\renewenvironment{#1}{\NoFonts}{\EndNoFonts}
\ScriptEnv{#1}{\ifvmode \IgnorePar\fi \EndP\HCode{}}
}
\ScriptEnv{matlabEquation}{\ifvmode \IgnorePar\fi \EndP\HCode{}}
\VerbMath{equation}
\VerbMath{equation*}
\VerbMath{align}
\VerbMath{align*}
\VerbMath{alignat}
\VerbMath{alignat*}
\VerbMath{eqnarray}
\VerbMath{eqnarray*}
\renewcommand{\paragraph}[1]{%
\HCode{}%
#1%
\HCode{}\par\IgnorePar}
\renewcommand{\subparagraph}[1]{%
\HCode{}%
#1%
\HCode{}\par\IgnorePar}
\DeclareGraphicsExtensions{.jpg,.png,.gif,.svg}
\Configure{graphics*}
{svg}{
{\Configure{Needs}{File: \Gin@base.svg}\Needs{}}
\Picture[]{\csname Gin@base\endcsname.svg \csname a:Gin-dim\endcsname}%
}
\ifcsname ifstandalone\endcsname
\ifstandalone
\renewcommand\includegraphics[2][]{}
\fi
\renewcommand{\outcome}[1]{
\Configure{@HEAD}{\HCode{\Hnewline}}
}
\IfFileExists{\jobname.oc}{\input{\jobname.oc}}{}
\renewcommand{\outcome}[1]{%
\HCode{#1}
}
\makeatletter
\Configure{textcolor}{\HCode{}}{\HCode{}}
\let\oldtextcolor\textcolor
\renewcommand\textcolor[2]{%
% we need to convert the current color to hexadecimal form usable in the style attribute
% the \tsf@color macro is used in the \Configure{textcolor} configuration to insert the
% CSS color
\extractcolorspec{#1}{\tsf@color}%
\expandafter\convertcolorspec\tsf@color{HTML}\tsf@color%
% call the original command
\oldtextcolor{#1}{#2}%
}%
\makeatother
\renewenvironment{javascriptCode}{\NoFonts}{\EndNoFonts}
\ScriptEnv{javascriptCode}{\stepcounter{identification}\ifvmode \IgnorePar\fi \EndP\HCode{}}
\ConfigureEnv{verbatim}{\HCode{
}}{\HCode{
}}{}{}
\ConfigureEnv{lstlisting}{\HCode{
}}{\HCode{
}}{}{}
\Configure{textbf}{\ifvmode\ShowPar\fi\HCode{}}{\HCode{}}
\Configure{textit}{\ifvmode\ShowPar\fi\HCode{}}{\HCode{}}
\Configure{emph}{\ifvmode\ShowPar\fi\HCode{}}{\HCode{}}
\Configure{texttt}{\ifvmode\ShowPar\fi\HCode{}}{\HCode{}}
\begin{document}
\EndPreamble
%%
%% Copyright (C) 2024 by Bart Snapp and Jim Fowler
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License (LPPL), either
%% version 1.3c of this license or (at your option) any later
%% version. The latest version of this license is in the file:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% This work is "maintained" (as per LPPL maintenance status) by
%% Bart Snapp. The source code can be found at:
%%
%% https://github.com/XimeraProject/ximeraLatex
%%
%% This work consists of the file ximera.dtx, the associated files
%% under src/, and a Makefile.
%%
%% Running "make" generates the derived files README, ximera.pdf, ximera.cls, xourse.cls.
%%
%% Running "make inst" installs the files in the user's TeX tree.
%%
%% Running "make install" installs the files in the local TeX tree.
%%
%%
%% End of file `ximera.cfg'.