summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/bxjscls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-11-26 21:35:40 +0000
committerKarl Berry <karl@freefriends.org>2019-11-26 21:35:40 +0000
commitfa6c59acaa9a39e94ad46785611fd55dde8bb6e5 (patch)
treef93f38abc7f669d22a1dfb888303c11104f98a73 /Master/texmf-dist/source/latex/bxjscls
parentbd9102da8503018a87d1cce5d32c736f3b518071 (diff)
bxjscls (26nov19)
git-svn-id: svn://tug.org/texlive/trunk@52927 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/bxjscls')
-rw-r--r--Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx26
1 files changed, 17 insertions, 9 deletions
diff --git a/Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx b/Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx
index c46d0fd9b79..d5f56464857 100644
--- a/Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx
+++ b/Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx
@@ -56,7 +56,8 @@
%<*driver>
\ProvidesFile{bxjscls.dtx}
%</driver>
- [2019/07/27 v1.9h BXJS document classes]
+ [2019/11/24 v1.9i BXJS document classes]
+% [2019/07/27 v1.9h BXJS document classes]
% based on jsclasses [2019/07/25]
% [2019/06/23 v1.9g BXJS document classes]
% [2019/03/10 v1.9f BXJS document classes]
@@ -10404,7 +10405,7 @@
\ClassWarning\bxjs@clsname
{Main language is invalid, thus the fallback\MessageBreak
definitions will be employed}%
- \bxjs@pandoc@lang@ja
+ \bxjs@pandoc@polyglossia@ja
% \end{macrocode}
% 言語名が非空ならば、本来の |polyglossia| の処理を実行する。
% \begin{macrocode}
@@ -10430,13 +10431,13 @@
\fi}
% \end{macrocode}
%
-% \begin{macro}{\bxjs@pandoc@lang@ja}
+% \begin{macro}{\bxjs@pandoc@polyglossia@ja}
% Pandoc側で |lang=ja| が指定されていた場合の処理。
% この場合はPolyglossiaの処理を無効化するためにダミーの定義を行う。
% その時点でダミーの |\setotherlanguage(s)| を定義する。
% \begin{macrocode}
-\@onlypreamble\bxjs@pandoc@lang@ja
-\def\bxjs@pandoc@lang@ja{%
+\@onlypreamble\bxjs@pandoc@polyglossia@ja
+\def\bxjs@pandoc@polyglossia@ja{%
\renewcommand*\setmainlanguage[2][]{}%
\newcommand*\setotherlanguage[2][]{%
\ifblank{##2}{}{%else
@@ -10488,7 +10489,7 @@
\ClassWarning\bxjs@clsname
{Main language is invalid, so fallback\MessageBreak
definitions will be employed}%
- \bxjs@pandoc@lang@ja
+ \bxjs@pandoc@polyglossia@ja
% \end{macrocode}
% ない場合は、本来の |babel| の処理を実行する。
% \begin{macrocode}
@@ -10510,11 +10511,11 @@
\fi}
% \end{macrocode}
%
-% \begin{macro}{\bxjs@pandoc@lang@ja}
+% \begin{macro}{\bxjs@pandoc@babel@ja}
% Pandoc側で |lang=ja| が指定されていた場合の処理。
% \begin{macrocode}
-\@onlypreamble\bxjs@pandoc@lang@ja
-\def\bxjs@pandoc@lang@ja{%
+\@onlypreamble\bxjs@pandoc@babel@ja
+\def\bxjs@pandoc@babel@ja{%
\expandafter\let\csname ver@babel.sty\endcsname\@undefined
\edef\bxjs@next{%
\noexpand\RequirePackage[\bxjs@babel@options,english]{babel}[]%
@@ -10552,6 +10553,13 @@
\providecommand*{\setCJKmainfont}{\setmainjfont}
\fi
% \end{macrocode}
+% ムニャムニャムニャ。
+% \begin{macrocode}
+\if x\jsEngine
+ \expandafter\g@addto@macro\csname opt@xeCJK.sty\endcsname{%
+ ,space}
+\fi
+% \end{macrocode}
%
%^^A----------------
%\subsection{paragraphのマーク}