[latex3-commits] [git/LaTeX3-latex3-latex2e] hotfix/gh400: hotfix for #400 (to be moved into a later patch-level 1 release) (20e16e1a)
Frank Mittelbach
frank.mittelbach at latex-project.org
Sat Oct 3 23:28:36 CEST 2020
Repository : https://github.com/latex3/latex2e
On branch : hotfix/gh400
Link : https://github.com/latex3/latex2e/commit/20e16e1a1563e52b5a560d7a8cb7abbf75a6e018
>---------------------------------------------------------------
commit 20e16e1a1563e52b5a560d7a8cb7abbf75a6e018
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Sat Oct 3 23:28:36 2020 +0200
hotfix for #400 (to be moved into a later patch-level 1 release)
>---------------------------------------------------------------
20e16e1a1563e52b5a560d7a8cb7abbf75a6e018
required/firstaid/changes.txt | 5 ++
.../latex2e-first-aid-for-external-files.dtx | 54 +++++++++++++++++++++-
2 files changed, 57 insertions(+), 2 deletions(-)
diff --git a/required/firstaid/changes.txt b/required/firstaid/changes.txt
index 0b34d6d0..1b3472c8 100644
--- a/required/firstaid/changes.txt
+++ b/required/firstaid/changes.txt
@@ -1,3 +1,8 @@
+2020-10-03 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
+
+ * latex2e-first-aid-for-external-files.dtx:
+ Added a fix for gh400. This will soon move into the kernel.
+
2020-09-29 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
* latex2e-first-aid-for-external-files.dtx:
diff --git a/required/firstaid/latex2e-first-aid-for-external-files.dtx b/required/firstaid/latex2e-first-aid-for-external-files.dtx
index e722438f..03f96290 100644
--- a/required/firstaid/latex2e-first-aid-for-external-files.dtx
+++ b/required/firstaid/latex2e-first-aid-for-external-files.dtx
@@ -99,8 +99,8 @@
% \end{macrocode}
%
% \begin{macrocode}
-\def\LaTeXFirstAidDate{2020/09/29}
-\def\LaTeXFirstAidVersion{v1.0c}
+\def\LaTeXFirstAidDate{2020/10/03}
+\def\LaTeXFirstAidVersion{v1.0d}
% \end{macrocode}
%
% \begin{macrocode}
@@ -342,6 +342,56 @@
%
%
%
+% \subsection{Fixing a problem with \BibTeX{}}
+%
+% This will become a patch release for the kernel but for the moment
+% we put it here in case some other issues show up. \BibTeX{}
+% expects \texttt{.aux} files to contain lines
+% \verb=\@input{filename.aux}= but the new new \LaTeX{}
+% unnecessarily writes \verb=\@input{"filename.aux"}= and this
+% upsets \BibTeX{} greatly. As it isn't necessary we take it out.
+%
+% \begin{macrocode}
+\def\@include#1 {%
+ \clearpage
+ \if at filesw
+ \immediate\write\@mainaux{\string\@input{#1.aux}}%
+ \fi
+ \@tempswatrue
+ \if at partsw
+ \@tempswafalse
+ \edef\reserved at b{#1}%
+ \@for\reserved at a:=\@partlist\do
+ {\ifx\reserved at a\reserved at b\@tempswatrue\fi}%
+ \fi
+ \if at tempswa
+ \let\@auxout\@partaux
+ \if at filesw
+ \immediate\openout\@partaux "#1.aux"
+ \immediate\write\@partaux{\relax}%
+ \fi
+ \@filehook at set@CurrentFile
+ \UseHook{include/before}%
+ \UseHook{include/before/#1}%
+ \@input@{#1.tex}%
+ \UseHook{include/end/#1}%
+ \UseHook{include/end}%
+ \clearpage
+ \UseHook{include/after/#1}%
+ \UseHook{include/after}%
+ \clearpage
+ \@writeckpt{#1}%
+ \if at filesw
+ \immediate\closeout\@partaux
+ \fi
+ \else
+ \deadcycles\z@
+ \@nameuse{cp@#1}%
+ \fi
+ \let\@auxout\@mainaux}
+% \end{macrocode}
+%
+%
%
% \begin{macrocode}
%</kernel>
More information about the latex3-commits
mailing list.