diff options
author | Norbert Preining <preining@logic.at> | 2012-04-24 00:13:14 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2012-04-24 00:13:14 +0000 |
commit | 8f29bdce0bdd08ec81df555e98692d1f288c3289 (patch) | |
tree | c4f9a6b00a587f635e55fc4068c1961780c90591 /Master/texmf-dist/tex/luatex/luatexja/luatexja.sty | |
parent | 74e624196144ae218a63a4c35672fc7a0e7b18dc (diff) |
new package luatexja (24apr)
adapt ctan2tds to deal with it
git-svn-id: svn://tug.org/texlive/trunk@26115 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/luatexja.sty')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luatexja/luatexja.sty | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty b/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty new file mode 100644 index 00000000000..1ff2a5bf1db --- /dev/null +++ b/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty @@ -0,0 +1,53 @@ +% +% 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} + +%% 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}[2011/04/01 v0.1] +\fi %</LaTeX> + +%% Load all sub-packages. +\ifltj@in@latex %<*LaTeX> + \RequirePackage{luatexja-core}[2011/04/01] + \RequirePackage{luatexja-compat}[2011/04/01] +\else %<*!LaTeX> + \input luatexja-core.sty % + \input luatexja-compat.sty % +\fi %</LaTeX> + +%% all done +\ltj@AtEnd +\endinput +%% EOF |