From d9bd4cc7bc00bbe2637957dc1a44d9c949a6dbdc Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 18 Jun 2010 00:16:31 +0000
Subject: koma-script update (17jun10)

git-svn-id: svn://tug.org/texlive/trunk@19027 c570f23f-e606-0410-a88d-b1316a301751
---
 .../texmf-dist/tex/latex/koma-script/typearea.sty  | 24 +++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/koma-script/typearea.sty')

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}{%
-- 
cgit v1.2.3

