diff options
author | Karl Berry <karl@freefriends.org> | 2021-08-07 20:19:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-08-07 20:19:57 +0000 |
commit | dbe054ce559db66b69666b6b22e103c71a5da521 (patch) | |
tree | e235fd18fbbdb6e0cd8380eebfe882c9ac9f35b7 /Master/texmf-dist/tex/latex/projlib | |
parent | 734514797d418f2739c6ad97baae09535f2fe43f (diff) |
projlib (7aug21)
git-svn-id: svn://tug.org/texlive/trunk@60184 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/projlib')
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/PJLauthor.sty | 18 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/PJLdate.sty | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/PJLdraft.sty | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/PJLlang.sty | 39 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/PJLlogo.sty | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/PJLmath.sty | 10 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/PJLpaper.sty | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/PJLthm.sty | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/ProjLib.sty | 2 |
9 files changed, 43 insertions, 40 deletions
diff --git a/Master/texmf-dist/tex/latex/projlib/PJLauthor.sty b/Master/texmf-dist/tex/latex/projlib/PJLauthor.sty index fa8e6069671..1ed2f275082 100644 --- a/Master/texmf-dist/tex/latex/projlib/PJLauthor.sty +++ b/Master/texmf-dist/tex/latex/projlib/PJLauthor.sty @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesPackage{PJLauthor} - [2021/07/30 Enhanced author information block] + [2021/08/07 Enhanced author information block] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \ifdefined\subjclass\endinput\fi @@ -97,7 +97,7 @@ }{}{\FAIL}% }{}{\FAIL} -\if@PJLauthor@amsfashion +\ifbool{@PJLauthor@amsfashion}{ \RequirePackage{PJLlang} \RequirePackage{calc} @@ -148,8 +148,8 @@ \let\abstract@PJLoriginal\abstract% \let\endabstract@PJLoriginal\endabstract% -\newif\if@PJLamssim@maketitle\@PJLamssim@maketitlefalse -\newif\if@PJLamssim@absbefore\@PJLamssim@absbeforefalse +\newif\if@PJLauthor@maketitle\@PJLauthor@maketitlefalse +\newif\if@PJLauthor@absbefore\@PJLauthor@absbeforefalse \RequirePackage{fancyvrb} \providecommand*\protected@iwrite[3]{% \begingroup @@ -168,7 +168,7 @@ \VerbatimOut{\jobname.pjlabs}% }{ \endVerbatimOut% - \if@PJLamssim@maketitle% + \if@PJLauthor@maketitle% \begin{abstract@PJLoriginal}% \input{\jobname.pjlabs}% \end{abstract@PJLoriginal}% @@ -176,7 +176,7 @@ % \par\smallskip\noindent{\conditionalbfseries\csname keywordsname\csname\languagename ABBR\endcsname\endcsname.}~\PJL@keywords% % \fi% \else% - \global\@PJLamssim@absbeforetrue% + \global\@PJLauthor@absbeforetrue% \fi% } @@ -201,7 +201,7 @@ ~\PJL@keywords}% \fi}{}{\FAIL} \apptocmd{\maketitle}{% - \if@PJLamssim@absbefore% + \if@PJLauthor@absbefore% \begin{abstract@PJLoriginal}% \input{\jobname.pjlabs}% % \ifx\PJL@keywords\@empty\else% @@ -214,7 +214,7 @@ \global\let\email\relax \global\let\dedicatory\relax \global\let\keywords\relax - \global\@PJLamssim@maketitletrue + \global\@PJLauthor@maketitletrue }{}{\FAIL} } @@ -238,7 +238,7 @@ \@namedef{subjclassname@2020}{% \textup{2020} Mathematics Subject Classification} -\fi +} \endinput %% diff --git a/Master/texmf-dist/tex/latex/projlib/PJLdate.sty b/Master/texmf-dist/tex/latex/projlib/PJLdate.sty index d88369ce685..45fc6edf15c 100644 --- a/Master/texmf-dist/tex/latex/projlib/PJLdate.sty +++ b/Master/texmf-dist/tex/latex/projlib/PJLdate.sty @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesPackage{PJLdate} - [2021/07/30 Convert yyyy-mm-dd to normal datetime format] + [2021/08/07 Convert yyyy-mm-dd to normal datetime format] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \SetupKeyvalOptions{ @@ -47,7 +47,7 @@ \gappto{\PJLlang@langconfig@common}{% \let\@DTMdate\@DTMdate@PJLoriginal% } -\gappto{\PJLlang@langconfig@chinese}{% +\gappto{\PJLlang@langconfig@schinese}{% \renewcommand*{\@DTMdate}[1]{% \expandafter\@dtm@parsedate#1\@dtm@endparsedate% \zhdate{\@dtm@year/\@dtm@month/\@dtm@day}% diff --git a/Master/texmf-dist/tex/latex/projlib/PJLdraft.sty b/Master/texmf-dist/tex/latex/projlib/PJLdraft.sty index 0878ea6e233..35a05b08d3b 100644 --- a/Master/texmf-dist/tex/latex/projlib/PJLdraft.sty +++ b/Master/texmf-dist/tex/latex/projlib/PJLdraft.sty @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesPackage{PJLdraft} - [2021/07/30 Some useful macros for the draft stage] + [2021/08/07 Some useful macros for the draft stage] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \SetupKeyvalOptions{ diff --git a/Master/texmf-dist/tex/latex/projlib/PJLlang.sty b/Master/texmf-dist/tex/latex/projlib/PJLlang.sty index a59cdcdbfbd..e0ec000a039 100644 --- a/Master/texmf-dist/tex/latex/projlib/PJLlang.sty +++ b/Master/texmf-dist/tex/latex/projlib/PJLlang.sty @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesPackage{PJLlang} - [2021/07/30 Multi-language configuration] + [2021/08/07 Multi-language configuration] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \SetupKeyvalOptions{% @@ -114,7 +114,7 @@ \newcommand\portugueseABBR{PT} \newcommand\brazilianABBR{BR} \newcommand\spanishABBR{ES} -\newcommand\chineseABBR{CN} +\newcommand\schineseABBR{CN} \newcommand\tchineseABBR{TC} \newcommand\japaneseABBR{JP} \newcommand\russianABBR{RU} @@ -154,6 +154,9 @@ \if@PJLlang@enable@FR \frenchsetup{PartNameFull=false} \fi + + \babelprovide{schinese} + \babelprovide{tchinese} \fi \let\today@PJLoriginal\today @@ -165,7 +168,7 @@ \fi% } -\newcommand{\PJLlang@langconfig@chinese}{% +\newcommand{\PJLlang@langconfig@schinese}{% \def\abstractname{摘要}% \def\proofname{证明}% \def\contentsname{目录}% @@ -178,7 +181,7 @@ \def\refname{参考文献}% \def\bibname{参考文献}% \let\today\zhtoday% - \renewcommand{\languagename}{chinese}% + \renewcommand{\languagename}{schinese}% } \newcommand{\PJLlang@langconfig@tchinese}{% \def\abstractname{摘要}% @@ -230,10 +233,10 @@ {\gappto{\PJLlang@langconfig@common}{#2}}% {% \lowercase{\IfStrEqCase{#1}}{% - {cn}{\gappto{\PJLlang@langconfig@chinese}{#2}}% - {chinese}{\gappto{\PJLlang@langconfig@chinese}{#2}}% - {schinese}{\gappto{\PJLlang@langconfig@chinese}{#2}}% - {simplifiedchinese}{\gappto{\PJLlang@langconfig@chinese}{#2}}% + {cn}{\gappto{\PJLlang@langconfig@schinese}{#2}}% + {chinese}{\gappto{\PJLlang@langconfig@schinese}{#2}}% + {schinese}{\gappto{\PJLlang@langconfig@schinese}{#2}}% + {simplifiedchinese}{\gappto{\PJLlang@langconfig@schinese}{#2}}% {tc}{\gappto{\PJLlang@langconfig@tchinese}{#2}}% {tchinese}{\gappto{\PJLlang@langconfig@tchinese}{#2}}% {traditionalchinese}{\gappto{\PJLlang@langconfig@tchinese}{#2}}% @@ -274,10 +277,10 @@ \newcommand{\UseLanguageCORE}[1]{% \PJLlang@langconfig@common% \lowercase{\IfStrEqCase{#1}}{% - {cn}{\PJL@config@CJK\PJLlang@langconfig@chinese}% - {chinese}{\PJL@config@CJK\PJLlang@langconfig@chinese}% - {schinese}{\PJL@config@CJK\PJLlang@langconfig@chinese}% - {simplifiedchinese}{\PJL@config@CJK\PJLlang@langconfig@chinese}% + {cn}{\PJL@config@CJK\PJLlang@langconfig@schinese}% + {chinese}{\PJL@config@CJK\PJLlang@langconfig@schinese}% + {schinese}{\PJL@config@CJK\PJLlang@langconfig@schinese}% + {simplifiedchinese}{\PJL@config@CJK\PJLlang@langconfig@schinese}% {tc}{\PJL@config@CJK\PJLlang@langconfig@tchinese}% {tchinese}{\PJL@config@CJK\PJLlang@langconfig@tchinese}% {traditionalchinese}{\PJL@config@CJK\PJLlang@langconfig@tchinese}% @@ -310,13 +313,13 @@ \fi% } \newcommand{\UseOtherLanguage}[2]{% -\begingroup% +\begingroup\begingroup% \PJLlang@langconfig@common% \lowercase{\IfStrEqCase{#1}}{% - {cn}{\PJLlang@langconfig@chinese}% - {chinese}{\PJLlang@langconfig@chinese}% - {schinese}{\PJLlang@langconfig@chinese}% - {simplifiedchinese}{\PJLlang@langconfig@chinese}% + {cn}{\PJLlang@langconfig@schinese}% + {chinese}{\PJLlang@langconfig@schinese}% + {schinese}{\PJLlang@langconfig@schinese}% + {simplifiedchinese}{\PJLlang@langconfig@schinese}% {tc}{\PJLlang@langconfig@tchinese}% {tchinese}{\PJLlang@langconfig@tchinese}% {traditionalchinese}{\PJLlang@langconfig@tchinese}% @@ -341,7 +344,7 @@ {russian}{\PJLlang@langconfig@russian}% }% #2% -\endgroup% +\endgroup\endgroup% } \IfStrEqCase{\PJLlang@mainlang}{% diff --git a/Master/texmf-dist/tex/latex/projlib/PJLlogo.sty b/Master/texmf-dist/tex/latex/projlib/PJLlogo.sty index 42d06a54999..35b8d1c93f0 100644 --- a/Master/texmf-dist/tex/latex/projlib/PJLlogo.sty +++ b/Master/texmf-dist/tex/latex/projlib/PJLlogo.sty @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesPackage{PJLlogo} - [2021/07/30 The ProjLib logo] + [2021/08/07 The ProjLib logo] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \SetupKeyvalOptions{ diff --git a/Master/texmf-dist/tex/latex/projlib/PJLmath.sty b/Master/texmf-dist/tex/latex/projlib/PJLmath.sty index 2deb8e4b2aa..2ee6c453d29 100644 --- a/Master/texmf-dist/tex/latex/projlib/PJLmath.sty +++ b/Master/texmf-dist/tex/latex/projlib/PJLmath.sty @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesPackage{PJLmath} - [2021/07/30 Useful math macros and shortcuts] + [2021/08/07 Useful math macros and shortcuts] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \RequirePackage{mathtools} @@ -302,13 +302,13 @@ \def\@pmods#1{\mkern4mu({\operator@font mod}\mkern 6mu#1)} \fi -\newcommand{\genlegendre}[4]{% +\providecommand{\genlegendre}[4]{% \genfrac{(}{)}{}{#1}{#3}{#4}% \if\relax\detokenize{#2}\relax\else_{\!#2}\fi% } -\newcommand{\legendre}[3][]{\genlegendre{}{#1}{#2}{#3}} -\newcommand{\dlegendre}[3][]{\genlegendre{0}{#1}{#2}{#3}} -\newcommand{\tlegendre}[3][]{\genlegendre{1}{#1}{#2}{#3}} +\providecommand{\legendre}[3][]{\genlegendre{}{#1}{#2}{#3}} +\providecommand{\dlegendre}[3][]{\genlegendre{0}{#1}{#2}{#3}} +\providecommand{\tlegendre}[3][]{\genlegendre{1}{#1}{#2}{#3}} \endinput %% diff --git a/Master/texmf-dist/tex/latex/projlib/PJLpaper.sty b/Master/texmf-dist/tex/latex/projlib/PJLpaper.sty index 9c8473bad61..093c7eb0870 100644 --- a/Master/texmf-dist/tex/latex/projlib/PJLpaper.sty +++ b/Master/texmf-dist/tex/latex/projlib/PJLpaper.sty @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesPackage{PJLpaper} - [2021/07/30 Paper style configuration] + [2021/08/07 Paper style configuration] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \RequirePackage{ifthen} diff --git a/Master/texmf-dist/tex/latex/projlib/PJLthm.sty b/Master/texmf-dist/tex/latex/projlib/PJLthm.sty index f4070b90412..3616a9c449e 100644 --- a/Master/texmf-dist/tex/latex/projlib/PJLthm.sty +++ b/Master/texmf-dist/tex/latex/projlib/PJLthm.sty @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesPackage{PJLthm} - [2021/07/30 Theorem setup and configuration] + [2021/08/07 Theorem setup and configuration] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \SetupKeyvalOptions{% @@ -614,7 +614,7 @@ } } -\gappto{\PJLlang@langconfig@chinese}{% +\gappto{\PJLlang@langconfig@schinese}{% \crefname{equation}{式}{式}% \crefname{figure}{图}{图}% \crefname{table}{表}{表}% diff --git a/Master/texmf-dist/tex/latex/projlib/ProjLib.sty b/Master/texmf-dist/tex/latex/projlib/ProjLib.sty index 0c0c6865538..d0e91d10b06 100644 --- a/Master/texmf-dist/tex/latex/projlib/ProjLib.sty +++ b/Master/texmf-dist/tex/latex/projlib/ProjLib.sty @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesPackage{ProjLib} - [2021/07/30 The collective interface of ProjLib toolkit] + [2021/08/07 The collective interface of ProjLib toolkit] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \SetupKeyvalOptions{ |