summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-05-07 21:39:17 +0000
committerKarl Berry <karl@freefriends.org>2015-05-07 21:39:17 +0000
commitf8161ba0f72d6243c5a8670ebe60bd9039192ed9 (patch)
treea15c0f2ab6f1b473215810dbff60b05c54dbbac6 /Master/texmf-dist/source
parent86ea2a64d8bfb26f072682abd11df481ffb2db49 (diff)
koma-script (7may15)
git-svn-id: svn://tug.org/texlive/trunk@37256 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/latex/koma-script/ChangeLog35
-rw-r--r--Master/texmf-dist/source/latex/koma-script/doc/english/tocbasic.tex2
-rw-r--r--Master/texmf-dist/source/latex/koma-script/doc/scrguide.pdfbin2546879 -> 2546642 bytes
-rw-r--r--Master/texmf-dist/source/latex/koma-script/doc/scrguien.pdfbin2371163 -> 2371321 bytes
-rw-r--r--Master/texmf-dist/source/latex/koma-script/scrjura.dtx23
-rw-r--r--Master/texmf-dist/source/latex/koma-script/scrkernel-compatibility.dtx10
-rw-r--r--Master/texmf-dist/source/latex/koma-script/scrkernel-notepaper.dtx10
-rw-r--r--Master/texmf-dist/source/latex/koma-script/scrkernel-typearea.dtx231
-rw-r--r--Master/texmf-dist/source/latex/koma-script/scrkernel-version.dtx4
9 files changed, 185 insertions, 130 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/ChangeLog b/Master/texmf-dist/source/latex/koma-script/ChangeLog
index 1a5cc051ed0..1434ced9aca 100644
--- a/Master/texmf-dist/source/latex/koma-script/ChangeLog
+++ b/Master/texmf-dist/source/latex/koma-script/ChangeLog
@@ -1,3 +1,38 @@
+r2089 2015-05-06 08:10:29 +0200 kohm:
+
+ * scrkernel-version.dtx, scrkernel-compatibility.dtx: prepared for
+ release 3.17a
+
+r2088 2015-05-03 11:09:14 +0200 kohm:
+
+ * scrkernel-typearea.dtx: change: option pagesize in preamble is
+ partly delayed until \begin{document}
+
+r2087 2015-05-03 09:11:15 +0200 kohm:
+
+ * scrkernel-typearea.dtx: fix: group level error with pagesize=false
+
+r2086 2015-05-01 21:40:11 +0200 kohm:
+
+ * scrjura.dtx: fix: automatic numbering of sub-clauses of new defined
+ environments
+
+r2085 2015-05-01 21:27:42 +0200 kohm:
+
+ * scrjura.dtx: fix: automatic numbering of new defines environments
+
+r2084 2015-04-26 14:49:41 +0200 kohm:
+
+ * scrkernel-notepaper.dtx: fix: font aliases title and subject
+
+r2083 2015-04-26 14:48:47 +0200 kohm:
+
+ * scrkernel-version.dtx: neue Beta-Version
+
+r2082 2015-04-23 10:00:56 +0200 kohm:
+
+ * releaselist.txt: v3.17 released
+
r2081 2015-04-23 08:46:09 +0200 kohm:
* scrkernel-version.dtx, scrkernel-compatibility.dtx: prepared for
diff --git a/Master/texmf-dist/source/latex/koma-script/doc/english/tocbasic.tex b/Master/texmf-dist/source/latex/koma-script/doc/english/tocbasic.tex
index 753f880895f..5b469e5ee0d 100644
--- a/Master/texmf-dist/source/latex/koma-script/doc/english/tocbasic.tex
+++ b/Master/texmf-dist/source/latex/koma-script/doc/english/tocbasic.tex
@@ -50,7 +50,7 @@
%%
%%% From File: $Id: tocbasic.dtx 2041 2015-03-25 08:42:54Z kohm $
\ProvidesFile{tocbasic.tex}[%
- 2015/04/23 v3.17 KOMA-Script
+ 2015/05/06 v3.17a KOMA-Script
package
(handling toc-files)%
]
diff --git a/Master/texmf-dist/source/latex/koma-script/doc/scrguide.pdf b/Master/texmf-dist/source/latex/koma-script/doc/scrguide.pdf
index 8c72252a851..1d53b8b2078 100644
--- a/Master/texmf-dist/source/latex/koma-script/doc/scrguide.pdf
+++ b/Master/texmf-dist/source/latex/koma-script/doc/scrguide.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/koma-script/doc/scrguien.pdf b/Master/texmf-dist/source/latex/koma-script/doc/scrguien.pdf
index dfeb1f250c0..67cc9694200 100644
--- a/Master/texmf-dist/source/latex/koma-script/doc/scrguien.pdf
+++ b/Master/texmf-dist/source/latex/koma-script/doc/scrguien.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/koma-script/scrjura.dtx b/Master/texmf-dist/source/latex/koma-script/scrjura.dtx
index 2373b8bc572..b49d05cb96b 100644
--- a/Master/texmf-dist/source/latex/koma-script/scrjura.dtx
+++ b/Master/texmf-dist/source/latex/koma-script/scrjura.dtx
@@ -60,7 +60,7 @@
% Right brace \} Tilde \~}
%
% \iffalse
-%%% From File: $Id: scrjura.dtx 1979 2015-03-09 09:44:10Z kohm $
+%%% From File: $Id: scrjura.dtx 2086 2015-05-01 19:40:11Z kohm $
%<*dtx>
\def\LaTeXformat{LaTeX2e}
\ifx\fmtname\LaTeXformat\def\MainBodyWork{%
@@ -70,7 +70,7 @@
%<driver>\ProvidesFile{scrjura.drv}
%<package>\ProvidesPackage{scrjura}
%<*dtx|package|driver>
- [2015/03/09 v0.9a KOMA-Script for jurists
+ [2015/05/01 v0.9b KOMA-Script for jurists
%</dtx|package|driver>
%<driver> (driver)%
%<package> (package)%
@@ -1278,19 +1278,24 @@ standard classes created by The LaTeX3 Project 1994-1996.
%
% \begin{environment}{contract}
% \begin{macro}{\contract}
-% \changes{v0.5d}{2010/04/28}{fehlende Fehlermeldung ergänzt}
-% \changes{v0.5d}{2010/04/28}{Umgebung definiert sich nicht mehr selbst um}
-% \changes{v0.5d}{2010/04/28}{\cs{jura@env@type} wird gesetzt}
+% \changes{v0.5d}{2010/04/28}{fehlende Fehlermeldung ergänzt}^^A
+% \changes{v0.5d}{2010/04/28}{Umgebung definiert sich nicht mehr selbst
+% um}^^A
+% \changes{v0.5d}{2010/04/28}{\cs{jura@env@type} wird gesetzt}^^A
% \begin{Counter}{contractClause}
% \begin{macro}{\thecontractClause}
+% \changes{v0.9b}{2015/05/01}{muss unbedingt den Zähler \texttt{Clause}
+% statt \texttt{contractClause} verwenden}^^A
% \begin{macro}{\contract@Clauseformat}
% \begin{macro}{\Clauseformat}
-% \changes{v0.6b}{2013/04/16}{\cs{paragraphformat} umdefiniert}
+% \changes{v0.6b}{2013/04/16}{\cs{paragraphformat} umdefiniert}^^A
% \begin{Counter}{contractSubClause}
+% \changes{v0.9b}{2015/05/01}{muss unbedingt den Zähler \texttt{SubClause}
+% statt \texttt{contractSubClause} verwenden}^^A
% \begin{macro}{\thecontractSubClause}
% \begin{Counter}{contractAbsoluteClause}
% \changes{v0.7}{2013/04/18}{neuer (interner) Zähler über alle Paragraphen,
-% um ggf. die Zählung neu beginnen zu können}
+% um ggf. die Zählung neu beginnen zu können}^^A
% Die Umgebung \texttt{contract} wird als Anweisung \cs{contract}
% definiert. Nichts desto trotz handelt es sich dabei um eine Umgebung und
% sollte sie immer als Umgebung verwendet werden!
@@ -1323,13 +1328,13 @@ standard classes created by The LaTeX3 Project 1994-1996.
\let\cl@SubClause\@empty
\newcounter{contractClause}
\renewcommand*{\thecontractClause}{%
- {\contract@Clauseformat{\arabic{contractClause}}}}
+ {\contract@Clauseformat{\arabic{Clause}}}}
\DeclareRobustCommand*{\contract@Clauseformat}[1]{\Clauseformat{#1}}
\newcommand*{\Clauseformat}[1]{\S~#1}
\newcounter{contractSubClause}
\@addtoreset{SubClause}{Clause}
\renewcommand*{\thecontractSubClause}{%
- {\theClause\alph{contractSubClause}}}
+ {\theClause\alph{SubClause}}}
\newcounter{contractAbsoluteClause}
% \end{macrocode}
% \end{Counter}
diff --git a/Master/texmf-dist/source/latex/koma-script/scrkernel-compatibility.dtx b/Master/texmf-dist/source/latex/koma-script/scrkernel-compatibility.dtx
index 5117d4ab496..45334794831 100644
--- a/Master/texmf-dist/source/latex/koma-script/scrkernel-compatibility.dtx
+++ b/Master/texmf-dist/source/latex/koma-script/scrkernel-compatibility.dtx
@@ -1,4 +1,4 @@
-% \CheckSum{203}
+% \CheckSum{204}
% \iffalse meta-comment
% ======================================================================
% scrkernel-compatibility.dtx
@@ -55,13 +55,13 @@
% Right brace \} Tilde \~}
%
% \iffalse
-%%% From File: $Id: scrkernel-compatibility.dtx 2081 2015-04-23 06:46:09Z kohm $
+%%% From File: $Id: scrkernel-compatibility.dtx 2089 2015-05-06 06:10:29Z kohm $
%<*driver>
% \fi
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
\begingroup
\def\filedate$#1: #2-#3-#4 #5${\def\filedate{#2/#3/#4}}
- \filedate$Date: 2015-04-23 08:46:09 +0200 (Thu, 23 Apr 2015) $
+ \filedate$Date: 2015-05-06 08:10:29 +0200 (Wed, 06 May 2015) $
\def\filerevision$#1: #2 ${\def\filerevision{r#2}}
\filerevision$Revision: 1638 $
\edef\reserved@a{%
@@ -381,6 +381,8 @@
% \changes{v3.16}{2015/02/08}{Neues Macro}^^A
% \begin{macro}{\scr@v@3.17}
% \changes{v3.17}{2015/02/08}{Neues Macro}^^A
+% \begin{macro}{\scr@v@3.17a}
+% \changes{v3.17a}{2015/05/06}{Neues Macro}
% \begin{macro}{\scr@v@last}
% \changes{v2.9u}{2005/03/05}{Neues Macro}^^A
% Nun die unterschiedlichen möglichen Werte (|\scr@v@last| ist jeweils die
@@ -440,6 +442,7 @@
\@namedef{scr@v@3.15}{14}
\@namedef{scr@v@3.16}{14}
\@namedef{scr@v@3.17}{15}
+\@namedef{scr@v@3.17a}{15}
\@namedef{scr@v@last}{15}
% \end{macrocode}
% \end{macro}
@@ -483,6 +486,7 @@
% \end{macro}
% \end{macro}
% \end{macro}
+% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
diff --git a/Master/texmf-dist/source/latex/koma-script/scrkernel-notepaper.dtx b/Master/texmf-dist/source/latex/koma-script/scrkernel-notepaper.dtx
index 084f554c784..52b8d1e7c0e 100644
--- a/Master/texmf-dist/source/latex/koma-script/scrkernel-notepaper.dtx
+++ b/Master/texmf-dist/source/latex/koma-script/scrkernel-notepaper.dtx
@@ -55,13 +55,13 @@
% Right brace \} Tilde \~}
%
% \iffalse
-%%% From File: $Id: scrkernel-notepaper.dtx 2077 2015-04-17 08:18:40Z kohm $
+%%% From File: $Id: scrkernel-notepaper.dtx 2084 2015-04-26 12:49:41Z kohm $
%<*driver>
% \fi
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
\begingroup
\def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}}
- \filedate$Date: 2015-04-17 10:18:40 +0200 (Fri, 17 Apr 2015) $
+ \filedate$Date: 2015-04-26 14:49:41 +0200 (Sun, 26 Apr 2015) $
\def\filerevision$#1: #2 ${\gdef\filerevision{r#2}}
\filerevision$Revision: 1767 $
\edef\reserved@a{%
@@ -1590,9 +1590,10 @@
% \begin{KOMAfont}{title}
% \changes{v2.95}{2006/03/23}{jetzt mit \cs{newkomafont}}^^A
% \changes{v3.17}{2015/02/21}{nur noch ein Alias}^^A
+% \changes{v3.17a}{2015/04/26}{Alias korrigiert}^^A
% \begin{macrocode}
%<package>\scr@ifundefinedorrelax{scr@fnt@title}{%
- \aliaskomafont{lettertitle}{title}%
+ \aliaskomafont{title}{lettertitle}%
%<package>}{}
% \end{macrocode}
% \end{KOMAfont}
@@ -1600,6 +1601,7 @@
%
% \begin{KOMAfont}{lettersubject}
% \changes{v3.17}{2015/02/21}{neu als Ersatz für \texttt{subject}}
+% \changes{v3.17a}{2015/04/26}{Alias korrigiert}^^A
% Der Betreff im Brief.
% \begin{macrocode}
\newkomafont{lettersubject}{\normalfont\bfseries}
@@ -1609,7 +1611,7 @@
% \changes{v3.17}{2015/02/21}{nur noch ein Alias}^^A
% \begin{macrocode}
%<package>\scr@ifundefinedorrelax{scr@fnt@subject}{%
- \aliaskomafont{lettersubject}{subject}%
+ \aliaskomafont{subject}{lettersubject}%
%<package>}{}
% \end{macrocode}
% \end{KOMAfont}
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 444d38f3d22..29aa6033975 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{2588}
+% \CheckSum{2578}
% \iffalse meta-comment
% ======================================================================
% scrkernel-typearea.dtx
@@ -55,13 +55,13 @@
% Right brace \} Tilde \~}
%
% \iffalse
-%%% From File: $Id: scrkernel-typearea.dtx 2056 2015-03-30 08:24:20Z kohm $
+%%% From File: $Id: scrkernel-typearea.dtx 2088 2015-05-03 09:09:14Z kohm $
%<package&identify>\NeedsTeXFormat{LaTeX2e}[1995/06/01]
%<*driver>
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
\begingroup
\def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}}
- \filedate$Date: 2015-03-30 10:24:20 +0200 (Mon, 30 Mar 2015) $
+ \filedate$Date: 2015-05-03 11:09:14 +0200 (Sun, 03 May 2015) $
\def\filerevision$#1: #2 ${\gdef\filerevision{r#2}}
\filerevision$Revision: 1872 $
\edef\reserved@a{%
@@ -953,10 +953,11 @@
% \begin{option}{pagesize}
% \changes{v2.7g}{2001/04/17}{neue Option}^^A
% \changes{v2.95}{2002/08/27}{neu implementiert}^^A
-% \changes{v3.02c}{2009/02/14}{neuer Wert \texttt{false}}
-% \changes{v3.05a}{2010/03/18}{neuer Wert \texttt{dvipdfmx}}
+% \changes{v3.02c}{2009/02/14}{neuer Wert \texttt{false}}^^A
+% \changes{v3.05a}{2010/03/18}{neuer Wert \texttt{dvipdfmx}}^^A
% \changes{v3.12}{2013/03/05}{Verwendung der Status-Signalisierung mit
-% \cs{FamilyKeyState}}
+% \cs{FamilyKeyState}}^^A
+% \changes{v3.17a}{2015/05/03}{Logik komplett neu geschrieben}^^A
% Diese Option ist nun das zentrale Element für die Übermittlung der
% Seitengröße an pdf\TeX, \texttt{dvips} oder V\TeX. Sie wird auch von
% den obsoleten Optionen verwendet. Die Werte und ihre Bedeutung:
@@ -980,40 +981,58 @@
% \begin{macrocode}
%<*package>
\KOMA@key{pagesize}[auto]{%
- \begingroup
- \KOMA@set@ncmdkey{pagesize}{@tempa}{%
- {off}{-1},{no}{-1},{false}{-1},%
- {auto}{0},{automedia}{1},{dvips}{2},{pdftex}{3},{dvipdfmx}{4}%
- }{#1}%
- \ifx\FamilyKeyState\FamilyKeyStateProcessed
- \aftergroup\FamilyKeyStateProcessed
- \ifcase\number\@tempa\relax
- \endgroup
+ \KOMA@set@ncmdkey{pagesize}{@pagesizelast}{%
+ {off}{-1},{no}{-1},{false}{-1},%
+ {auto}{0},{automedia}{1},{dvips}{2},{pdftex}{3},{dvipdfmx}{4}%
+ }{#1}%
+ \ifx\FamilyKeyState\FamilyKeyStateProcessed
+ \ifcase\number\@pagesizelast\relax
+ \edef\@pagesizelast{auto}%
+ \if@atdocument
\set@pdftexpagesize
\set@dvipspagesize
- \or
- \endgroup
- \set@pdftexpagesize
+ \fi
+ \or
+ \edef\@pagesizelast{automedia}%
+ \if@atdocument
+ \set@pdftextpagesize
\set@vtexpagesize
\set@dvipspagesize
- \or
- \endgroup
+ \fi
+ \or
+ \edef\@pagesizelast{dvips}%
+ \if@atdocument
\set@dvipspagesize
- \or
- \endgroup
+ \fi
+ \or
+ \edef\@pagesizelast{pdftex}%
+ \if@atdocument
\set@pdftexpagesize
- \or
- \endgroup
+ \fi
+ \or
+ \edef\@pagesizelast{dvipdfmx}%
+ \if@atdocument
\set@dvipdfmxpagesize
+ \fi
+ \else
+ \edef\@pagesizelast{false}%
\fi
- \KOMA@kav@xreplacevalue{.typearea.\scr@pkgextension}{pagesize}{#1}%
- \edef\@pagesizelast{#1}%
- \else
- \endgroup
- \FamilyKeyStateUnknownValue
+ \KOMA@kav@xreplacevalue{.typearea.\scr@pkgextension}%
+ {pagesize}{\@pagesizelast}%
\fi
}
% \end{macrocode}
+% \begin{macro}{\@pagesizelast}
+% Das interne Makro speichert die aktuelle Einstellung von \texttt{pagesize}
+% und wird nicht nur für das neu Setzen derselben in Option \texttt{paper},
+% sondern auch für die Parametereinstellung innerhalb von
+% \texttt{\cs{begin}\{document\}}.
+% \begin{macrocode}
+\newcommand\@pagesizelast{auto}
+\AtBeginDocument{%
+ \KOMAExecuteOptions[.typearea.\scr@pkgextension]{pagesize=\@pagesizelast}%
+% \end{macrocode}
+% \end{macro}^^A \@pagesizelast
%
% \begin{macro}{\set@pdftexpagesize}
% \changes{v2.95}{2002/08/27}{neu (intern)}^^A
@@ -1038,86 +1057,11 @@
% \begin{description}
% \item{Achtung:} die Definition dieser Makros ändert sich teilweise
% bei ihrem Aufruf und insgesamt bei
-% \texttt{\cs{begin}\{document\}}.
+% \texttt{\cs{begin}\{document\}}.
% \end{description}
+% Hier zunächst ihre ggf. geänderte Definition nach
+% \texttt{\cs{begin}\{document\}}:
% \begin{macrocode}
-\newcommand{\set@pdftexpagesize}{%
- \AtBeginDocument{%
- \ifnotundefined{pdfpagewidth}{\pdfpagewidth=\paperwidth}{}%
- \ifnotundefined{pdfpageheight}{\pdfpageheight=\paperheight}{}%
- }%
- \let\set@pdftexpagesize=\@empty
-}
-\newcommand{\set@dvipspagesize}{%
- \begingroup
- \@tempswafalse
- \scr@ifdvioutput{\@tempswatrue}{%
- \ifnotundefined{if@dvips}{%
- \expandafter\let\csname if@tempswa\expandafter\endcsname
- \csname if@dvips\endcsname
- }{}%
- }%
- \if@tempswa
- \endgroup
- \AtBeginDocument{\AtBeginDvi{%
- \special{papersize=\the\paperwidth,\the\paperheight}%
- \if@seascape\special{! TeXDict begin /landplus90{true}store end }\fi
- }%
- }%
- \expandafter\ifnum\scr@ta@v@is@gt{3.02b}\relax
- \let\set@dvipspagesize=\@empty
- \else
- \let\set@dvipspagesize=\setnot@dvipspagesize
- \fi
- \else
- \endgroup
- \fi
-}
-\newcommand{\setnot@dvipspagesize}{%
- \scr@ifdvioutput{%
- \PackageWarning{%
- typearea%
- }{%
- With dvi output option `pagesize=auto',\MessageBreak
- `pagesize=automedia' or `pagesize=dvips'\MessageBreak
- may be used only once at preamble.\MessageBreak
- Option ignored%
- }%
- }{}%
-}
-\newcommand*{\set@dvipdfmxpagesize}{%
- \scr@ifdvioutput{%
- \AtBeginDocument{\AtBeginDvi{%
- \special{papersize=\the\paperwidth,\the\paperheight}%
- }%
- }%
- }{}%
-}
-\newcommand{\set@vtexpagesize}{%
- \AtBeginDocument{%
- \ifnotundefined{mediawith}{\mediawidth=\paperwidth}{}%
- \ifnotundefined{mediaheight}{\mediaheight=\paperheight}{}%
- }%
- \let\set@vtexpagesize=\@empty
-}
-\newcommand*{\scr@updatedvipspagesize}{%
- \scr@ifundefinedorrelax{XeTeXversion}{%
- \special{ps::\@percentchar\@percentchar
- PageBoundingBox: 0 0 \the\numexpr\paperwidth/\dimexpr 1bp\relax\relax
- \space \the\numexpr\paperheight/\dimexpr 1bp\relax\relax^^J%
- \@percentchar\@percentchar BeginPageSetup^^J%
- << /PageSize [\the\numexpr\paperwidth/\dimexpr 1bp\relax\relax\space
- \the\numexpr\paperheight/\dimexpr 1bp\relax\relax]
- >> setpagedevice^^J%<<
- 0 0 bop^^J%
- \@percentchar\@percentchar EndPageSetup}%
- }{}%
-}
-\AtBeginDocument{%
- \renewcommand*{\set@pdftexpagesize}{%
- \ifnotundefined{pdfpagewidth}{\pdfpagewidth=\paperwidth}{}%
- \ifnotundefined{pdfpageheight}{\pdfpageheight=\paperheight}{}%
- }%
\expandafter\ifnum\scr@ta@v@is@gt{3.02b}\relax
\renewcommand*{\set@dvipspagesize}{%
% \end{macrocode}
@@ -1208,10 +1152,75 @@
\special{papersize=\the\paperwidth,\the\paperheight}%
}{}%
}%
- \renewcommand*{\set@vtexpagesize}{%
- \ifnotundefined{mediawith}{\mediawidth=\paperwidth}{}%
- \ifnotundefined{mediaheight}{\mediaheight=\paperheight}{}%
- }%
+}
+% \end{macrocode}
+% Und jetzt die Definitionen bevor \texttt{\cs{begin}\{document\}}, die
+% allerdings erst innerhalb von \texttt{\cs{begin}\{document\}} das erste Mal
+% ausgeführt werden:
+% \begin{macrocode}
+\newcommand{\set@pdftexpagesize}{%
+ \ifnotundefined{pdfpagewidth}{\pdfpagewidth=\paperwidth}{}%
+ \ifnotundefined{pdfpageheight}{\pdfpageheight=\paperheight}{}%
+}
+\newcommand{\set@dvipspagesize}{%
+ \begingroup
+ \@tempswafalse
+ \scr@ifdvioutput{\@tempswatrue}{%
+ \ifnotundefined{if@dvips}{%
+ \expandafter\let\csname if@tempswa\expandafter\endcsname
+ \csname if@dvips\endcsname
+ }{}%
+ }%
+ \if@tempswa
+ \endgroup
+ \AtBeginDvi{%
+ \special{papersize=\the\paperwidth,\the\paperheight}%
+ \if@seascape\special{! TeXDict begin /landplus90{true}store end }\fi
+ }%
+ \expandafter\ifnum\scr@ta@v@is@gt{3.02b}\relax
+ \let\set@dvipspagesize=\@empty
+ \else
+ \let\set@dvipspagesize=\setnot@dvipspagesize
+ \fi
+ \else
+ \endgroup
+ \fi
+}
+\newcommand{\setnot@dvipspagesize}{%
+ \scr@ifdvioutput{%
+ \PackageWarning{%
+ typearea%
+ }{%
+ With dvi output option `pagesize=auto',\MessageBreak
+ `pagesize=automedia' or `pagesize=dvips'\MessageBreak
+ may be used only once at preamble.\MessageBreak
+ Option ignored%
+ }%
+ }{}%
+}
+\newcommand*{\set@dvipdfmxpagesize}{%
+ \scr@ifdvioutput{%
+ \AtBeginDvi{%
+ \special{papersize=\the\paperwidth,\the\paperheight}%
+ }%
+ }{}%
+}
+\newcommand{\set@vtexpagesize}{%
+ \ifnotundefined{mediawith}{\mediawidth=\paperwidth}{}%
+ \ifnotundefined{mediaheight}{\mediaheight=\paperheight}{}%
+}
+\newcommand*{\scr@updatedvipspagesize}{%
+ \scr@ifundefinedorrelax{XeTeXversion}{%
+ \special{ps::\@percentchar\@percentchar
+ PageBoundingBox: 0 0 \the\numexpr\paperwidth/\dimexpr 1bp\relax\relax
+ \space \the\numexpr\paperheight/\dimexpr 1bp\relax\relax^^J%
+ \@percentchar\@percentchar BeginPageSetup^^J%
+ << /PageSize [\the\numexpr\paperwidth/\dimexpr 1bp\relax\relax\space
+ \the\numexpr\paperheight/\dimexpr 1bp\relax\relax]
+ >> setpagedevice^^J%<<
+ 0 0 bop^^J%
+ \@percentchar\@percentchar EndPageSetup}%
+ }{}%
}
% \end{macrocode}
% \end{macro}
diff --git a/Master/texmf-dist/source/latex/koma-script/scrkernel-version.dtx b/Master/texmf-dist/source/latex/koma-script/scrkernel-version.dtx
index c7a5b64a937..6ce04f80f64 100644
--- a/Master/texmf-dist/source/latex/koma-script/scrkernel-version.dtx
+++ b/Master/texmf-dist/source/latex/koma-script/scrkernel-version.dtx
@@ -55,7 +55,7 @@
% Right brace \} Tilde \~}
%
% \iffalse
-%%% From File: $Id: scrkernel-version.dtx 2081 2015-04-23 06:46:09Z kohm $
+%%% From File: $Id: scrkernel-version.dtx 2089 2015-05-06 06:10:29Z kohm $
% \fi
%
% \iffalse
@@ -123,7 +123,7 @@
\fi
%</ignorethis>
\fi
- \@CheckKOMAScriptVersion{2015/04/23 v3.17 KOMA-Script}%
+ \@CheckKOMAScriptVersion{2015/05/06 v3.17a KOMA-Script}%
\endgroup
% \end{macrocode}
% \end{macro}