summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty
blob: 721f638a99058e7b1f0f3e726a951dca272501dd (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
%%
%% 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.)
\ProvidesPackage{bxjspandoc}
  [2019/07/27 v1.9h 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}
\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}{%
  \relax\ifmmode \expandafter\bxjsp@org@ldots
  \else \expandafter\bxjsp@ja@ellipsis
  \fi}
\def\bxjsp@ja@ellipsis{…}
\let\bxjsp@org@ldots\ldots
\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\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'.