[latex3-commits] [git/LaTeX3-latex3-latex2e] master: PL4 resetting catcodes in docstrip (7f80def)
David Carlisle
d.p.carlisle at gmail.com
Thu May 3 15:03:22 CEST 2018
Repository : https://github.com/latex3/latex2e
On branch : master
Link : https://github.com/latex3/latex2e/commit/7f80defff8b9134800b04a8e50f153b143b1f18d
>---------------------------------------------------------------
commit 7f80defff8b9134800b04a8e50f153b143b1f18d
Author: David Carlisle <d.p.carlisle at gmail.com>
Date: Thu May 3 14:03:22 2018 +0100
PL4 resetting catcodes in docstrip
>---------------------------------------------------------------
7f80defff8b9134800b04a8e50f153b143b1f18d
base/changes.txt | 8 ++++++++
base/docstrip.dtx | 19 ++++++++++++++++---
base/ltvers.dtx | 2 +-
doc/latexchanges.tex | 4 ++++
4 files changed, 29 insertions(+), 4 deletions(-)
diff --git a/base/changes.txt b/base/changes.txt
index 9e399e2..51741d1 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -5,6 +5,14 @@ are not part of the distribution.
=======================================================================
#########################
+# 2018-04-01 PL 4 Release
+#########################
+
+2018-05-03 David Carlisle <David.Carlisle at latex-project.org>
+
+ * docstrip.dtx: Reset catcodes for non ASCII .ins files
+
+#########################
# 2018-04-01 PL 3 Release
#########################
diff --git a/base/docstrip.dtx b/base/docstrip.dtx
index 29afc6f..be3dda6 100644
--- a/base/docstrip.dtx
+++ b/base/docstrip.dtx
@@ -29,9 +29,9 @@
\catcode`\{=1
\catcode`\}=2
\def\filename{docstrip.dtx}
-\def\fileversion{2.5f}
-\def\filedate{2018/04/10}
-\def\docdate {2018/04/10}
+\def\fileversion{2.5g}
+\def\filedate{2018/05/03}
+\def\docdate {2018/05/03}
%%
%
%\iffalse
@@ -1031,6 +1031,19 @@ Z
\newlinechar=`\^^J
% \end{macrocode}
%
+% \changes{2.58}{2018/05/03}{Read 8bit raw to leave high bits in the
+% .ins files unchanged}
+% Reset the catcodes of 8-bit characters so that processing a \texttt{.ins}
+% file with plain \TeX\ or \LaTeX\ both work.
+% \begin{macrocode}
+\count@=128\relax
+\loop
+ \catcode\count@ 12\relax
+\ifnum\count@ <255\relax
+ \advance\count@\@ne
+\repeat
+% \end{macrocode}
+%
% \subsubsection{Switches}
% \begin{macro}{\ifGenerate}
% The program will check if a
diff --git a/base/ltvers.dtx b/base/ltvers.dtx
index 9eaea3e..05f2361 100644
--- a/base/ltvers.dtx
+++ b/base/ltvers.dtx
@@ -115,7 +115,7 @@
{2018-04-01}
%</2ekernel|latexrelease>
%<*2ekernel>
-\def\patch at level{-4}
+\def\patch at level{4}
% \end{macrocode}
% \end{macro}
% \end{macro}
diff --git a/doc/latexchanges.tex b/doc/latexchanges.tex
index 909df8a..b41d98a 100644
--- a/doc/latexchanges.tex
+++ b/doc/latexchanges.tex
@@ -72,6 +72,10 @@ policy. Improvements and bug fixes will be made to the format sources,
with the \Lpack{latexrelease} package being available to revert
changes to use definitions from an earlier format.
+\section{Changes introduced in 2018-04-01 patch~4}
+No changes to the format, but \texttt{docstrip} adjusted so that non-ASCII
+\texttt{.ins} files work with the new UTF-8 defaults.
+
\section{Changes introduced in 2018-04-01 patch~3}
Additional adjustments for GitHub issues 34 and 38, adjustment to the
location of some documentation files, such as \texttt{source2e.tex} to
More information about the latex3-commits
mailing list