summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/bxjscls/README-ja.md5
-rw-r--r--Master/texmf-dist/doc/latex/bxjscls/README.md2
-rw-r--r--Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.pdfbin730076 -> 737201 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.tex72
-rw-r--r--Master/texmf-dist/doc/latex/bxjscls/bxjscls.pdfbin918622 -> 959762 bytes
-rw-r--r--Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx96
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls25
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls25
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty2
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty2
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def2
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def2
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def2
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def12
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls25
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls25
16 files changed, 257 insertions, 40 deletions
diff --git a/Master/texmf-dist/doc/latex/bxjscls/README-ja.md b/Master/texmf-dist/doc/latex/bxjscls/README-ja.md
index 48d28342923..4462c58b550 100644
--- a/Master/texmf-dist/doc/latex/bxjscls/README-ja.md
+++ b/Master/texmf-dist/doc/latex/bxjscls/README-ja.md
@@ -97,6 +97,11 @@ XeLaTeX / LuaLaTeX の上でも日本語処理パッケージと連携して使
更新履歴
--------
+ * Version 1.1e 〈2016/05/28〉
+ - `\subtitle` の定義を遅延させる。
+ * Version 1.1d 〈2016/05/21〉
+ - XeTeX でも「hyperref で `unicode` を既定で有効」にする。
+ - `bigcode`/`nobigcode` オプションを追加。
* Version 1.1c 〈2016/05/01〉
- バグ修正。
* Version 1.1b 〈2016/03/27〉
diff --git a/Master/texmf-dist/doc/latex/bxjscls/README.md b/Master/texmf-dist/doc/latex/bxjscls/README.md
index f24182afe7c..909d7d78834 100644
--- a/Master/texmf-dist/doc/latex/bxjscls/README.md
+++ b/Master/texmf-dist/doc/latex/bxjscls/README.md
@@ -87,6 +87,8 @@ This package is distributed under the BSD 2-Clause License.
Revision History
----------------
+ * Version 1.1e 〈2016/05/28〉
+ * Version 1.1d 〈2016/05/21〉
* Version 1.1c 〈2016/05/01〉
* Version 1.1b 〈2016/03/27〉
* Version 1.1a 〈2016/02/20〉
diff --git a/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.pdf b/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.pdf
index b5cfa715d99..f43fa6420d4 100644
--- a/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.pdf
+++ b/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.tex b/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.tex
index 4ea0de4d5b0..07422474228 100644
--- a/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.tex
+++ b/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.tex
@@ -5,8 +5,8 @@
\usepackage{metalogo}
\usepackage{shortvrb}
\MakeShortVerb{\|}
-\newcommand{\PkgVersion}{1.1c}
-\newcommand{\PkgDate}{2016/05/01}
+\newcommand{\PkgVersion}{1.1e}
+\newcommand{\PkgDate}{2016/05/28}
\newcommand{\Pkg}[1]{\textsf{#1}}
\newcommand{\Meta}[1]{$\langle$\mbox{}#1\mbox{}$\rangle$}
\newcommand{\Note}{\par\noindent ※}
@@ -554,20 +554,6 @@ JSクラスには無くBXJSクラスで追加されたクラスオプション
は既定で有効である。)
\Note papersize specialを出力する他のパッケージとの干渉に
対する対策。
-\item |zw|(既定)\Means
- |\jsZw| と等価な命令として |\zw| を定義する。
-\item |nozw|\Means
- |zw| の否定。
- \Note 命令名の衝突に対する対策。
-\item |js|(既定)\Means
- JSクラス(例えば\Pkg{bxjsreport}の場合は\Pkg{jsbook})
- が読込済であるように振舞う。
- \Note 「JSクラスであるかによって挙動を変える」
- パッケージに対する対策。
-\item |nojs|\Means
- |js| の否定。
- \Note つまり「JSクラスの一種である」と判定されると不都合な場合に
- このオプションを指定する。
\item |ja=|\Meta{名前}\Means
使用する和文ドライバの名前を指定する。
(詳細は\ref{sec:Ja-Driver}節を参照。)
@@ -621,6 +607,60 @@ JSクラスには無くBXJSクラスで追加されたクラスオプション
|a4paper| 等と同じ役割で、任意の値を指定できる。
用紙サイズの既定値はA4縦
($\mbox{210\,mm}\times\mbox{294\,mm}$)である。
+\end{itemize}
+
+以下に挙げるのは上級者向けのオプションである。
+
+\begin{itemize}
+\item |zw|(既定)\Means
+ |\jsZw| と等価な命令として |\zw| を定義する。
+\item |nozw|\Means
+ |zw| の否定。
+ \Note 命令名の衝突に対する対策。
+\item |js|(既定)\Means
+ JSクラス(例えば\Pkg{bxjsreport}の場合は\Pkg{jsbook})
+ が読込済であるように振舞う。
+ \Note 「JSクラスであるかによって挙動を変える」
+ パッケージに対する対策。
+\item |nojs|\Means
+ |js| の否定。
+ \Note つまり「JSクラスの一種である」と判定されると不都合な場合に
+ このオプションを指定する。
+\item |bigcode|\Means
+ {\upTeX}エンジンとdvipdfmxの組合せで\Pkg{hyperref}パッケージを
+ 利用する時に適用されるToUnicode CMapとして |UTF8-UTF16| を指定する。
+ PDFの文書情報の文字列にBMP外の文字が含まれる場合には
+ この指定が必要である。
+ |UTF8-UTF16| のファイルがインストールされていないと、
+ dvipdfmxの処理が失敗する。
+\item |nobigcode|\Means
+ |bigcode| の否定。ToUnicode CMapとして |UTF8-UCS2| を指定する。
+ この場合は文書情報の文字列にBMP外の文字を使用できない。
+ \Note |UTF8-UTF16| のファイルが利用できるかを確実に判定するのは
+ 困難なため、|bigcode| の既定値は次のようなアドホックな方法で
+ 決めている:
+ {\TeX}エンジンのバージョンが3.14159265以上
+ \footnote{{\TeX}のバージョン3.14159265は2014年1月にリリースされた。}
+ である場合は、
+ ({\TeX}環境がある程度新しく、|UTF8-UTF16| が利用可能と思われるので)
+ |bigcode| を既定とし、それ以外は |nobigcode| を既定とする。
+\item |precisetext|\Means
+ {\XeTeX}エンジンにおいて、「ActualText生成機能」を有効化する。
+ \footnote{つまり、|\XeTeXgenerateactualtext=1| を行う。
+ ActualText 生成機能と日本語処理は相性が悪いため、これを使うと
+ 出力PDFのサイズが増大する(1.5~2倍)ことに注意。}
+\item |noprecisetext|(既定)\Means
+ |precisetext|の否定。
+\item |simplejasetup|(既定)\Means
+ {\XeTeX}エンジン自体の行組版機能(|\XeTeXlinebreaklocale| 等)
+ を利用した、簡易的な日本語用組版設定を行う。
+ \Note {\XeTeX}エンジン以外では無効である。
+ また、\Pkg{xeCJK}や\Pkg{zhspacing}等の日本語(CJK)組版用
+ パッケージが読み込まれた場合も無効化される。
+ 特に、和文ドライバがstandardである場合は、必ず\Pkg{xeCJK}が
+ 読み込まれるため、このオプションは無意味である。
+\item |nosimplejasetup|\Means
+ |simplejasetup| の否定。
\item |mag=|\Meta{整数}\Means
版面拡大率(mag値)の直接設定。
既定は |base| から算出する。
diff --git a/Master/texmf-dist/doc/latex/bxjscls/bxjscls.pdf b/Master/texmf-dist/doc/latex/bxjscls/bxjscls.pdf
index ea204651cab..1e5090d642b 100644
--- a/Master/texmf-dist/doc/latex/bxjscls/bxjscls.pdf
+++ b/Master/texmf-dist/doc/latex/bxjscls/bxjscls.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx b/Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx
index f0dd322b5a1..cc5774906d4 100644
--- a/Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx
+++ b/Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx
@@ -62,7 +62,9 @@
%<*driver>
\ProvidesFile{bxjscls.dtx}
%</driver>
- [2016/05/01 v1.1c BXJS document classes]
+ [2016/05/28 v1.1e BXJS document classes]
+% [2016/05/21 v1.1d BXJS document classes]
+% [2016/05/01 v1.1c BXJS document classes]
% [2016/03/27 v1.1b BXJS document classes]
% [2016/02/20 v1.1a BXJS document classes]
% [2016/02/14 v1.1 BXJS document classes]
@@ -1054,6 +1056,35 @@
\bxjs@simplejasetuptrue}
% \end{macrocode}
%
+% \begin{macro}{\ifbxjs@bigcode}
+% {\upTeX}で有効かするToUnicode CMapとして
+% 「|UTF8-UCS2|」の代わりに「|UTF8-UTF16|」を使うか。
+% BMP外の文字に対応できる「|UTF8-UTF16|」の方が望ましいのであるが、
+% このファイルが利用可能かの確実な判定が困難であるため、
+% オプションで指定することとする。
+% \begin{macrocode}
+\newif\ifbxjs@bigcode \bxjs@bigcodefalse
+% \end{macrocode}
+% その上で、「{\TeX}環境がある程度新しければ利用可能であろう」
+% と判断し |bxjs@bigcode| の既定値を真とする。
+% 具体的な判断基準として、
+% 「{\TeX}のバージョンが3.14159265(2014年1月)以上であるか」
+% を採用する。
+% \begin{macrocode}
+\edef\bxjs@tmpa{\expandafter\noexpand\csname\endcsname}
+\def\bxjs@tmpb#1 #2#3\@nil{%
+ \ifx1#2\bxjs@bigcodetrue \fi}
+\expandafter\bxjs@tmpb\meaning\bxjs@tmpa1 0\@nil
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macrocode}
+\DeclareOption{nobigcode}{%
+ \bxjs@bigcodefalse}
+\DeclareOption{bigcode}{%
+ \bxjs@bigcodetrue}
+% \end{macrocode}
+%
% keyval型のオプションの処理。
% \begin{macrocode}
\def\bxjs@setkey{%
@@ -2874,11 +2905,36 @@
% \begin{ZRnote}
% \begin{macro}{\subtitle}
% 副題を設定する。
+% \Note プレアンブルにおいて |\newcommand*{\subtitle}{...}| が
+% 行われることへの対策として、
+% |\subtitle| の定義を |\title| の実行まで遅延させることにする。
+% もしどうしても主題より前に副題を設定したい場合は、
+% |\jsSubtitle| 命令を直接用いればよい。
+%
+% 本体を |\jsSubtitle| として定義する。
% \begin{macrocode}
-\newcommand*{\subtitle}[1]{\gdef\bxjs@subtitle{#1}}
+\newcommand*{\jsSubtitle}[1]{\gdef\bxjs@subtitle{#1}}
%\let\bxjs@subtitle\@undefined
% \end{macrocode}
+%
+% |\title| にフックを入れる。
+% \begin{macrocode}
+\renewcommand*{\title}[1]{\bxjs@decl@subtitle\gdef\@title{#1}}
+\AtBeginDocument{\bxjs@decl@subtitle}
+\def\bxjs@decl@subtitle{%
+ \global\let\bxjs@decl@subtitle\relax
+ \ifx\subtitle\@undefined
+ \global\let\subtitle\jsSubtitle
+ \fi}
+% \end{macrocode}
% \end{macro}
+%
+% \begin{macrocode}
+\def\bxjs@annihilate@subtitle{%
+ \ifx\subtitle\jsSubtitle \global\let\subtitle\relax \fi
+ \global\let\jsSubtitle\relax}
+% \end{macrocode}
+%
% \end{ZRnote}
%
% \begin{macro}{\etitle}
@@ -2989,6 +3045,7 @@
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
+ \bxjs@annihilate@subtitle
}%
\else
\newcommand{\maketitle}{\par
@@ -3023,6 +3080,7 @@
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
+ \bxjs@annihilate@subtitle
}
% \end{macrocode}
% \end{macro}
@@ -6944,7 +7002,12 @@
\else\ifnum\jis"2121="8140 %sjis
\bxjs@urgent@special{pdf:tounicode 90ms-RKSJ-UCS2}
\else\ifnum\jis"2121="3000 %uptex
- \bxjs@urgent@special{pdf:tounicode UTF8-UCS2}
+ \ifbxjs@bigcode
+ \bxjs@urgent@special{pdf:tounicode UTF8-UTF16}
+ \PassOptionsToPackage{bigcode}{pxjahyper}
+ \else
+ \bxjs@urgent@special{pdf:tounicode UTF8-UCS2}
+ \fi
\fi\fi\fi
\let\bxToUnicodeSpecialDone=t
\fi
@@ -7094,12 +7157,27 @@
%
% \paragraph{hyperref対策}
%
-% 昔の |hyperref| では |unicode| を無効にするのが正解だった。
-% ところが、現在では“形式上は” |unicode| を有効にするのが正解で、
-% 無効だと警告が出て強制的に有効化される。
-% 内部動作としては、「通常({\XeTeX}以外)の |unicode| 無効」の時と
-% 同じになるようである。
-% 取りあえず、ここでは |unicode| オプションの設定を行わない。
+% |unicode| オプションの指定に関する話。
+%
+% {\XeTeX}の場合は、xdvipdfmxがUTF-8→UTF-16の変換を行う機能を
+% 持っているため、本来はspecial命令の文字列の文字コード変換は不要である。
+% ところが、|hyperref| での方針としては、{\XeTeX}の場合にも
+% パッケージ側で文字コード変換を行う方が望ましいと考えている。
+% 実際、|unicode| を無効にしていると警告が出て強制的に有効化される。
+% 一方で、過去(r35125まで)^^A2014/09/20
+% のxdvipdfmxでは、文字列をUTF-16に変換した状態で与えるのは不正と
+% 見なしていて警告が発生する。
+%
+% これを踏まえて、ここでは、
+% 「{\XeTeX}のバージョンが0.99992以上の場合に |unicode| を既定で
+% 有効にする」
+% ことにする。
+% \Note 取りあえず固定はしない。
+% \begin{macrocode}
+\ifnum\strcmp{\the\XeTeXversion\XeTeXrevision}{0.99992}>\m@ne
+ \PassOptionsToPackage{unicode}{hyperref}
+\fi
+% \end{macrocode}
%
% \paragraph{段落頭でのグルー挿入禁止}
%
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls
index 6a592e42ed4..5c56383c0ec 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls
@@ -37,7 +37,7 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{bxjsarticle}
- [2016/05/01 v1.1c BXJS document classes]
+ [2016/05/28 v1.1e BXJS document classes]
%% このファイルは日本語文字を含みます
\RequirePackage{calc}
\RequirePackage{keyval}
@@ -333,6 +333,15 @@
\bxjs@simplejasetupfalse}
\DeclareOption{simplejasetup}{%
\bxjs@simplejasetuptrue}
+\newif\ifbxjs@bigcode \bxjs@bigcodefalse
+\edef\bxjs@tmpa{\expandafter\noexpand\csname\endcsname}
+\def\bxjs@tmpb#1 #2#3\@nil{%
+ \ifx1#2\bxjs@bigcodetrue \fi}
+\expandafter\bxjs@tmpb\meaning\bxjs@tmpa1 0\@nil
+\DeclareOption{nobigcode}{%
+ \bxjs@bigcodefalse}
+\DeclareOption{bigcode}{%
+ \bxjs@bigcodetrue}
\def\bxjs@setkey{%
\expandafter\bxjs@setkey@a\expandafter{\CurrentOption}}
\def\bxjs@setkey@a{\bxjs@safe@setkeys{bxjs}}
@@ -911,7 +920,17 @@
\let\sectionmark\@gobble
\let\subsectionmark\@gobble
}
-\newcommand*{\subtitle}[1]{\gdef\bxjs@subtitle{#1}}
+\newcommand*{\jsSubtitle}[1]{\gdef\bxjs@subtitle{#1}}
+\renewcommand*{\title}[1]{\bxjs@decl@subtitle\gdef\@title{#1}}
+\AtBeginDocument{\bxjs@decl@subtitle}
+\def\bxjs@decl@subtitle{%
+ \global\let\bxjs@decl@subtitle\relax
+ \ifx\subtitle\@undefined
+ \global\let\subtitle\jsSubtitle
+ \fi}
+\def\bxjs@annihilate@subtitle{%
+ \ifx\subtitle\jsSubtitle \global\let\subtitle\relax \fi
+ \global\let\jsSubtitle\relax}
\def\plainifnotempty{%
\ifx \@oddhead \@empty
\ifx \@oddfoot \@empty
@@ -977,6 +996,7 @@
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
+ \bxjs@annihilate@subtitle
}%
\else
\newcommand{\maketitle}{\par
@@ -1011,6 +1031,7 @@
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
+ \bxjs@annihilate@subtitle
}
\def\@maketitle{%
\newpage\null
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls
index 9f8d2cd91d4..60b2e4064c3 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls
@@ -37,7 +37,7 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{bxjsbook}
- [2016/05/01 v1.1c BXJS document classes]
+ [2016/05/28 v1.1e BXJS document classes]
%% このファイルは日本語文字を含みます
\RequirePackage{calc}
\RequirePackage{keyval}
@@ -337,6 +337,15 @@
\bxjs@simplejasetupfalse}
\DeclareOption{simplejasetup}{%
\bxjs@simplejasetuptrue}
+\newif\ifbxjs@bigcode \bxjs@bigcodefalse
+\edef\bxjs@tmpa{\expandafter\noexpand\csname\endcsname}
+\def\bxjs@tmpb#1 #2#3\@nil{%
+ \ifx1#2\bxjs@bigcodetrue \fi}
+\expandafter\bxjs@tmpb\meaning\bxjs@tmpa1 0\@nil
+\DeclareOption{nobigcode}{%
+ \bxjs@bigcodefalse}
+\DeclareOption{bigcode}{%
+ \bxjs@bigcodetrue}
\def\bxjs@setkey{%
\expandafter\bxjs@setkey@a\expandafter{\CurrentOption}}
\def\bxjs@setkey@a{\bxjs@safe@setkeys{bxjs}}
@@ -914,7 +923,17 @@
\let\chaptermark\@gobble
\let\sectionmark\@gobble
}
-\newcommand*{\subtitle}[1]{\gdef\bxjs@subtitle{#1}}
+\newcommand*{\jsSubtitle}[1]{\gdef\bxjs@subtitle{#1}}
+\renewcommand*{\title}[1]{\bxjs@decl@subtitle\gdef\@title{#1}}
+\AtBeginDocument{\bxjs@decl@subtitle}
+\def\bxjs@decl@subtitle{%
+ \global\let\bxjs@decl@subtitle\relax
+ \ifx\subtitle\@undefined
+ \global\let\subtitle\jsSubtitle
+ \fi}
+\def\bxjs@annihilate@subtitle{%
+ \ifx\subtitle\jsSubtitle \global\let\subtitle\relax \fi
+ \global\let\jsSubtitle\relax}
\def\plainifnotempty{%
\ifx \@oddhead \@empty
\ifx \@oddfoot \@empty
@@ -980,6 +999,7 @@
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
+ \bxjs@annihilate@subtitle
}%
\else
\newcommand{\maketitle}{\par
@@ -1014,6 +1034,7 @@
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
+ \bxjs@annihilate@subtitle
}
\def\@maketitle{%
\newpage\null
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty b/Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty
index 98650e0d12e..403608ee8ee 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty
@@ -36,7 +36,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\ProvidesPackage{bxjscjkcat}
- [2016/05/01 v1.1c BXJS document classes]
+ [2016/05/28 v1.1e BXJS document classes]
\def\bxjx@pkgname{bxjscjkcat}
\newcount\bxjx@cnta
\let\bxjx@engine=n
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty b/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty
index 84447709b31..f6203d5f4e6 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty
@@ -36,7 +36,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\ProvidesPackage{bxjscompat}
- [2016/05/01 v1.1c BXJS document classes]
+ [2016/05/28 v1.1e BXJS document classes]
\def\bxac@pkgname{bxjscompat}
\let\bxac@engine=n
\def\bxac@do#1#2{%
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def
index 90fec99dd96..4a925d1c281 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def
@@ -36,7 +36,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\ProvidesFile{bxjsja-minimal.def}
- [2016/05/01 v1.1c BXJS document classes]
+ [2016/05/28 v1.1e BXJS document classes]
%% このファイルは日本語文字を含みます
\def\DeclareJaTextFontCommand#1#2{%
\DeclareRobustCommand#1[1]{%
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def
index 71e853022ce..0a495baf6d5 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def
@@ -36,7 +36,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\ProvidesFile{bxjsja-modern.def}
- [2016/05/01 v1.1c BXJS document classes]
+ [2016/05/28 v1.1e BXJS document classes]
\input{bxjsja-standard.def}
\ifnum0\if x\jsEngine1\fi\if l\jsEngine1\fi=\z@
\def\encodingdefault{T1}%
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
index b935ca249e4..a9d641e5dbb 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
@@ -36,7 +36,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\ProvidesFile{bxjsja-pandoc.def}
- [2016/05/01 v1.1c BXJS document classes]
+ [2016/05/28 v1.1e BXJS document classes]
\input{bxjsja-standard.def}
\@onlypreamble\bxjs@set@dupload@proc
\def\bxjs@set@dupload@proc#1{%
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def
index 2cd4975fe53..3dd5e2baf04 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def
@@ -36,7 +36,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\ProvidesFile{bxjsja-standard.def}
- [2016/05/01 v1.1c BXJS document classes]
+ [2016/05/28 v1.1e BXJS document classes]
%% このファイルは日本語文字を含みます
\input{bxjsja-minimal.def}
\bxjs@simplejasetupfalse
@@ -275,7 +275,12 @@
\else\ifnum\jis"2121="8140 %sjis
\bxjs@urgent@special{pdf:tounicode 90ms-RKSJ-UCS2}
\else\ifnum\jis"2121="3000 %uptex
- \bxjs@urgent@special{pdf:tounicode UTF8-UCS2}
+ \ifbxjs@bigcode
+ \bxjs@urgent@special{pdf:tounicode UTF8-UTF16}
+ \PassOptionsToPackage{bigcode}{pxjahyper}
+ \else
+ \bxjs@urgent@special{pdf:tounicode UTF8-UCS2}
+ \fi
\fi\fi\fi
\let\bxToUnicodeSpecialDone=t
\fi
@@ -351,6 +356,9 @@
{zxjafont}[2013/01/28]}% v0.2a
\bxjs@nxt
\fi
+\ifnum\strcmp{\the\XeTeXversion\XeTeXrevision}{0.99992}>\m@ne
+ \PassOptionsToPackage{unicode}{hyperref}
+\fi
\let\jsInhibitGlueAtParTop\@inhibitglue
\newskip\jsKanjiSkip
\newskip\jsXKanjiSkip
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls
index ac66b7427a9..cc93f0e2fb8 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls
@@ -37,7 +37,7 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{bxjsreport}
- [2016/05/01 v1.1c BXJS document classes]
+ [2016/05/28 v1.1e BXJS document classes]
%% このファイルは日本語文字を含みます
\RequirePackage{calc}
\RequirePackage{keyval}
@@ -337,6 +337,15 @@
\bxjs@simplejasetupfalse}
\DeclareOption{simplejasetup}{%
\bxjs@simplejasetuptrue}
+\newif\ifbxjs@bigcode \bxjs@bigcodefalse
+\edef\bxjs@tmpa{\expandafter\noexpand\csname\endcsname}
+\def\bxjs@tmpb#1 #2#3\@nil{%
+ \ifx1#2\bxjs@bigcodetrue \fi}
+\expandafter\bxjs@tmpb\meaning\bxjs@tmpa1 0\@nil
+\DeclareOption{nobigcode}{%
+ \bxjs@bigcodefalse}
+\DeclareOption{bigcode}{%
+ \bxjs@bigcodetrue}
\def\bxjs@setkey{%
\expandafter\bxjs@setkey@a\expandafter{\CurrentOption}}
\def\bxjs@setkey@a{\bxjs@safe@setkeys{bxjs}}
@@ -910,7 +919,17 @@
\let\chaptermark\@gobble
\let\sectionmark\@gobble
}
-\newcommand*{\subtitle}[1]{\gdef\bxjs@subtitle{#1}}
+\newcommand*{\jsSubtitle}[1]{\gdef\bxjs@subtitle{#1}}
+\renewcommand*{\title}[1]{\bxjs@decl@subtitle\gdef\@title{#1}}
+\AtBeginDocument{\bxjs@decl@subtitle}
+\def\bxjs@decl@subtitle{%
+ \global\let\bxjs@decl@subtitle\relax
+ \ifx\subtitle\@undefined
+ \global\let\subtitle\jsSubtitle
+ \fi}
+\def\bxjs@annihilate@subtitle{%
+ \ifx\subtitle\jsSubtitle \global\let\subtitle\relax \fi
+ \global\let\jsSubtitle\relax}
\def\plainifnotempty{%
\ifx \@oddhead \@empty
\ifx \@oddfoot \@empty
@@ -976,6 +995,7 @@
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
+ \bxjs@annihilate@subtitle
}%
\else
\newcommand{\maketitle}{\par
@@ -1010,6 +1030,7 @@
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
+ \bxjs@annihilate@subtitle
}
\def\@maketitle{%
\newpage\null
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls
index 35a8c805dc4..3ac22811c68 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls
@@ -37,7 +37,7 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{bxjsslide}
- [2016/05/01 v1.1c BXJS document classes]
+ [2016/05/28 v1.1e BXJS document classes]
%% このファイルは日本語文字を含みます
\RequirePackage{calc}
\RequirePackage{keyval}
@@ -333,6 +333,15 @@
\bxjs@simplejasetupfalse}
\DeclareOption{simplejasetup}{%
\bxjs@simplejasetuptrue}
+\newif\ifbxjs@bigcode \bxjs@bigcodefalse
+\edef\bxjs@tmpa{\expandafter\noexpand\csname\endcsname}
+\def\bxjs@tmpb#1 #2#3\@nil{%
+ \ifx1#2\bxjs@bigcodetrue \fi}
+\expandafter\bxjs@tmpb\meaning\bxjs@tmpa1 0\@nil
+\DeclareOption{nobigcode}{%
+ \bxjs@bigcodefalse}
+\DeclareOption{bigcode}{%
+ \bxjs@bigcodetrue}
\def\bxjs@setkey{%
\expandafter\bxjs@setkey@a\expandafter{\CurrentOption}}
\def\bxjs@setkey@a{\bxjs@safe@setkeys{bxjs}}
@@ -909,7 +918,17 @@
\let\sectionmark\@gobble
\let\subsectionmark\@gobble
}
-\newcommand*{\subtitle}[1]{\gdef\bxjs@subtitle{#1}}
+\newcommand*{\jsSubtitle}[1]{\gdef\bxjs@subtitle{#1}}
+\renewcommand*{\title}[1]{\bxjs@decl@subtitle\gdef\@title{#1}}
+\AtBeginDocument{\bxjs@decl@subtitle}
+\def\bxjs@decl@subtitle{%
+ \global\let\bxjs@decl@subtitle\relax
+ \ifx\subtitle\@undefined
+ \global\let\subtitle\jsSubtitle
+ \fi}
+\def\bxjs@annihilate@subtitle{%
+ \ifx\subtitle\jsSubtitle \global\let\subtitle\relax \fi
+ \global\let\jsSubtitle\relax}
\def\plainifnotempty{%
\ifx \@oddhead \@empty
\ifx \@oddfoot \@empty
@@ -975,6 +994,7 @@
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
+ \bxjs@annihilate@subtitle
}%
\else
\newcommand{\maketitle}{\par
@@ -1009,6 +1029,7 @@
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
+ \bxjs@annihilate@subtitle
}
\def\@maketitle{%
\newpage\null