% % ltj-compat-ptex.sty % %! これは外から読まれない %% Avoid multiple loading. \csname luatexjacompatptexLoaded\endcsname \edef\ltj@compat@ptex@AtEnd{% \catcode64=\the\catcode64% \endlinechar=\the\endlinechar \relax} \catcode64=11 %<@> \endlinechar=-1 % \def\luatexjacompatptexLoaded{\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{ltj-compat-ptex}[2013/05/14] \fi % %% Load prerequisite packages. \endlinechar=13 % \ifltj@in@latex %<*LaTeX> \RequirePackage{infwarerr} [2010/04/08] % v1.3 \RequirePackage{ltxcmds} [2011/11/09] % v1.22 \RequirePackage{xkeyval} [2012/10/14] % v2.6b \else %<*!LaTeX> \input infwarerr.sty \input ltxcmds.sty \input xkeyval \fi % \endlinechar=-1 % \ifx\luatexjacompatLoaded\@undefined \@PackageError{luatexja} {This file must be loaded through 'luatexja-compat'} {\InfWarErr@ehc} \fi %%------------------ \endlinechar=13 %! ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ \def\getprebreakpenalty#1{\prebreakpenalty#1 } \def\getpostbreakpenalty#1{\postbreakpenalty#1 } \def\setprebreakpenalty#1#2{\prebreakpenalty#1=#2 } \def\setpostbreakpenalty#1#2{\postbreakpenalty#1=#2 } \def\getinhibitxspcode#1{\inhibitxspcode#1 } \def\setinhibitxspcode#1#2{\inhibitxspcode#1=#2 } \def\getxspcode#1{\xspcode#1 } \def\setxspcode#1#2{\xspcode#1=#2 } %\endinput %! ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑ %%------------------ all done \ltj@compat@ptex@AtEnd \endinput %% EOF