summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-01-13 22:38:05 +0000
committerKarl Berry <karl@freefriends.org>2017-01-13 22:38:05 +0000
commit9ce254c8eb693b7714ee36c0bfe555f80c6afa09 (patch)
tree58b98083d794c163e479d98d0ad2be07ae9e011e /Master/texmf-dist/tex
parent41ed601d4ca57d1738cc2234c66f55f2fd1362ec (diff)
jsclasses (13jan17)
git-svn-id: svn://tug.org/texlive/trunk@42940 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/platex/jsclasses/jsarticle.cls20
-rw-r--r--Master/texmf-dist/tex/platex/jsclasses/jsbook.cls20
-rw-r--r--Master/texmf-dist/tex/platex/jsclasses/jspf.cls20
-rw-r--r--Master/texmf-dist/tex/platex/jsclasses/kiyou.cls20
4 files changed, 52 insertions, 28 deletions
diff --git a/Master/texmf-dist/tex/platex/jsclasses/jsarticle.cls b/Master/texmf-dist/tex/platex/jsclasses/jsarticle.cls
index e42abbdc2dc..ffb8cb98821 100644
--- a/Master/texmf-dist/tex/platex/jsclasses/jsarticle.cls
+++ b/Master/texmf-dist/tex/platex/jsclasses/jsarticle.cls
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{jsarticle}
- [2016/12/13 okumura, texjporg]
+ [2017/01/13 okumura, texjporg]
\def\jsc@clsname{jsarticle}
\newif\ifjsc@needsp@tch
\jsc@needsp@tchfalse
@@ -246,15 +246,19 @@
\@jsc@uplatexfalse
\fi
\fi
-\newdimen\stockwidth \newdimen\stockheight
-\setlength{\stockwidth}{\paperwidth}
-\setlength{\stockheight}{\paperheight}
\iftombow
+ \newdimen\stockwidth \newdimen\stockheight
+ \setlength{\stockwidth}{\paperwidth}
+ \setlength{\stockheight}{\paperheight}
\advance \stockwidth 2in
\advance \stockheight 2in
\fi
\ifpapersize
- \AtBeginDvi{\special{papersize=\the\stockwidth,\the\stockheight}}
+ \iftombow
+ \AtBeginDvi{\special{papersize=\the\stockwidth,\the\stockheight}}
+ \else
+ \AtBeginDvi{\special{papersize=\the\paperwidth,\the\paperheight}}
+ \fi
\fi
\if@slide\def\n@baseline{13}\else\def\n@baseline{16}\fi
\newdimen\jsc@mpt
@@ -411,8 +415,10 @@
\jsc@smallskipamount=3\jsc@mpt plus 1\jsc@mpt minus 1\jsc@mpt
\setlength\paperwidth{\inv@mag\paperwidth}%
\setlength\paperheight{\inv@mag\paperheight}%
-\setlength\stockwidth{\inv@mag\stockwidth}%
-\setlength\stockheight{\inv@mag\stockheight}%
+\iftombow
+ \setlength\stockwidth{\inv@mag\stockwidth}%
+ \setlength\stockheight{\inv@mag\stockheight}%
+\fi
\ifwinjis
\DeclareFontShape{JY1}{mc}{m}{n}{<-> s * [0.961] winjis}{}
\DeclareFontShape{JY1}{gt}{m}{n}{<-> s * [0.961] winjisg}{}
diff --git a/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls b/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls
index f80b5299011..9ec624ebab9 100644
--- a/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls
+++ b/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{jsbook}
- [2016/12/13 okumura, texjporg]
+ [2017/01/13 okumura, texjporg]
\def\jsc@clsname{jsbook}
\newif\ifjsc@needsp@tch
\jsc@needsp@tchfalse
@@ -249,15 +249,19 @@
\@jsc@uplatexfalse
\fi
\fi
-\newdimen\stockwidth \newdimen\stockheight
-\setlength{\stockwidth}{\paperwidth}
-\setlength{\stockheight}{\paperheight}
\iftombow
+ \newdimen\stockwidth \newdimen\stockheight
+ \setlength{\stockwidth}{\paperwidth}
+ \setlength{\stockheight}{\paperheight}
\advance \stockwidth 2in
\advance \stockheight 2in
\fi
\ifpapersize
- \AtBeginDvi{\special{papersize=\the\stockwidth,\the\stockheight}}
+ \iftombow
+ \AtBeginDvi{\special{papersize=\the\stockwidth,\the\stockheight}}
+ \else
+ \AtBeginDvi{\special{papersize=\the\paperwidth,\the\paperheight}}
+ \fi
\fi
\if@slide\def\n@baseline{13}\else\def\n@baseline{16}\fi
\newdimen\jsc@mpt
@@ -414,8 +418,10 @@
\jsc@smallskipamount=3\jsc@mpt plus 1\jsc@mpt minus 1\jsc@mpt
\setlength\paperwidth{\inv@mag\paperwidth}%
\setlength\paperheight{\inv@mag\paperheight}%
-\setlength\stockwidth{\inv@mag\stockwidth}%
-\setlength\stockheight{\inv@mag\stockheight}%
+\iftombow
+ \setlength\stockwidth{\inv@mag\stockwidth}%
+ \setlength\stockheight{\inv@mag\stockheight}%
+\fi
\ifwinjis
\DeclareFontShape{JY1}{mc}{m}{n}{<-> s * [0.961] winjis}{}
\DeclareFontShape{JY1}{gt}{m}{n}{<-> s * [0.961] winjisg}{}
diff --git a/Master/texmf-dist/tex/platex/jsclasses/jspf.cls b/Master/texmf-dist/tex/platex/jsclasses/jspf.cls
index 20db6726e26..f1d4b98dcbf 100644
--- a/Master/texmf-dist/tex/platex/jsclasses/jspf.cls
+++ b/Master/texmf-dist/tex/platex/jsclasses/jspf.cls
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{jspf}
- [2016/12/13 okumura, texjporg]
+ [2017/01/13 okumura, texjporg]
\def\jsc@clsname{jspf}
\newif\ifjsc@needsp@tch
\jsc@needsp@tchfalse
@@ -242,15 +242,19 @@
\@jsc@uplatexfalse
\fi
\fi
-\newdimen\stockwidth \newdimen\stockheight
-\setlength{\stockwidth}{\paperwidth}
-\setlength{\stockheight}{\paperheight}
\iftombow
+ \newdimen\stockwidth \newdimen\stockheight
+ \setlength{\stockwidth}{\paperwidth}
+ \setlength{\stockheight}{\paperheight}
\advance \stockwidth 2in
\advance \stockheight 2in
\fi
\ifpapersize
- \AtBeginDvi{\special{papersize=\the\stockwidth,\the\stockheight}}
+ \iftombow
+ \AtBeginDvi{\special{papersize=\the\stockwidth,\the\stockheight}}
+ \else
+ \AtBeginDvi{\special{papersize=\the\paperwidth,\the\paperheight}}
+ \fi
\fi
\def\n@baseline{14.554375}
\newdimen\jsc@mpt
@@ -407,8 +411,10 @@
\jsc@smallskipamount=3\jsc@mpt plus 1\jsc@mpt minus 1\jsc@mpt
\setlength\paperwidth{\inv@mag\paperwidth}%
\setlength\paperheight{\inv@mag\paperheight}%
-\setlength\stockwidth{\inv@mag\stockwidth}%
-\setlength\stockheight{\inv@mag\stockheight}%
+\iftombow
+ \setlength\stockwidth{\inv@mag\stockwidth}%
+ \setlength\stockheight{\inv@mag\stockheight}%
+\fi
\ifwinjis
\DeclareFontShape{JY1}{mc}{m}{n}{<-> s * [0.93885] winjis}{}
\DeclareFontShape{JY1}{gt}{m}{n}{<-> s * [0.93885] winjisg}{}
diff --git a/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls b/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls
index c7793d46cab..aabe8fb061f 100644
--- a/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls
+++ b/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{kiyou}
- [2016/12/13 okumura, texjporg]
+ [2017/01/13 okumura, texjporg]
\def\jsc@clsname{kiyou}
\newif\ifjsc@needsp@tch
\jsc@needsp@tchfalse
@@ -242,15 +242,19 @@
\@jsc@uplatexfalse
\fi
\fi
-\newdimen\stockwidth \newdimen\stockheight
-\setlength{\stockwidth}{\paperwidth}
-\setlength{\stockheight}{\paperheight}
\iftombow
+ \newdimen\stockwidth \newdimen\stockheight
+ \setlength{\stockwidth}{\paperwidth}
+ \setlength{\stockheight}{\paperheight}
\advance \stockwidth 2in
\advance \stockheight 2in
\fi
\ifpapersize
- \AtBeginDvi{\special{papersize=\the\stockwidth,\the\stockheight}}
+ \iftombow
+ \AtBeginDvi{\special{papersize=\the\stockwidth,\the\stockheight}}
+ \else
+ \AtBeginDvi{\special{papersize=\the\paperwidth,\the\paperheight}}
+ \fi
\fi
\def\n@baseline{14.897}
\newdimen\jsc@mpt
@@ -418,8 +422,10 @@
\jsc@smallskipamount=3\jsc@mpt plus 1\jsc@mpt minus 1\jsc@mpt
\setlength\paperwidth{\inv@mag\paperwidth}%
\setlength\paperheight{\inv@mag\paperheight}%
-\setlength\stockwidth{\inv@mag\stockwidth}%
-\setlength\stockheight{\inv@mag\stockheight}%
+\iftombow
+ \setlength\stockwidth{\inv@mag\stockwidth}%
+ \setlength\stockheight{\inv@mag\stockheight}%
+\fi
\ifwinjis
\DeclareFontShape{JY1}{mc}{m}{n}{<-> s * [0.961] winjis}{}
\DeclareFontShape{JY1}{gt}{m}{n}{<-> s * [0.961] winjisg}{}