summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/koma-script/scrkernel-typearea.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-01-03 21:58:12 +0000
committerKarl Berry <karl@freefriends.org>2019-01-03 21:58:12 +0000
commit9a6785706ed1238169de63236cf1ade3038a8315 (patch)
treeebb7724b3d63ab7a3670016195a008e8b1995026 /Master/texmf-dist/source/latex/koma-script/scrkernel-typearea.dtx
parent5e448e499d3c7ac969a219544ef8c2d51cc282b0 (diff)
koma-script (3jan19)
git-svn-id: svn://tug.org/texlive/trunk@49587 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/scrkernel-typearea.dtx')
-rw-r--r--Master/texmf-dist/source/latex/koma-script/scrkernel-typearea.dtx55
1 files changed, 32 insertions, 23 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/scrkernel-typearea.dtx b/Master/texmf-dist/source/latex/koma-script/scrkernel-typearea.dtx
index 68823a2e0be..d1b0b2d59cd 100644
--- a/Master/texmf-dist/source/latex/koma-script/scrkernel-typearea.dtx
+++ b/Master/texmf-dist/source/latex/koma-script/scrkernel-typearea.dtx
@@ -1,4 +1,4 @@
-%\CheckSum{2864}
+%\CheckSum{2882}
% \iffalse meta-comment
% ======================================================================
% scrkernel-typearea.dtx
@@ -55,7 +55,7 @@
% Right brace \} Tilde \~}
%
% \iffalse meta-comment
-%%% From File: $Id: scrkernel-typearea.dtx 2959 2018-03-15 13:32:29Z kohm $
+%%% From File: $Id: scrkernel-typearea.dtx 2993 2018-07-16 07:33:22Z kohm $
%<identify>%%% (run: identify)
%<init>%%% (run: init)
%<options>%%% (run: options)
@@ -66,9 +66,9 @@
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
\begingroup
\def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}}
- \filedate$Date: 2018-03-15 14:32:29 +0100 (Thu, 15 Mar 2018) $
+ \filedate$Date: 2018-07-16 09:33:22 +0200 (Mon, 16 Jul 2018) $
\def\filerevision$#1: #2 ${\gdef\filerevision{r#2}}
- \filerevision$Revision: 2959 $
+ \filerevision$Revision: 2993 $
\edef\reserved@a{%
\noexpand\endgroup
\noexpand\ProvidesFile{scrkernel-typearea.dtx}[%
@@ -2380,18 +2380,21 @@
% \begin{macrocode}
\@typearea
% \end{macrocode}
-% \changes{v2.0e}{1994/10/28}{write layout values to the \File{log} file}^^A
-% \changes{v2.4i}{1996/11/11}{write to the \File{log} file later}^^A
-% \changes{v2.4i}{1996/11/11}{execute \cs{@typearea@end} at the end of
-% \cs{typearea}}^^A
-% \changes{v2.4j}{1996/12/04}{\File{log} output with only one
-% \cs{textheight} but additional \cs{baselineskip}}^^A
-% \changes{v2.5}{1997/06/17}{"`arithmetic overflow"' with \Option{landscape}
-% fixed}^^A
-% \changes{v2.95}{2004/01/30}{warning in two column mode fixed}^^A
-% \changes{v3.00}{2008/10/08}{use \cs{ta@layoutinfo} to write the layout
-% values into the \File{log} file}^^A
-% \changes{v3.01b}{2008/12/09}{warning for sub-optimal settings changed}^^A
+% \changes{v2.0e}{1994/10/28}{write layout values to the \File{log} file}^^A
+% \changes{v2.4i}{1996/11/11}{write to the \File{log} file later}^^A
+% \changes{v2.4i}{1996/11/11}{execute \cs{@typearea@end} at the end of
+% \cs{typearea}}^^A
+% \changes{v2.4j}{1996/12/04}{\File{log} output with only one
+% \cs{textheight} but additional \cs{baselineskip}}^^A
+% \changes{v2.5}{1997/06/17}{"`arithmetic overflow"' with \Option{landscape}
+% fixed}^^A
+% \changes{v2.95}{2004/01/30}{warning in two column mode fixed}^^A
+% \changes{v3.00}{2008/10/08}{use \cs{ta@layoutinfo} to write the layout
+% values into the \File{log} file}^^A
+% \changes{v3.01b}{2008/12/09}{warning for sub-optimal settings changed}^^A
+% \changes{v3.26}{2018/07/16}{warning about long lines changed}^^A
+% \changes{v3.26}{2018/07/16}{warning about small lines changed and
+% replaced by an info}^^A
% Last but not least we write some layout values into the \File{log} file. For
% some of the information we need additional calculations, e.g., of a good
% line width.
@@ -2421,21 +2424,27 @@
Bad type area settings!\MessageBreak
The detected line width is about
\the\@tempcnta\@percentchar\MessageBreak
- larger than the heuristically detected line width.\MessageBreak
- You should e.g. decrease DIV, increase fontsize\MessageBreak
+ larger than the heuristically estimated maximum\MessageBreak
+ limit of typographical good line width.\MessageBreak
+ You should e.g.
+ \ifnum\ta@div >6 decrease DIV, \fi
+ \ifdim\f@size\p@<\@xiipt\p@ increase fontsize\else
+ (increase fontsize)\fi\MessageBreak
or change papersize%
}%
\@tempcnta=-\@tempcnta
\else
\ifnum\@tempcnta>15
- \PackageWarningNoLine{typearea}{%
+ \PackageInfoNoLine{typearea}{%
Maybe no optimal type area settings!\MessageBreak
- The maximum limit of line width is about
+ The detected line width is about
\the\@tempcnta\@percentchar\MessageBreak
- larger than the heuristically detected line width.\MessageBreak
- You may e.g. increase DIV, decrease fontsize\MessageBreak
+ smaller than the heuristically estimated maximum\MessageBreak
+ limit of typographical good line width.\MessageBreak
+ You could e.g. increase DIV%
+ \ifdim\f@size\p@>\@xpt\p@, decrease fontsize\fi\MessageBreak
or change the papersize%
- }
+ }%
\fi\fi
\ifnum\ta@div <6
\PackageWarningNoLine{typearea}{%