aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Fuhlbrück2022-11-21 10:27:37 +0100
committerFrank Fuhlbrück2022-11-21 10:27:37 +0100
commitef66000ff714e4e5cb5c1fd55748d5c4fe300150 (patch)
tree891db1cdf9b054b8df229d098f86e448be09af6b
parentc4ea6a1d69c73656db55d45aebb396d5e0e78951 (diff)
downloadexercisesheets-0.13.1.tar.gz
exercisesheets-0.13.1.tar.bz2
exercisesheets-0.13.1.zip
v0.13.1: detokenize filenames when used as ex. name0.13.1
-rw-r--r--exercisesheets.sty8
-rw-r--r--exercisesheets.tex9
2 files changed, 12 insertions, 5 deletions
diff --git a/exercisesheets.sty b/exercisesheets.sty
index fa9f6d7..006d9ed 100644
--- a/exercisesheets.sty
+++ b/exercisesheets.sty
@@ -18,8 +18,8 @@
%\NeedsTeXFormat{LaTeX2e}[1994/12/01]
% don't forget to update the version and date in exercisesheets.tex
-\def\exsh@version{0.13}
-\def\exsh@date{2022/11/07}
+\def\exsh@version{0.13.1}
+\def\exsh@date{2022/11/22}
\ProvidesPackage{exercisesheets}[\exsh@date\space\exsh@version\space Typesetting of exercise sheets]
\message{`Typesetting of exercise sheets' \exsh@version\space <\exsh@date>}
@@ -1080,7 +1080,7 @@
\newcommand{\exsh@includeexercise}[2][]{%
\ifbool{exsh@filenameasexercisename}{%
- \exshset{includeoverride/.style={name={#2},#1}}%
+ \exshset{includeoverride/.style={name={\detokenize{#2}},#1}}%
}{%
\exshset{includeoverride/.style={#1}}%
}%
@@ -1090,7 +1090,7 @@
\newcommand{\exsh@includeexercise@}[2][]{%
\ifbool{exsh@filenameasexercisename}{%
- \exshset{includeoverride/.style={name={#2},#1}}%
+ \exshset{includeoverride/.style={name={\detokenize{#2}},#1}}%
}{%
\exshset{includeoverride/.style={#1}}%
}%
diff --git a/exercisesheets.tex b/exercisesheets.tex
index d73c540..1bf1604 100644
--- a/exercisesheets.tex
+++ b/exercisesheets.tex
@@ -53,7 +53,7 @@
\usepackage[english,iso]{isodate}
\title{The \exsh Package}
\author{Sebastian Kuhnert\and Frank Fuhlbrück}
-\date{Version 0.13, \printdateTeX{2022/11/07}}
+\date{Version 0.13.1, \printdateTeX{2022/11/22}}
\begin{document}
\maketitle
@@ -839,6 +839,13 @@ This also works well in combination with a make file that generates
\label{sec:changelog}
\begin{itemize}
+ \item[v. 0.13.1:] 2022-11-22
+ \begin{itemize}
+ \item bugfix: \verb|\detokenize| filenames when
+ \option{filenameasexercisename} is active as otherwise,
+ e.g., underscores would not be allowed in filenames.
+ \end{itemize}
+ \item[v. 0.12.2:] 2022-10-20
\item[v. 0.13:] 2022-11-07
\begin{itemize}
\item bugfix: \verb|\begingroup| and \verb|\endgroup|