aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exercisesheets.sty4
-rw-r--r--exercisesheets.tex26
2 files changed, 26 insertions, 4 deletions
diff --git a/exercisesheets.sty b/exercisesheets.sty
index 5c08e28..7e2c77a 100644
--- a/exercisesheets.sty
+++ b/exercisesheets.sty
@@ -18,7 +18,7 @@
%\NeedsTeXFormat{LaTeX2e}[1994/12/01]
% don't forget to update the version and date in exercisesheets.tex
-\def\exsh@version{0.12.1}
+\def\exsh@version{0.12.2}
\def\exsh@date{2022/10/19}
\ProvidesPackage{exercisesheets}[\exsh@date\space\exsh@version\space Typesetting of exercise sheets]
@@ -1739,4 +1739,4 @@
\def\exsh@skipstuff@Lexercise{\exsh@lua@catcodesBG\exsh@start@skip@Lexercise}%
\def\exsh@start@lframed@{\exsh@lua@catcodesBG\exsh@start@lframed}
-\exsh@dlua{dofile("exsh_lexercise.lua")}
+\exsh@dlua{dofile(kpse.find_file("exsh_lexercise.lua"))}
diff --git a/exercisesheets.tex b/exercisesheets.tex
index 914650b..2e74f6c 100644
--- a/exercisesheets.tex
+++ b/exercisesheets.tex
@@ -384,8 +384,17 @@ supported:
is set for a normal solution, its content will be put on one or
more frames. Use \verb|\newframe| to start a new frame. This
option is especially helpful if you provide your own definitions
- of \verb|\only| etc. for non-beamer compilation. \verb|\newframe|
- is already defined as \verb|\relax| in non-beamer \exsh.
+ of \verb|\only| etc. and/or use the \option{beamercompatibility}.
+ for non-beamer compilation. \verb|\newframe|
+ is already defined as \verb|\relax| in non-beamer \exsh,
+ even without invoking \option{beamercompatibility}.
+ \item[\option{fragile}] For beamer variant only and only
+ used combined with framed, simply ignored elsewhere. Frames are
+ declared as \texttt{fragile} und parsing of \verb|\newframe|
+ etc. is done via Lua\LaTeX. Thus Lua\LaTeX is required
+ (and this requires font setup via fontspec etc.), but
+ you do not have to use any Lua code yourself. Mostly useful
+ for listings and other verbatim stuff within solutions.
\end{description}
Solutions are only typeset, if the \option{solutions} option is in effect. There
@@ -813,6 +822,19 @@ This also works well in combination with a make file that generates
\label{sec:changelog}
\begin{itemize}
+ \item[v. 0.12.2:] 2022-10-20
+ \begin{itemize}
+ \item bugfix: dofile with \verb|kpse.find_file|
+ \item docs: document option \option{fragile}
+ \end{itemize}
+ \item[v. 0.12.1:] 2022-10-19
+ \begin{itemize}
+ \item bugfix for \verb|\begin{enumerate}[<+->]|
+ \end{itemize}
+ \item[v. 0.12:] 2022-09-02
+ \begin{itemize}
+ \item new option \option{beamerwithfootline}
+ \end{itemize}
\item[v. 0.11:] 2022-02-11
\begin{itemize}
\item Local references and the subex counter