blob: c389cf8d50a24a2e1da3dc726f95816c3d06fc69 (
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
|
%
% luatexja.sty
%
%! 外から読まれるので多少仰々しくなってます
%% Avoid multiple loading.
\csname\if11luatexjaLoaded\fi\endcsname
\edef\x{%
\catcode32=\the\catcode32%
\catcode45=\the\catcode45%
\catcode46=\the\catcode46%
\catcode64=\the\catcode64%
\catcode91=\the\catcode91%
\catcode93=\the\catcode93%
\endlinechar=\the\endlinechar
\relax}
\catcode32=10 %< >
\catcode45=12 %<->
\catcode46=12 %<.>
\catcode64=11 %<@>
\catcode91=12 %<[>
\catcode93=12 %<]>
\endlinechar=13 %
%! あまり恩恵がないので \endlinechar=-1 はなし
\edef\ltj@AtEnd{\x
\noexpand\let\noexpand\ltj@AtEnd\relax}
\def\luatexjaLoaded{\endinput}
\newif\ifltj@disablejfam
%% Check if LaTeX is used.
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname RequirePackage\endcsname\relax %<*!LaTeX>
\expandafter\let\csname ifltj@in@latex\expandafter\endcsname
\csname iffalse\endcsname
\else %<*LaTeX>
\expandafter\let\csname ifltj@in@latex\expandafter\endcsname
\csname iftrue\endcsname
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{luatexja}[2021-02-14 Japanese Typesetting with Lua(La)TeX]
\DeclareOption{disablejfam}{\ltj@disablejfamtrue}
\DeclareOption*{}
\ProcessOptions\relax
\fi %</LaTeX>
%%%% VERSION
\def\LuaTeXjaversion{20210214.0}
\directlua{require('ltj-unicode-ccfix.lua')}% catcode of ideographs
%% Load all sub-packages.
\ifltj@in@latex %<*LaTeX>
%% \RequirePackage{expl3} needed if the version of l3kernel is v6111
\RequirePackage{luatexja-core,luatexja-compat}
\else %<*!LaTeX>
\input luatexja-core.sty %
\input luatexja-compat.sty %
\fi %</LaTeX>
\directlua{luatexja.base.start_time_measure('RUN')}
%% all done
\ltj@AtEnd
\endinput
%% EOF
|