summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-01-27 22:05:09 +0000
committerKarl Berry <karl@freefriends.org>2021-01-27 22:05:09 +0000
commit577429c9ed5ac77c3555aad23b2039c1c100a1d5 (patch)
treed99211a83cf21c1454d222d85f8837b6ad7264bc /Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
parent568c49b6f47c72b1be977a58baf6b922f998a349 (diff)
bxjscls (27jan21)
git-svn-id: svn://tug.org/texlive/trunk@57536 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def')
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def9
1 files changed, 7 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
index 72ec49d667f..496881b830a 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
@@ -21,7 +21,7 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\ProvidesFile{bxjsja-pandoc.def}
- [2020/10/16 v2.4 BXJS document classes]
+ [2021/01/27 v2.4a BXJS document classes]
\input{bxjsja-standard.def}
\RequirePackage{bxjspandoc}
\@onlypreamble\bxjs@endpreamble@hook
@@ -115,6 +115,11 @@
{Main language is invalid, thus the fallback\MessageBreak
definitions will be employed}%
\bxjs@pandoc@polyglossia@ja
+ }{\ifstrequal{##2}{japanese}{%
+ \ClassWarning\bxjs@clsname
+ {Main language is japanese, thus the fallback\MessageBreak
+ definitions will be employed}%
+ \bxjs@pandoc@polyglossia@ja
}{%else
\ClassWarning\bxjs@clsname
{Main language is valid (##2),\MessageBreak
@@ -124,7 +129,7 @@
\noexpand\RequirePackage[\bxjs@polyglossia@options]{polyglossia}[]%
}\bxjs@next
\setmainlanguage[##1]{##2}%
- }}}
+ }}}}
\g@addto@macro\bxjs@endpreamble@hook{%
\ifx\bxjs@polyglossia@options\relax
\csundef{ver@polyglossia.sty}%