summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/koma-script/typearea.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/koma-script/typearea.sty')
-rw-r--r--Master/texmf-dist/tex/latex/koma-script/typearea.sty24
1 files changed, 21 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/koma-script/typearea.sty b/Master/texmf-dist/tex/latex/koma-script/typearea.sty
index 1c4082d98cb..9640c6e8fc5 100644
--- a/Master/texmf-dist/tex/latex/koma-script/typearea.sty
+++ b/Master/texmf-dist/tex/latex/koma-script/typearea.sty
@@ -68,7 +68,7 @@
\fi
}
\fi
- \@CheckKOMAScriptVersion{2010/02/15 v3.05 KOMA-Script}%
+ \@CheckKOMAScriptVersion{2010/06/17 v3.06 KOMA-Script}%
\endgroup
%%% From File: scrktare.dtx
\ProvidesPackage{typearea}[%
@@ -301,7 +301,7 @@
\begingroup
\KOMA@set@ncmdkey{pagesize}{@tempa}{%
{off}{-1},{no}{-1},{false}{-1},%
- {auto}{0},{automedia}{1},{dvips}{2},{pdftex}{3}%
+ {auto}{0},{automedia}{1},{dvips}{2},{pdftex}{3},{dvipdfmx}{4}%
}{#1}%
\ifcase\number\@tempa\relax
\endgroup
@@ -318,6 +318,9 @@
\or
\endgroup
\set@pdftexpagesize
+ \or
+ \endgroup
+ \set@dvipdfmxpagesize
\fi
\edef\@pagesizelast{#1}%
}
@@ -362,6 +365,14 @@
}%
}{}%
}
+\newcommand*{\set@dvipdfmxpagesize}{%
+ \scr@ifdvioutput{%
+ \AtBeginDocument{\AtBeginDvi{%
+ \special{papersize=\the\paperwidth,\the\paperheight}%
+ }%
+ }%
+ }{}%
+}
\newcommand{\set@vtexpagesize}{%
\AtBeginDocument{%
\ifnotundefined{mediawith}{\mediawidth=\paperwidth}{}%
@@ -420,6 +431,11 @@
\else
\let\set@dvipspagesize=\setnot@dvipspagesize
\fi
+ \renewcommand*{\set@dvipdfmxpagesize}{%
+ \scr@ifdvioutput{%
+ \special{papersize=\the\paperwidth,\the\paperheight}%
+ }{}%
+ }%
\renewcommand*{\set@vtexpagesize}{%
\ifnotundefined{mediawith}{\mediawidth=\paperwidth}{}%
\ifnotundefined{mediaheight}{\mediaheight=\paperheight}{}%
@@ -602,8 +618,10 @@
\@namedef{scr@v@3.03a}{10}
\@namedef{scr@v@3.03b}{10}
\@namedef{scr@v@3.04}{10}
-\@namedef{scr@v@3.05}{10}
\@namedef{scr@v@3.04a}{10}
+\@namedef{scr@v@3.05}{10}
+\@namedef{scr@v@3.05a}{10}
+\@namedef{scr@v@3.06}{10}
\@namedef{scr@v@last}{10}
%%% From File: scrktare.dtx
\InputIfFileExists{typearea.cfg}{%