XimeraProject / ximeraLatex

Author tools for creating Ximera activities
LaTeX Project Public License v1.3c
40 stars 35 forks source link

Problem Environments and broken \verb #63

Closed bartsnapp closed 6 years ago

bartsnapp commented 7 years ago

You cannot use the "environ" package to write problem/shuffle commands.

This will break any \verb within this command.

We could solve this by replacing the \verb with something else like \texttt but this will cause it's own problem...

Lines 967--984 are the culprits

% This is currently a small shell to contain the soon-to-be-depreciated start/stop commands. Once we merge them into the below command, we can then remove the above commands. \newcommand{\problemEnvironConfig}[2]{ \ifshuffle{ \global\expandafter\edef\csname\roman{shuffle@count}ContentProblem\Roman{shuffle@trackProblem}\endcsname{% Record problem env content \BODY } \global\expandafter\edef\csname\roman{shuffle@count}ContentProblemType\Roman{shuffle@trackProblem}\endcsname{% Record problem env type

2

} \stepcounter{shuffle@trackProblem} } \else{ \problemEnvironmentStart{#1}{#2} \BODY \problemEnvironmentEnd } \fi }

bartsnapp commented 6 years ago

Fixed