summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/base/docstrip.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-04-29 23:33:08 +0000
committerKarl Berry <karl@freefriends.org>2018-04-29 23:33:08 +0000
commiteca3f5fdf6c224e5d2294694df10e49b281dd9c4 (patch)
treea2f78741d7434a8d9396d07f2b360523c42d524c /Master/texmf-dist/source/latex/base/docstrip.dtx
parent46a67949b248f35d9e46a1f6236cf5bb014fb5b3 (diff)
latex2e (24apr18)
git-svn-id: svn://tug.org/texlive/trunk@47500 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/base/docstrip.dtx')
-rw-r--r--Master/texmf-dist/source/latex/base/docstrip.dtx20
1 files changed, 16 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/base/docstrip.dtx b/Master/texmf-dist/source/latex/base/docstrip.dtx
index cedf3c4a381..29afc6f6267 100644
--- a/Master/texmf-dist/source/latex/base/docstrip.dtx
+++ b/Master/texmf-dist/source/latex/base/docstrip.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2017
+% Copyright 1993-2018
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
@@ -29,9 +29,9 @@
\catcode`\{=1
\catcode`\}=2
\def\filename{docstrip.dtx}
-\def\fileversion{2.5e}
-\def\filedate{2014/09/29}
-\def\docdate {2017/03/13}
+\def\fileversion{2.5f}
+\def\filedate{2018/04/10}
+\def\docdate {2018/04/10}
%%
%
%\iffalse
@@ -3034,6 +3034,18 @@ Z
\makeOther\~\makeOther\{\makeOther\}\makeOther\&%
\endlinechar-1\relax
% \end{macrocode}
+% To avoid any UTF-8 handling of characters we set code points
+% 128--255 to other.
+% \changes{2.5f}{2018/04/10}{Read 8bit raw to leave high bits in the
+% code to unchanged without utf8 handling (issue 34)}
+% \begin{macrocode}
+ \@tempcnta=128\relax
+ \loop
+ \catcode\@tempcnta 12\relax
+ \ifnum\@tempcnta <255\relax
+ \advance\@tempcnta\@ne
+ \repeat
+% \end{macrocode}
% Then we start a loop to process the lines in the file one by one.
% \begin{macrocode}
\loop