blob: 9f0a9a458368455d3910957115d965e44bf7663e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
%%
%% This is file `bxjspandoc.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% bxjscls.dtx (with options: `anc,ancpandoc')
%%
%% IMPORTANT NOTICE:
%%
%% For the copyright see the source file.
%%
%% Any modified versions of this file must be renamed
%% with new filenames distinct from bxjspandoc.sty.
%%
%% For distribution of the original source see the terms
%% for copying and modification in the file bxjscls.dtx.
%%
%% This generated file may be distributed as long as the
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bxjspandoc}
[2022/04/10 v2.7a BXJS document classes]
%% このファイルは日本語文字を含みます.
\def\bxjsp@pkgname{bxjscjkcat}
\let\bxjsp@engine=n
\@onlypreamble\bxjsp@do
\def\bxjsp@do#1#2{%
\edef\bxjsp@tmpa{\string#1}%
\edef\bxjsp@tmpb{\meaning#1}%
\ifx\bxjsp@tmpa\bxjsp@tmpb #2\fi}
\bxjsp@do\kanjiskip{\let\bxjsp@engine=j}
\bxjsp@do\XeTeXversion{\let\bxjsp@engine=x}
\bxjsp@do\pdftexversion{\let\bxjsp@engine=p}
\bxjsp@do\luatexversion{\let\bxjsp@engine=l}
\@onlypreamble\bxjsp@begin@document@hook
\let\bxjsp@begin@document@hook\@empty
\AtBeginDocument{\bxjsp@begin@document@hook}
\newif\ifbxjsp@babel@used
\g@addto@macro\bxjsp@begin@document@hook{%
\@ifpackageloaded{babel}{\bxjsp@babel@usedtrue}{}}
\newif\ifbxjsp@english
\DeclareOption{english}{\bxjsp@englishtrue}
\ProcessOptions*
\@onlypreamble\pandocSkipLoadFile
\newcommand*\pandocSkipLoadFile[1]{%
\expandafter\bxjsp@skip@load@file@a\csname ver@#1\endcsname{#1}}
\def\bxjsp@skip@load@file@a#1#2{%
\ifx#1\relax
\def#1{2001/01/01}%
\PackageInfo\bxjsp@pkgname
{File '#2' marked as loaded\@gobble}%
\fi}
\@onlypreamble\pandocSkipLoadPackage
\newcommand*\pandocSkipLoadPackage[1]{%
\pandocSkipLoadFile{#1.sty}}
\ifx\@IncludeInRelease\@undefined\else
\pandocSkipLoadPackage{fixltx2e}
\fi
\if j\bxjsp@engine
\pandocSkipLoadPackage{cmap}
\fi
\if j\bxjsp@engine \else
\PassOptionsToPackage{verbose=silent}{microtype}
\fi
\if j\bxjsp@engine
\pandocSkipLoadPackage{microtype}
\newcommand*\UseMicrotypeSet[2][]{}
\fi
\DeclareRobustCommand{\pandocLdots}{%
\let\bxjsp@do\bxjsp@ja@ellipsis
\ifmmode \let\bxjsp@do\bxjsp@org@ldots
\else\ifbxjsp@babel@used
\expandafter\ifx\csname bxjsp@ld/\languagename\endcsname\relax
\let\bxjsp@do\bxjsp@org@ldots \fi
\fi\fi \bxjsp@do}
\@namedef{bxjsp@ld/japanese}{1}
\def\bxjsp@ja@ellipsis{…}
\let\bxjsp@org@ldots\ldots
\g@addto@macro\bxjsp@begin@document@hook{%
\let\bxjsp@org@ldots\ldots
\long\def\bxjsp@tmpa{\ldots}%
\ifx\pandocLdots\bxjsp@tmpa\else
\ifnum0\ifbxjsp@english\ifbxjsp@babel@used\else1\fi\fi=0
\let\ldots\pandocLdots
\fi
\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\bxjsp@engine1\fi\if l\bxjsp@engine1\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
{PandoLa module is loaded\@gobble}
}{}
\endinput
%%
%% End of file `bxjspandoc.sty'.
|