summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-07-17 23:44:02 +0000
committerKarl Berry <karl@freefriends.org>2014-07-17 23:44:02 +0000
commitf2d101901cd3549d0f705fed19ba8c50cc8ddb2b (patch)
tree1c61b6a699c7068c8d2837b5cc989108ef53c241 /Master
parentbd345c5c73d812c9d505b379c61a5059cc920678 (diff)
exsol (17jul14)
git-svn-id: svn://tug.org/texlive/trunk@34643 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/exsol/exsol.pdfbin248814 -> 249748 bytes
-rw-r--r--Master/texmf-dist/source/latex/exsol/exsol.dtx23
-rw-r--r--Master/texmf-dist/tex/latex/exsol/exsol.sty3
3 files changed, 20 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/exsol/exsol.pdf b/Master/texmf-dist/doc/latex/exsol/exsol.pdf
index 6da22021943..6d691e672d1 100644
--- a/Master/texmf-dist/doc/latex/exsol/exsol.pdf
+++ b/Master/texmf-dist/doc/latex/exsol/exsol.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/exsol/exsol.dtx b/Master/texmf-dist/source/latex/exsol/exsol.dtx
index d7b1527ee49..524cb631760 100644
--- a/Master/texmf-dist/source/latex/exsol/exsol.dtx
+++ b/Master/texmf-dist/source/latex/exsol/exsol.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2014 by Walter Daems <walter.daems@ua.ac.be>
+% Copyright (C) 2014 by Walter Daems <walter.daems@uantwerpen.be>
%
% This work may be distributed and/or modified under the conditions of
% the LaTeX Project Public License, either version 1.3 of this license
@@ -47,8 +47,8 @@
\RecordChanges
\newcommand{\exsol}{\textsf{ExSol}}
\StopEventually{\PrintChanges\PrintIndex}
-\def\fileversion{0.7}
-\def\filedate{2014/07/14}
+\def\fileversion{0.8}
+\def\filedate{2014/07/15}
\begin{document}
\DocInput{exsol.dtx}
\end{document}
@@ -85,6 +85,8 @@
% solutions file}
% \changes{v0.6}{2013/05/12}{. Prepared for CTAN publication}
% \changes{v0.7}{2014/07/14}{. Fixed UTF8 compatibility issues}
+% \changes{v0.8}{2014/07/15}{. Fixed missing babel tag and running out
+% of write hanles}
%
% \DoNotIndex{\newcommand,\newenvironment}
% \setlength{\parindent}{0em}
@@ -92,7 +94,7 @@
%
% \title{The \exsol{} package\thanks{This document
% corresponds to exsol~\fileversion, dated \filedate.}}
-% \author{Walter Daems (\texttt{walter.daems@ua.ac.be})}
+% \author{Walter Daems (\texttt{walter.daems@uantwerpen.be})}
% \date{}
%
% \maketitle
@@ -413,10 +415,13 @@
% At the beginning of your document, we start by opening a stream to a
% file that will be used to write the solutions to. At the end of your
% document, the package closes the stream.
+% \changes{v0.8}{2014/07/15}{moved newwrite of exercise stream to this
+% spot to avoid consuming all handles}
% \begin{macrocode}
\AtBeginDocument{
\newwrite\solutionstream
\immediate\openout\solutionstream=\jobname.sol.tex
+ \newwrite\exercisestream
}
\AtEndDocument{
\immediate\closeout\solutionstream
@@ -481,7 +486,6 @@
\def\exercise{\FV@Environment{}{exercise}}
\def\FVB@exercise{%
\refstepcounter{exercise}%
- \newwrite\exercisestream
\immediate\openout\exercisestream=\jobname.exc.tex
\ifexsol@copyexercisesinsolutions
\typeout{Writing exercise to \jobname.sol.tex}
@@ -639,6 +643,15 @@
\newcommand{\solutionname}{Solution}
% \end{macrocode}
% \end{macro}
+%
+% \begin{macro}{\solutionname}
+% The solution environment makes use of a label \texttt{\solutionname{}}
+% macro.
+% \changes{v0.8}{2014/07/15}{Added missing babel tag}
+% \begin{macrocode}
+\newcommand{\solutionsname}{Solutions}
+% \end{macrocode}
+% \end{macro}
%
%
% You may redefine these macros, but to help you out a little bit, we
diff --git a/Master/texmf-dist/tex/latex/exsol/exsol.sty b/Master/texmf-dist/tex/latex/exsol/exsol.sty
index 7854f28380d..b8980fb5ca9 100644
--- a/Master/texmf-dist/tex/latex/exsol/exsol.sty
+++ b/Master/texmf-dist/tex/latex/exsol/exsol.sty
@@ -34,6 +34,7 @@
\AtBeginDocument{
\newwrite\solutionstream
\immediate\openout\solutionstream=\jobname.sol.tex
+ \newwrite\exercisestream
}
\AtEndDocument{
\immediate\closeout\solutionstream
@@ -62,7 +63,6 @@
\def\exercise{\FV@Environment{}{exercise}}
\def\FVB@exercise{%
\refstepcounter{exercise}%
- \newwrite\exercisestream
\immediate\openout\exercisestream=\jobname.exc.tex
\ifexsol@copyexercisesinsolutions
\typeout{Writing exercise to \jobname.sol.tex}
@@ -156,6 +156,7 @@
\newcommand{\exercisename}{Exercise}
\newcommand{\exercisesname}{Exercises}
\newcommand{\solutionname}{Solution}
+\newcommand{\solutionsname}{Solutions}
\addto\captionsdutch{%
\renewcommand{\exercisename}{Oefening}%
\renewcommand{\exercisesname}{Oefeningen}%