[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: fix text of filecontents error (6c3e1a67)

David Carlisle d.p.carlisle at gmail.com
Mon Jan 27 19:52:57 CET 2020


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/6c3e1a673632425f254a73adb32bbe742abb7b20

>---------------------------------------------------------------

commit 6c3e1a673632425f254a73adb32bbe742abb7b20
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Mon Jan 27 18:52:57 2020 +0000

    fix text of filecontents error


>---------------------------------------------------------------

6c3e1a673632425f254a73adb32bbe742abb7b20
 base/changes.txt | 4 ++++
 base/ltclass.dtx | 9 +++++----
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index 6d0f1814..cba7390b 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -8,6 +8,10 @@ are not part of the distribution.
 # 2020-02-02 Release
 #########################
 
+2020-01-27  David Carlisle  <David.Carlisle at latex-project.org>
+
+	* ltclass.dtx: Fix text of error message in filecontents
+
 2020-01-25  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
 
 	* ltoutenc.dtx (subsection{The fontenc package}):
diff --git a/base/ltclass.dtx b/base/ltclass.dtx
index 54ab001c..244977ec 100644
--- a/base/ltclass.dtx
+++ b/base/ltclass.dtx
@@ -33,7 +33,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltclass.dtx}
-             [2020/01/05 v1.3f LaTeX Kernel (Class & Package Interface)]
+             [2020/01/27 v1.3g LaTeX Kernel (Class & Package Interface)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltclass.dtx}
@@ -1890,7 +1890,7 @@
 %    by mistake overwriting the input file (\cs{jobname}). Of course,
 %    this only works for input files ending in \texttt{.tex}. If a
 %    different extension is used there is no way to see that we are
-%    overwriting outselves!
+%    overwriting ourselves!
 %    \begin{macrocode}
       \edef\reserved at a{#1}%
       \edef\reserved at a{\detokenize\expandafter{\reserved at a}}%
@@ -1907,11 +1907,12 @@
 %    We allocate a write channel but we open it only if it is
 %    (hopefully) safe. If not opened that means we are going to write
 %    on the terminal.      
+% \changes{v1.3g}{2020/01/27}{Fix typo in error message}
 %    \begin{macrocode}
       \ch at ck7\reserved at c\write\relax%
       \if at filesw%  % Foul ... trying to overwrite \jobname!
       \@latex at error{Trying to overwrite `\jobname.tex'}{You can't %
-        write to the file you a reading from!\MessageBreak%
+        write to the file you are reading from!\MessageBreak%
         Data is written to screen instead.}%
       \else%
         \@latex at warning@no at line%
@@ -1921,7 +1922,7 @@
     \fi%
   \fi%
 %    \end{macrocode}
-%    Closing the \cs{@inputcheck} is done here ot avoid having to do
+%    Closing the \cs{@inputcheck} is done here to avoid having to do
 %    this in each branch.
 %    \begin{macrocode}
   \closein\@inputcheck%





More information about the latex3-commits mailing list.