[latex3-commits] [git/LaTeX3-latex3-latex2e] master: allow slightly overfull code lines without warning [CI skip] (41bfe3d)
Frank Mittelbach
frank.mittelbach at latex-project.org
Wed Jan 31 18:44:53 CET 2018
Repository : https://github.com/latex3/latex2e
On branch : master
Link : https://github.com/latex3/latex2e/commit/41bfe3d907f4a9bbf44ccc6f29a9c3ea866da9b3
>---------------------------------------------------------------
commit 41bfe3d907f4a9bbf44ccc6f29a9c3ea866da9b3
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Wed Jan 31 18:44:53 2018 +0100
allow slightly overfull code lines without warning [CI skip]
>---------------------------------------------------------------
41bfe3d907f4a9bbf44ccc6f29a9c3ea866da9b3
base/source2e.tex | 35 ++++++++++++++++++++---------------
1 file changed, 20 insertions(+), 15 deletions(-)
diff --git a/base/source2e.tex b/base/source2e.tex
index 7d86115..79b9a7f 100644
--- a/base/source2e.tex
+++ b/base/source2e.tex
@@ -135,6 +135,15 @@ page_precedence "rnaA"
\addtolength\topmargin{-2\baselineskip}
+% Codelines are allowed to run over a bit without showing up as overfull
+%
+\renewcommand*\MacroFont{\fontencoding\encodingdefault
+ \fontfamily\ttdefault
+ \fontseries\mddefault
+ \fontshape\updefault
+ \small
+ \hfuzz 6pt\relax}
+
% Section numbers now reach eg 74.17.2 which need more space
\renewcommand*\l at subsection{\@dottedtocline{2}{1.5em}{2.8em}}
\renewcommand*\l at subsubsection{\@dottedtocline{3}{3.8em}{3.4em}}
@@ -202,6 +211,7 @@ page_precedence "rnaA"
\makeatother
\pagenumbering{roman}
+
\MaintainedByLaTeXTeam{latex}
\maketitle
\renewcommand\maketitle{}
@@ -409,7 +419,7 @@ echo "\PassOptionsToClass{$*}{article}" > ltxdoc.cfg
# Now LaTeX the file with this cfg file.
#
-latex source2e.tex
+pdflatex source2e.tex
# Make the Change log and Glossary.
@@ -427,14 +437,14 @@ makeindex -s gglo.ist -o source2e.gls source2e.glo
#
echo "\includeonly{}" >> ltxdoc.cfg
-latex source2e.tex
+pdflatex source2e.tex
# Third and final run, to put everything together.
# First restore the cfg file:
#
echo "\PassOptionsToClass{$*}{article}" > ltxdoc.cfg
-latex source2e.tex
+pdflatex source2e.tex
==============
@@ -465,13 +475,8 @@ echo "\AtEndDocument{\PrintIndex}" >> ltxdoc.cfg
# of the above four lines, uncomment the following:
# echo "\AtBeginDocument{\OnlyDescription}" >> ltxdoc.cfg
-echo "\PassOptionsToClass{$*}{article}" > ltxguide.cfg
-echo "\batchmode" >> ltxguide.cfg
-
-cp ltxguide.cfg ltnews.cfg
-
-for i in *dtx *fdd *guide.tex ltnews*.tex
+for i in *dtx *fdd
do
B=`basename $i .dtx`
@@ -479,17 +484,17 @@ if (grep "Include{$B}" source2e.tex >/dev/null ; )
then
echo In source2e: $i
else
-echo latex $i
- if (latex $i > /dev/null)
+echo pdflatex $i
+ if (pdflatex $i > /dev/null)
then
- echo latex $i
- latex $i > /dev/null
+ echo pdflatex $i
+ pdflatex $i > /dev/null
echo makeindex -s gind.ist $B.idx
makeindex -s gind.ist $B.idx > /dev/null 2> /dev/null
echo makeindex -s gglo.ist -o $B.gls $B.glo
makeindex -s gglo.ist -o $B.gls $B.glo > /dev/null 2> /dev/null
- echo latex $i
- latex $i > /dev/null
+ echo pdflatex $i
+ pdflatex $i > /dev/null
else
echo "!!! LaTeX ERROR: $i. (See $B.log.)"
fi
More information about the latex3-commits
mailing list