texlive[73991] branches/branch2024.final/Master/texmf-dist: exsol

commits+karl at tug.org commits+karl at tug.org
Fri Feb 14 23:35:53 CET 2025


Revision: 73991
          https://tug.org/svn/texlive?view=revision&revision=73991
Author:   karl
Date:     2025-02-14 23:35:53 +0100 (Fri, 14 Feb 2025)
Log Message:
-----------
exsol (branch) (14feb25)

Modified Paths:
--------------
    branches/branch2024.final/Master/texmf-dist/doc/latex/exsol/example-exercisebook.pdf
    branches/branch2024.final/Master/texmf-dist/doc/latex/exsol/example-external.pdf
    branches/branch2024.final/Master/texmf-dist/doc/latex/exsol/example-formulacollection.pdf
    branches/branch2024.final/Master/texmf-dist/doc/latex/exsol/example-inline.pdf
    branches/branch2024.final/Master/texmf-dist/doc/latex/exsol/example-local.pdf
    branches/branch2024.final/Master/texmf-dist/doc/latex/exsol/example-solutionbook.pdf
    branches/branch2024.final/Master/texmf-dist/doc/latex/exsol/example.pdf
    branches/branch2024.final/Master/texmf-dist/doc/latex/exsol/exsol.pdf
    branches/branch2024.final/Master/texmf-dist/source/latex/exsol/exsol.dtx
    branches/branch2024.final/Master/texmf-dist/tex/latex/exsol/exsol.sty

Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/exsol/example-exercisebook.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/exsol/example-external.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/exsol/example-formulacollection.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/exsol/example-inline.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/exsol/example-local.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/exsol/example-solutionbook.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/exsol/example.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/exsol/exsol.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2024.final/Master/texmf-dist/source/latex/exsol/exsol.dtx
===================================================================
--- branches/branch2024.final/Master/texmf-dist/source/latex/exsol/exsol.dtx	2025-02-14 22:35:42 UTC (rev 73990)
+++ branches/branch2024.final/Master/texmf-dist/source/latex/exsol/exsol.dtx	2025-02-14 22:35:53 UTC (rev 73991)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2019 by Walter Daems <walter.daems at uantwerpen.be>
+% Copyright (C) 2025 by Walter Daems <walter.daems at 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
@@ -30,7 +30,7 @@
 %<package|driver>\NeedsTeXFormat{LaTeX2e}
 %<driver>\ProvidesFile{exsol.dtx}
 %<package>\ProvidesPackage{exsol}
-%<package|driver>  [2024/01/07 v1.6 ExSol - Exercises and Solutions package (DMW)]
+%<package|driver>  [2025/02/14 v1.7 ExSol - Exercises and Solutions package (DMW)]
 %<*driver> 
 \documentclass[10pt,a4paper]{ltxdoc}
 \usepackage[english]{babel}
@@ -49,8 +49,8 @@
 \RecordChanges
 \newcommand{\exsol}{\textsc{ExSol}}
 \StopEventually{\PrintChanges\PrintIndex}
-\def\fileversion{1.6}
-\def\filedate{2024/01/07}
+\def\fileversion{1.7}
+\def\filedate{2025/02/14}
 \begin{document}
  \DocInput{exsol.dtx}
 \end{document}
@@ -104,6 +104,7 @@
 % \changes{v1.5}{2019/01/02}{\@ Added inline and external mode}
 % \changes{v1.6}{2024/01/07}{\@ Added check to see if babel was
 % loaded, and issue appropriate error}
+% \changes{v1.7}{2025/02/14}{\@ Ensured compatibility with spelatex package}
 %
 % \DoNotIndex{\newcommand,\newenvironment}
 % \setlength{\parindent}{0em}
@@ -1672,14 +1673,16 @@
 % solution stream}
 % \changes{v1.5}{2019/01/02}{Added writing the sectioning code to the
 % exercise stream in external mode}
+% \changes{v1.7}{2025/02/14}{Changed makechapterhead into @chapter to avoid incompatibility with spelatex}
 %    \begin{macrocode}
 \newif\ifnoexinchapter
 \noexinchapterfalse
 \ifexsol at local
 \else
-\let\exsol@@makechapterhead\@makechapterhead
-\def\@makechapterhead#1{%
-  \exsol@@makechapterhead{#1}
+\ifx\chapter\@undefined\else
+\let\exsol@@chapter\@chapter
+\def\@chapter[#1]#2{%
+  \exsol@@chapter[#1]{#2}
   \ifnoexinchapter
   \noexinchapterfalse
   \else
@@ -1693,6 +1696,8 @@
   \addtocounter{chapter}{1}
   \fi
 }
+\fi
+
 \ifdefined\frontmatter
   \let\exsol@@frontmatter\frontmatter
   \def\frontmatter{%

Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/exsol/exsol.sty
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/exsol/exsol.sty	2025-02-14 22:35:42 UTC (rev 73990)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/exsol/exsol.sty	2025-02-14 22:35:53 UTC (rev 73991)
@@ -22,7 +22,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{exsol}
-  [2024/01/07 v1.6 ExSol - Exercises and Solutions package (DMW)]
+  [2025/02/14 v1.7 ExSol - Exercises and Solutions package (DMW)]
 \RequirePackage{ifmtarg}
 \RequirePackage{fancyvrb}
 \RequirePackage{ifthen}
@@ -406,9 +406,10 @@
 \noexinchapterfalse
 \ifexsol at local
 \else
-\let\exsol@@makechapterhead\@makechapterhead
-\def\@makechapterhead#1{%
-  \exsol@@makechapterhead{#1}
+\ifx\chapter\@undefined\else
+\let\exsol@@chapter\@chapter
+\def\@chapter[#1]#2{%
+  \exsol@@chapter[#1]{#2}
   \ifnoexinchapter
   \noexinchapterfalse
   \else
@@ -422,6 +423,8 @@
   \addtocounter{chapter}{1}
   \fi
 }
+\fi
+
 \ifdefined\frontmatter
   \let\exsol@@frontmatter\frontmatter
   \def\frontmatter{%



More information about the tex-live-commits mailing list.