summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-10-03 22:43:40 +0000
committerKarl Berry <karl@freefriends.org>2018-10-03 22:43:40 +0000
commit55845302274b6cfc093524d6b32db3b1747626c5 (patch)
tree59475b9b3a6a7c6695513ddb7846f3524eccabae /Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty
parent6a571d522b6eef2ec3644ce4a87d392c6685be32 (diff)
bxjscls (3oct18)
git-svn-id: svn://tug.org/texlive/trunk@48823 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty')
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty9
1 files changed, 6 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty b/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty
index 780593de978..d6bc773426b 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty
@@ -21,7 +21,7 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\ProvidesPackage{bxjspandoc}
- [2018/09/04 v1.9c BXJS document classes]
+ [2018/10/03 v1.9d BXJS document classes]
%% このファイルは日本語文字を含みます.
\def\bxjsp@pkgname{bxjscjkcat}
\let\bxjsp@engine=n
@@ -34,6 +34,9 @@
\bxjsp@do\XeTeXversion{\let\bxjsp@engine=x}
\bxjsp@do\pdftexversion{\let\bxjsp@engine=p}
\bxjsp@do\luatexversion{\let\bxjsp@engine=l}
+\newif\ifbxjsp@english
+\DeclareOption{english}{\bxjsp@englishtrue}
+\ProcessOptions*
\@onlypreamble\pandocSkipLoadFile
\newcommand*\pandocSkipLoadFile[1]{%
\expandafter\bxjsp@skip@load@file@a\csname ver@#1\endcsname{#1}}
@@ -83,9 +86,9 @@
\bxjsp@ja@ellipsis \let\bxjsp@tok=}
\def\bxjsp@ldots@g{%
\expandafter\bxjsp@org@ldots\expandafter{\romannumeral-`} }
-\g@addto@macro\bxjs@begin@document@hook{%
+\AtBeginDocument{%
\let\bxjsp@org@ldots\ldots
- \let\ldots\pandocLdots}
+ \ifbxjsp@english\else \let\ldots\pandocLdots \fi}
\IfFileExists{bxpandola.sty}{%
\RequirePackage{bxpandola}\relax
\PackageInfo\bxjsp@pkgname