From f2d101901cd3549d0f705fed19ba8c50cc8ddb2b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 17 Jul 2014 23:44:02 +0000 Subject: exsol (17jul14) git-svn-id: svn://tug.org/texlive/trunk@34643 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/exsol/exsol.dtx | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/source/latex/exsol') 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 +% Copyright (C) 2014 by Walter Daems % % 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 -- cgit v1.2.3