%% %% This is file `ximera.cfg', %% generated with the docstrip utility. %% %% The original source files were: %% %% ximera.dtx (with options: `cfgXimera') %% src/pagesetup.dtx (with options: `cfgXimera') %% src/packages.dtx (with options: `cfgXimera') %% src/jax.dtx (with options: `cfgXimera') %% src/sectioning.dtx (with options: `cfgXimera') %% src/title.dtx (with options: `cfgXimera') %% src/abstract.dtx (with options: `cfgXimera') %% src/image.dtx (with options: `cfgXimera') %% src/outcomes.dtx (with options: `cfgXimera') %% src/textcolor.dtx (with options: `cfgXimera') %% src/verbatim.dtx (with options: `cfgXimera') %% src/html.dtx (with options: `cfgXimera') %% src/ending.dtx (with options: `cfgXimera') %% ------------:| ------------------------------------------------------------ %% ximera:| Simultaneously writing print and online interactive materials %% Author:| Jim Fowler and Oscar Levin and Jason Nowell and Wim Obbels and Hans Parshall and Bart Snapp %% E-mail:| bart.snapp@gmail.com %% License:| Released under the LaTeX Project Public License v1.3c or later %% See:| http://www.latex-project.org/lppl.txt %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \Preamble{xhtml} \NoFonts \Configure{VERSION}{} \Configure{DOCTYPE}{\HCode{\Hnewline}} \Configure{HTML}{\HCode{\Hnewline}}{\HCode{\Hnewline}} \Configure{@HEAD}{\HCode{\Hnewline}} \Configure{@HEAD}{\HCode{\Hnewline}} \Configure{@HEAD}{\HCode{\Hnewline}} \Configure{@HEAD}{\HCode{\Hnewline}} \immediate\write18{sed -i "/@/d" \jobname.jax} \immediate\write18{sed -i "s/\string#\string#\string\\([0-9]\string\\)/\string#\string\\1/g" \jobname.jax} \Configure{BVerbatimInput}{}{}{}{} \Configure{verbatiminput}{}{}{}{} \makeatletter \def\FV@Space{\space} \makeatother \Configure{BODY}{% \HCode{\Hnewline}% \Tg
% \Tg% \IfFileExists{\jobname.ids}{\HCode{\Hnewline}% \Tg
% }{} }{% \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'.