summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-03-10 21:00:33 +0000
committerKarl Berry <karl@freefriends.org>2019-03-10 21:00:33 +0000
commita690b4a6532aa6444e8e98ff831569378cad7599 (patch)
treee1705817a47163ecc318c9f35657ad6918f72129 /Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty
parenta72845cd2b20bb3de0abf721035298d0779a7ecd (diff)
bxjscls (10mar19)
git-svn-id: svn://tug.org/texlive/trunk@50318 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.sty36
1 files changed, 16 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty b/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty
index 194194b4315..74433f6354f 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}
- [2019/01/13 v1.9e BXJS document classes]
+ [2019/03/10 v1.9f BXJS document classes]
%% このファイルは日本語文字を含みます.
\def\bxjsp@pkgname{bxjscjkcat}
\let\bxjsp@engine=n
@@ -64,31 +64,27 @@
\fi
\DeclareRobustCommand{\pandocLdots}{%
\relax\ifmmode \expandafter\bxjsp@org@ldots
- \else \expandafter\bxjsp@ldots@a
+ \else \expandafter\bxjsp@ja@ellipsis
\fi}
\def\bxjsp@ja@ellipsis{…}
\let\bxjsp@org@ldots\ldots
-\def\bxjsp@ldots@a{%
- \futurelet\bxjsp@tok\bxjsp@ldots@b}
-\def\bxjsp@ldots@b{%
- \ifx\bxjsp@tok\bgroup \expandafter\bxjsp@ldots@c
- \else \expandafter\bxjsp@org@ldots
- \fi}
-\def\bxjsp@ldots@c{%
- \afterassignment\bxjsp@ldots@d \let\bxjsp@tok=}
-\def\bxjsp@ldots@d{%
- \futurelet\bxjsp@tok\bxjsp@ldots@e}
-\def\bxjsp@ldots@e{%
- \ifx\bxjsp@tok\egroup \expandafter\bxjsp@ldots@f
- \else \expandafter\bxjsp@ldots@g
- \fi}
-\def\bxjsp@ldots@f{%
- \bxjsp@ja@ellipsis \let\bxjsp@tok=}
-\def\bxjsp@ldots@g{%
- \expandafter\bxjsp@org@ldots\expandafter{\romannumeral-`} }
\AtBeginDocument{%
\let\bxjsp@org@ldots\ldots
\ifbxjsp@english\else \let\ldots\pandocLdots \fi}
+\chardef\bxjsp@cc@other=12
+\@onlypreamble\bxjsp@makeother@range
+\def\bxjsp@makeother@range#1#2{%
+ \@tempcnta"#1\relax \@tempcntb"#2\relax
+ \loop\ifnum\@tempcnta<\@tempcntb
+ \catcode\@tempcnta\bxjsp@cc@other
+ \advance\@tempcnta\@ne
+ \repeat}
+\ifnum0\if x\jsEngine1\fi\if l\jsEngine1\fi>0
+ \catcode"1F23B=\bxjsp@cc@other
+ \bxjsp@makeother@range{9FCD}{A000}
+ \bxjsp@makeother@range{1B002}{1B170}
+ \bxjsp@makeother@range{2B820}{2EBF0}
+\fi
\IfFileExists{bxpandola.sty}{%
\RequirePackage{bxpandola}\relax
\PackageInfo\bxjsp@pkgname