summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/projlib/PJLthm.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-10-24 21:00:28 +0000
committerKarl Berry <karl@freefriends.org>2021-10-24 21:00:28 +0000
commitb526eb56bc6b20eaf95b856cf7c9c4896c851f3b (patch)
tree54272ef88af5cab983a5dbe3253e8d3f4c9c832e /Master/texmf-dist/tex/latex/projlib/PJLthm.sty
parentb251b2e6909dba293067e5e9c47f67d29f75ab7d (diff)
projlib (24oct21)
git-svn-id: svn://tug.org/texlive/trunk@60861 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/projlib/PJLthm.sty')
-rw-r--r--Master/texmf-dist/tex/latex/projlib/PJLthm.sty10
1 files changed, 9 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/projlib/PJLthm.sty b/Master/texmf-dist/tex/latex/projlib/PJLthm.sty
index 5349ec79c22..e69ffa995ee 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/10/16 Theorem setup and configuration]
+ [2021/10/24 Theorem setup and configuration]
\RequirePackage{kvoptions}
\RequirePackage{etoolbox}
\SetupKeyvalOptions{%
@@ -43,6 +43,11 @@
\@PJLthm@regionalreftrue
\fi
+\@ifclassloaded{beamer}{%
+ \RequirePackage{silence}
+ \WarningFilter{cleveref}{hyperref package loaded with implicit=false option}
+}{}
+
\RequirePackage{PJLlang}
\RequirePackage{amsmath,amsthm}
\RequirePackage{aliascnt}
@@ -281,6 +286,9 @@
{ No language \exp_not:n{#1} defined }
}%
{%
+ \ifcsname the\__PJLthm_countername:\endcsname\else
+ \newcounter{\__PJLthm_countername:}%
+ \fi
\newaliascnt {\__PJLthm_countername: \__PJLthm_languageprefix:} {\__PJLthm_countername:}%
\aliascntresetthe {\__PJLthm_countername: \__PJLthm_languageprefix:}%
\keys_set:nn { PJLthm } { #2 }