Skip to content

Commit

Permalink
Added experimental flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Strauman committed Feb 13, 2019
1 parent 364f29e commit e81ad26
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ Check out the bleeding edge version in the [releases](https://github.com/Strauma
# Updated documentation
The latest release is stored in this zip: [exercisebank.zip](https://github.com/Strauman/exerciseBank/raw/master/exercisebank.zip)
You can download the latest documentation here: [release/exercisebank.pdf](https://github.com/Strauman/exerciseBank/raw/master/release/exercisebank.pdf).
This is the documentation for version v0.2.3, and might not be the same as for the one on CTAN. If you're using the CTAN version (if you didn't get the package from this repo) then use the [CTAN](https://ctan.org/pkg/exercisebank) [documentation](http://mirrors.ctan.org/macros/latex/contrib/exercisebank/exercisebank-doc.pdf)
This is the documentation for version v0.2.3-experimental, and might not be the same as for the one on CTAN. If you're using the CTAN version (if you didn't get the package from this repo) then use the [CTAN](https://ctan.org/pkg/exercisebank) [documentation](http://mirrors.ctan.org/macros/latex/contrib/exercisebank/exercisebank-doc.pdf)

# Versions
Download latest(/github)-version here: [exercisebank.zip](https://github.com/Strauman/exerciseBank/blob/master/exercisebank.zip)
GitHub at version: v0.2.3 (2019/02/13) build 124
GitHub at version: v0.2.3-experimental (2019/02/13) build 124

CTAN at version: v0.2.2 (2018/10/04) build 97

Expand Down
12 changes: 6 additions & 6 deletions exercisebank.sty
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
% Source (with comments) can be found at https://github.com/Strauman/exercisebank/
%% The LaTeX package exercisebank - version v0.2.3 (2019/02/13) - build 124
%% The LaTeX package exercisebank - version v0.2.3-experimental (2019/02/13) - build 124
%% exercisebank.sty: Exercise bank
%% -------------------------------------------------------------------------------------------
%% Copyright (c) 2018 by Andreas Storvik Strauman <andreas dot s dot strauman at uit dot no>
Expand All @@ -13,14 +13,14 @@
%% version 2008/05/04 or later.
%% This work has the LPPL maintenance status `author-maintained'.
%% This work consists of all files listed in README
\ProvidesPackage{exercisebank}[2019/02/13 v0.2.3 Creates a setup that gives freedom in making sets and exercises.]
\ProvidesPackage{exercisebank}[2019/02/13 v0.2.3-experimental Creates a setup that gives freedom in making sets and exercises.]
\xdef\exbank@quiet{1}
\def\exercisebankversion{v0.2.3 - Build 124}
\PackageWarningNoLine{exercisebank-v0.2.3}{This package is in the beta stage, and if something unexpected happens please, oh pretty please, report it to https://github.com/Strauman/exercisebank. Thank you!}
\def\exercisebankversion{v0.2.3-experimental - Build 124}
\PackageWarningNoLine{exercisebank-v0.2.3-experimental}{This package is in the beta stage, and if something unexpected happens please, oh pretty please, report it to https://github.com/Strauman/exercisebank. Thank you!}
\@ifundefined{ownLineNoSpacesGotIt}{\@latex@warning{Compilation wont work unless \string\end{problem} and \string\end{solution} are on their own lines and without any spaces. This warning can be removed by doing \string\def\string\ownLineNoSpacesGotIt{} before \@backslashchar usepackage{exercisebank}}
}{}
\ifcsname pdfstrcmp\endcsname\else
\PackageError{exercisebank-v0.2.3}{Exercisebank currently only works with pdfLaTeX}{}\stop
\PackageError{exercisebank-v0.2.3-experimental}{Exercisebank currently only works with pdfLaTeX}{}\stop
\fi
\gdef\setExercisesDir#1{\@latex@error{\string\setExercisesDir is deprecated. Use \string\exercisebanksetup{exercise directory=#1} instead}{}\stop\bye
}
Expand Down Expand Up @@ -116,7 +116,7 @@
\fi%
}%
\fi}
\gdef\exb@warn{\PackageWarningNoLine{exercisebank-v0.2.3}}
\gdef\exb@warn{\PackageWarningNoLine{exercisebank-v0.2.3-experimental}}
\gdef\exb@err#1{\PackageError{exercisebank}{#1}{}}
\newif\ifexb@isInList
\newcounter{exb@isin@dots}
Expand Down
Binary file modified exercisebank.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion release/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ https://github.com/Strauman/exercisebank/

Licence:

The LaTeX package exercisebank - version v0.2.3 (2019/02/13) - build 124
The LaTeX package exercisebank - version v0.2.3-experimental (2019/02/13) - build 124
exercisebank.sty: Exercise bank
-------------------------------------------------------------------------------------------
Copyright (c) 2018 by Andreas Storvik Strauman
Expand Down
Binary file modified release/example.zip
Binary file not shown.
Binary file modified release/exercisebank-doc.pdf
Binary file not shown.
30 changes: 15 additions & 15 deletions release/exercisebank-doc.tex
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%% exercisebank v0.2.3b124 - 2019/02/13
%% The LaTeX package exercisebank - version v0.2.3 (2019/02/13) build 124
%% exercisebank v0.2.3-experimentalb124 - 2019/02/13
%% The LaTeX package exercisebank - version v0.2.3-experimental (2019/02/13) build 124
%% Manual/Documentation for exercisebank.sty
%% -------------------------------------------------------------------------------------------
%% Copyright (c) 2018 by Andreas Storvik Strauman
Expand Down Expand Up @@ -120,7 +120,7 @@


\setlength{\parindent}{0pt}
\title{{exercisebank - manual\\ v0.2.3{\\[-0.5em]\footnotesize(build 124)}}}
\title{{exercisebank - manual\\ v0.2.3-experimental{\\[-0.5em]\footnotesize(build 124)}}}
\author{Andreas Strauman}
\begin{document}
\maketitle
Expand Down Expand Up @@ -309,7 +309,7 @@ \subsection{Points and tags for exercises}
Turns on the solutions, so they are shown.
\end{docCommand}
\begin{docCommand}{SolutionsOnly}{}\addcontentsline{toc}{subsubsection}{\refCom{SolutionsOnly}}
\defnew{v0.2.3\\2019/02/13 }
\defnew{v0.2.3-experimental\\2019/02/13 }
Displays only solutions (if there are any) to the part problem
\end{docCommand}
\begin{docEnvironment}{problem}{}
Expand Down Expand Up @@ -414,7 +414,7 @@ \subsection{Points and tags for exercises}
\defnew{v0.2.1\\2018/09/24 }
\end{docCommand}
\begin{docCommand}{buildset}{\oarg{intro|nohead|nointro}\marg{setname}}\addcontentsline{toc}{subsubsection}{\refCom{buildset}}
\updated{v0.2.3\\2019/02/13 }
\updated{v0.2.3-experimental\\2019/02/13 }
This command runs the set given. The set has do be defined by \dac{makeset}. E.eg
\begin{dispListing}
\makeset{myExerciseSet}{exercisefile1, \select{exercisefile2}{1,2}}
Expand Down Expand Up @@ -461,23 +461,23 @@ \subsection{Points and tags for exercises}
Reference a partproblem created by \dac{pplabel}\{\meta{label\}}. This prints e.g. 1c)
\end{docCommand}
\begin{docCommand}{ppgref}{\marg{label}}\addcontentsline{toc}{subsubsection}{\refCom{ppgref}}
\defnew{v0.2.3\\2019/02/13 }
\defnew{v0.2.3-experimental\\2019/02/13 }
Reference a partproblem created by \dac{pplabel}\{\meta{label\}}. This can be used for \emph{global} exercises.
\end{docCommand}
\begin{docCommand}{pref}{\marg{label}}\addcontentsline{toc}{subsubsection}{\refCom{pref}}

Reference a partproblem created by \dac{pplabel}\{\meta{label\}}. This prints e.g. 1
\end{docCommand}
\begin{docCommand}{pgref}{\marg{label}}\addcontentsline{toc}{subsubsection}{\refCom{pgref}}
\defnew{v0.2.3\\2019/02/13 }
\defnew{v0.2.3-experimental\\2019/02/13 }
Reference a partproblem created by \dac{pplabel}\{\meta{label\}}. This prints e.g. 1, but have global search.
\end{docCommand}
\begin{docCommand}{HideTags}{\marg{list}}\addcontentsline{toc}{subsubsection}{\refCom{HideTags}}
\updated{v0.2.3\\2019/02/13 }
\updated{v0.2.3-experimental\\2019/02/13 }
Hide all exercises containing the list of tags when building a set.
\end{docCommand}
\begin{docCommand}{ShowAllTags}{}\addcontentsline{toc}{subsubsection}{\refCom{ShowAllTags}}
\defnew{v0.2.3\\2019/02/13 }
\defnew{v0.2.3-experimental\\2019/02/13 }
Reset tags set by \dac{HideTags}
\end{docCommand}
\filbreak\subsection{Configuration and options}
Expand All @@ -493,7 +493,7 @@ \subsection{Points and tags for exercises}
Shows the tags in front of the part problems much like \dac{ShowNumbers}
\end{docCommand}
\begin{docCommand}{ShowFilenames}{}\addcontentsline{toc}{subsubsection}{\refCom{ShowFilenames}}
\updated{v0.2.3\\2019/02/13 }
\updated{v0.2.3-experimental\\2019/02/13 }
Shows the path+filename to the current exercise file
\end{docCommand}
\begin{docCommand}{exercisebanksetup}{\marg{\oarg{key/values}}}\addcontentsline{toc}{subsubsection}{\refCom{exercisebanksetup}}
Expand Down Expand Up @@ -604,7 +604,7 @@ \subsection{Points and tags for exercises}
\end{docCommand}
\filbreak\subsection{Problem options: points and tagging}
\begin{docCommand}{nextproblem}{}\addcontentsline{toc}{subsubsection}{\refCom{nextproblem}}
\updated{v0.2.3\\2019/02/13 }
\updated{v0.2.3-experimental\\2019/02/13 }
Prior to a problem environment in an exercise file you can pass options
using the \dac{nextproblem} command. If you e.g. wanted to hide one regardless
of what set it is you'd do
Expand Down Expand Up @@ -658,7 +658,7 @@ \subsection{Points and tags for exercises}
Contains the total number of points for all exercises in the current set
\end{docCommand}
\begin{docCommand}{exercisepoints}{}\addcontentsline{toc}{subsubsection}{\refCom{exercisepoints}}
\defnew{v0.2.3\\2019/02/13 }
\defnew{v0.2.3-experimental\\2019/02/13 }
Contains the total number of points in the current exercise (or "Problem")
\end{docCommand}
\filbreak\subsection{Triggers}
Expand All @@ -681,7 +681,7 @@ \subsection{Points and tags for exercises}

\end{docCommand}
\begin{docCommand}{ClearHook}{}\addcontentsline{toc}{subsubsection}{\refCom{ClearHook}}
\defnew{v0.2.3\\2019/02/13 }
\defnew{v0.2.3-experimental\\2019/02/13 }
Deletes all information from a hook.
Note that if preceded by \dac{rigid}, then the
ENTIRE hook will be cleared.
Expand Down Expand Up @@ -717,7 +717,7 @@ \subsection{Points and tags for exercises}
\end{dispListing}
\end{docCommand}
\begin{docCommand}{@rigid}{}\addcontentsline{toc}{subsubsection}{\refCom{@rigid}}
\defnew{v0.2.3\\2019/02/13 }
\defnew{v0.2.3-experimental\\2019/02/13 }
Used to make \dac{At} so that the contents won't be deleted
with \dac{ClearHook}. Note that the necessary hooks might not be
registered as rigid. Thus show caution when deleting hooks
Expand Down Expand Up @@ -880,7 +880,7 @@ \section{Changelog}
\newversion{v0.2.2 2018/10/04}
\change{Made trailing commas ignored in all lists (\dac\makeset,\dac\buildset,\dac\select,\dac\exclude, etc.)}
\change{Fixed bug where tags wouldn't hide.}
\newversion{v0.2.3 2019/02/13}
\newversion{v0.2.3-experimental 2019/02/13}
\change{Added possibility of custom part problem header from \dac\nextproblem}
\change{Added possibility of showing problem only when \dac\DisplaySolutions active}
\change{Corrected use of the length \dac\ppMarginBelow}
Expand Down
12 changes: 6 additions & 6 deletions release/exercisebank.sty
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
% Source (with comments) can be found at https://github.com/Strauman/exercisebank/
%% The LaTeX package exercisebank - version v0.2.3 (2019/02/13) - build 124
%% The LaTeX package exercisebank - version v0.2.3-experimental (2019/02/13) - build 124
%% exercisebank.sty: Exercise bank
%% -------------------------------------------------------------------------------------------
%% Copyright (c) 2018 by Andreas Storvik Strauman <andreas dot s dot strauman at uit dot no>
Expand All @@ -13,14 +13,14 @@
%% version 2008/05/04 or later.
%% This work has the LPPL maintenance status `author-maintained'.
%% This work consists of all files listed in README
\ProvidesPackage{exercisebank}[2019/02/13 v0.2.3 Creates a setup that gives freedom in making sets and exercises.]
\ProvidesPackage{exercisebank}[2019/02/13 v0.2.3-experimental Creates a setup that gives freedom in making sets and exercises.]
\xdef\exbank@quiet{1}
\def\exercisebankversion{v0.2.3 - Build 124}
\PackageWarningNoLine{exercisebank-v0.2.3}{This package is in the beta stage, and if something unexpected happens please, oh pretty please, report it to https://github.com/Strauman/exercisebank. Thank you!}
\def\exercisebankversion{v0.2.3-experimental - Build 124}
\PackageWarningNoLine{exercisebank-v0.2.3-experimental}{This package is in the beta stage, and if something unexpected happens please, oh pretty please, report it to https://github.com/Strauman/exercisebank. Thank you!}
\@ifundefined{ownLineNoSpacesGotIt}{\@latex@warning{Compilation wont work unless \string\end{problem} and \string\end{solution} are on their own lines and without any spaces. This warning can be removed by doing \string\def\string\ownLineNoSpacesGotIt{} before \@backslashchar usepackage{exercisebank}}
}{}
\ifcsname pdfstrcmp\endcsname\else
\PackageError{exercisebank-v0.2.3}{Exercisebank currently only works with pdfLaTeX}{}\stop
\PackageError{exercisebank-v0.2.3-experimental}{Exercisebank currently only works with pdfLaTeX}{}\stop
\fi
\gdef\setExercisesDir#1{\@latex@error{\string\setExercisesDir is deprecated. Use \string\exercisebanksetup{exercise directory=#1} instead}{}\stop\bye
}
Expand Down Expand Up @@ -116,7 +116,7 @@
\fi%
}%
\fi}
\gdef\exb@warn{\PackageWarningNoLine{exercisebank-v0.2.3}}
\gdef\exb@warn{\PackageWarningNoLine{exercisebank-v0.2.3-experimental}}
\gdef\exb@err#1{\PackageError{exercisebank}{#1}{}}
\newif\ifexb@isInList
\newcounter{exb@isin@dots}
Expand Down

0 comments on commit e81ad26

Please sign in to comment.