texlive[60779] Master/texmf-dist: projlib (16oct21)

commits+karl at tug.org commits+karl at tug.org
Sat Oct 16 22:43:40 CEST 2021


Revision: 60779
          http://tug.org/svn/texlive?view=revision&revision=60779
Author:   karl
Date:     2021-10-16 22:43:40 +0200 (Sat, 16 Oct 2021)
Log Message:
-----------
projlib (16oct21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-cn.pdf
    trunk/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-cn.tex
    trunk/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-en.pdf
    trunk/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-en.tex
    trunk/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-fr.pdf
    trunk/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-fr.tex
    trunk/Master/texmf-dist/source/latex/projlib/ProjLib-doc.dtx
    trunk/Master/texmf-dist/source/latex/projlib/ProjLib.dtx
    trunk/Master/texmf-dist/tex/latex/projlib/PJLauthor.sty
    trunk/Master/texmf-dist/tex/latex/projlib/PJLdate.sty
    trunk/Master/texmf-dist/tex/latex/projlib/PJLdraft.sty
    trunk/Master/texmf-dist/tex/latex/projlib/PJLlang.sty
    trunk/Master/texmf-dist/tex/latex/projlib/PJLlogo.sty
    trunk/Master/texmf-dist/tex/latex/projlib/PJLmath.sty
    trunk/Master/texmf-dist/tex/latex/projlib/PJLpaper.sty
    trunk/Master/texmf-dist/tex/latex/projlib/PJLthm.sty
    trunk/Master/texmf-dist/tex/latex/projlib/ProjLib.sty

Modified: trunk/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-cn.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-cn.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-cn.tex	2021-10-16 20:43:02 UTC (rev 60778)
+++ trunk/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-cn.tex	2021-10-16 20:43:40 UTC (rev 60779)
@@ -85,9 +85,9 @@
 
 \title{\ProjLib{} 工具集\\[.3\baselineskip]\normalsize 使用指南}
 \author{许锦文}
-\thanks{对应版本.~~\texttt{\ProjLib{}~2021/08/19}}
+\thanks{对应版本.~~\texttt{\ProjLib{}~2021/10/16}}
 \email{\href{mailto:ProjLib at outlook.com}{ProjLib at outlook.com}}
-\date{2021年8月,北京}
+\date{2021年10月,巴黎}
 
 \maketitle
 

Modified: trunk/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-en.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-en.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-en.tex	2021-10-16 20:43:02 UTC (rev 60778)
+++ trunk/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-en.tex	2021-10-16 20:43:40 UTC (rev 60779)
@@ -85,9 +85,9 @@
 
 \title{\ProjLib{}~\,Toolkit\\[.3\baselineskip]\normalsize User Manual}
 \author{Jinwen XU}
-\thanks{Corresponding to: \texttt{\ProjLib{}~2021/08/19}}
+\thanks{Corresponding to: \texttt{\ProjLib{}~2021/10/16}}
 \email{\href{mailto:ProjLib at outlook.com}{ProjLib at outlook.com}}
-\date{August 2021, Beijing}
+\date{October 2021, Paris}
 
 \maketitle
 

Modified: trunk/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-fr.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-fr.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-fr.tex	2021-10-16 20:43:02 UTC (rev 60778)
+++ trunk/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-fr.tex	2021-10-16 20:43:40 UTC (rev 60779)
@@ -85,9 +85,9 @@
 
 \title{La boîte à outils~\,\ProjLib{}\\[.3\baselineskip]\normalsize Manuel d'utilisation}
 \author{Jinwen XU}
-\thanks{Correspondant à : \texttt{\ProjLib{}~2021/08/19}}
+\thanks{Correspondant à : \texttt{\ProjLib{}~2021/10/16}}
 \email{\href{mailto:ProjLib at outlook.com}{ProjLib at outlook.com}}
-\date{Août 2021, à Pékin}
+\date{Octobre 2021, à Paris}
 
 \maketitle
 

Modified: trunk/Master/texmf-dist/source/latex/projlib/ProjLib-doc.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/projlib/ProjLib-doc.dtx	2021-10-16 20:43:02 UTC (rev 60778)
+++ trunk/Master/texmf-dist/source/latex/projlib/ProjLib-doc.dtx	2021-10-16 20:43:40 UTC (rev 60779)
@@ -107,25 +107,25 @@
 %<*ProjLib-doc-cn>
 \title{\ProjLib{} 工具集\\[.3\baselineskip]\normalsize 使用指南}
 \author{许锦文}
-\thanks{对应版本.~~\texttt{\ProjLib{}~2021/08/19}}
+\thanks{对应版本.~~\texttt{\ProjLib{}~2021/10/16}}
 \email{\href{mailto:ProjLib at outlook.com}{ProjLib at outlook.com}}
-\date{2021年8月,北京}
+\date{2021年10月,巴黎}
 %</ProjLib-doc-cn>
 %
 %<*ProjLib-doc-en>
 \title{\ProjLib{}~\,Toolkit\\[.3\baselineskip]\normalsize User Manual}
 \author{Jinwen XU}
-\thanks{Corresponding to: \texttt{\ProjLib{}~2021/08/19}}
+\thanks{Corresponding to: \texttt{\ProjLib{}~2021/10/16}}
 \email{\href{mailto:ProjLib at outlook.com}{ProjLib at outlook.com}}
-\date{August 2021, Beijing}
+\date{October 2021, Paris}
 %</ProjLib-doc-en>
 %
 %<*ProjLib-doc-fr>
 \title{La boîte à outils~\,\ProjLib{}\\[.3\baselineskip]\normalsize Manuel d'utilisation}
 \author{Jinwen XU}
-\thanks{Correspondant à : \texttt{\ProjLib{}~2021/08/19}}
+\thanks{Correspondant à : \texttt{\ProjLib{}~2021/10/16}}
 \email{\href{mailto:ProjLib at outlook.com}{ProjLib at outlook.com}}
-\date{Août 2021, à Pékin}
+\date{Octobre 2021, à Paris}
 %</ProjLib-doc-fr>
 
 \maketitle

Modified: trunk/Master/texmf-dist/source/latex/projlib/ProjLib.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/projlib/ProjLib.dtx	2021-10-16 20:43:02 UTC (rev 60778)
+++ trunk/Master/texmf-dist/source/latex/projlib/ProjLib.dtx	2021-10-16 20:43:40 UTC (rev 60779)
@@ -18,47 +18,47 @@
 %
 %<*ProjLib>
 \ProvidesPackage{ProjLib}
-    [2021/08/19 The collective interface of ProjLib toolkit]
+    [2021/10/16 The collective interface of ProjLib toolkit]
 %</ProjLib>
 %
 %<*PJLauthor>
 \ProvidesPackage{PJLauthor}
-    [2021/08/19 Enhanced author information block]
+    [2021/10/16 Enhanced author information block]
 %</PJLauthor>
 %
 %<*PJLdate>
 \ProvidesPackage{PJLdate}
-    [2021/08/19 Convert yyyy-mm-dd to normal datetime format]
+    [2021/10/16 Convert yyyy-mm-dd to normal datetime format]
 %</PJLdate>
 %
 %<*PJLdraft>
 \ProvidesPackage{PJLdraft}
-    [2021/08/19 Some useful macros for the draft stage]
+    [2021/10/16 Some useful macros for the draft stage]
 %</PJLdraft>
 %
 %<*PJLlang>
 \ProvidesPackage{PJLlang}
-    [2021/08/19 Multi-language configuration]
+    [2021/10/16 Multi-language configuration]
 %</PJLlang>
 %
 %<*PJLlogo>
 \ProvidesPackage{PJLlogo}
-    [2021/08/19 The ProjLib logo]
+    [2021/10/16 The ProjLib logo]
 %</PJLlogo>
 %
 %<*PJLmath>
 \ProvidesPackage{PJLmath}
-    [2021/08/19 Useful math macros and shortcuts]
+    [2021/10/16 Useful math macros and shortcuts]
 %</PJLmath>
 %
 %<*PJLpaper>
 \ProvidesPackage{PJLpaper}
-    [2021/08/19 Paper style configuration]
+    [2021/10/16 Paper style configuration]
 %</PJLpaper>
 %
 %<*PJLthm>
 \ProvidesPackage{PJLthm}
-    [2021/08/19 Theorem setup and configuration]
+    [2021/10/16 Theorem setup and configuration]
 %</PJLthm>
 %
 %# 下面两行引入宏包的代码是所有文件共用的。
@@ -67,10 +67,6 @@
 \RequirePackage{etoolbox}
 %
 %<*PJLauthor>
-%# 在 AMS 文档类中不执行任何操作
-%# Do nothing if AMS class detected
-\ifdefined\subjclass\endinput\fi
-
 %# 这段代码定义了宏包中的选项。
 %# This code defines the options in the package.
 \SetupKeyvalOptions{
@@ -84,6 +80,10 @@
 %# Process options
 \ProcessKeyvalOptions*\relax
 
+%# 在 AMS 文档类中不执行任何操作
+%# Do nothing if AMS class detected
+\ifdefined\subjclass\endinput\fi
+
 %%================================
 %% Font and style
 %%================================
@@ -776,6 +776,20 @@
     \if at PJLlang@enable at FR
         \frenchsetup{PartNameFull=false}
     \fi
+    \if at PJLlang@enable at PT
+        \let\PJL at babelord\ord
+        \let\ord\relax
+        \AtBeginDocument{
+            \@ifundefined{ord}{}
+            {
+                \let\PJL at userord\ord
+                \let\ord\relax
+                \newcommand{\ord}{%
+                    \ifmmode\expandafter\PJL at userord\else\expandafter\PJL at babelord\fi%
+                }
+            }
+        }
+    \fi
 
     \babelprovide{schinese}
     \babelprovide{tchinese}
@@ -2234,6 +2248,7 @@
 \DeclareBoolOption[true]{regionalref}
 \DeclareBoolOption[false]{originalref}
 \DeclareBoolOption[false]{useosf}
+\DeclareBoolOption[false]{lmodern}
 \DeclareBoolOption[false]{palatino}
 \DeclareBoolOption[false]{times}
 \DeclareBoolOption[false]{garamond}
@@ -2305,6 +2320,16 @@
 % A message can then be shown as: Font "(font name)" has been set
 \ifdefined\PJL at font@alreadyset\else
 
+\if at ProjLib@lmodern
+    \RequirePackage{amssymb}
+    \if at ProjLib@useosf
+        \RequirePackage{cfr-lm}
+    \else
+        \RequirePackage{lmodern}
+    \fi
+    \PJLsetlinespacing{\setstretch{1.00}}
+\fi
+
 \if at ProjLib@palatino
     % \RequirePackage{amssymb}
     \RequirePackage{mathpazo}

Modified: trunk/Master/texmf-dist/tex/latex/projlib/PJLauthor.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/PJLauthor.sty	2021-10-16 20:43:02 UTC (rev 60778)
+++ trunk/Master/texmf-dist/tex/latex/projlib/PJLauthor.sty	2021-10-16 20:43:40 UTC (rev 60779)
@@ -17,11 +17,9 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2020-10-01]
 \ProvidesPackage{PJLauthor}
-    [2021/08/19 Enhanced author information block]
+    [2021/10/16 Enhanced author information block]
 \RequirePackage{kvoptions}
 \RequirePackage{etoolbox}
-\ifdefined\subjclass\endinput\fi
-
 \SetupKeyvalOptions{
     family = @PJLauthor,
     prefix = @PJLauthor@,
@@ -29,6 +27,8 @@
 \DeclareBoolOption[false]{amsfashion}
 \ProcessKeyvalOptions*\relax
 
+\ifdefined\subjclass\endinput\fi
+
 %%================================
 %% Font and style
 %%================================

Modified: trunk/Master/texmf-dist/tex/latex/projlib/PJLdate.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/PJLdate.sty	2021-10-16 20:43:02 UTC (rev 60778)
+++ trunk/Master/texmf-dist/tex/latex/projlib/PJLdate.sty	2021-10-16 20:43:40 UTC (rev 60779)
@@ -17,7 +17,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2020-10-01]
 \ProvidesPackage{PJLdate}
-    [2021/08/19 Convert yyyy-mm-dd to normal datetime format]
+    [2021/10/16 Convert yyyy-mm-dd to normal datetime format]
 \RequirePackage{kvoptions}
 \RequirePackage{etoolbox}
 \SetupKeyvalOptions{

Modified: trunk/Master/texmf-dist/tex/latex/projlib/PJLdraft.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/PJLdraft.sty	2021-10-16 20:43:02 UTC (rev 60778)
+++ trunk/Master/texmf-dist/tex/latex/projlib/PJLdraft.sty	2021-10-16 20:43:40 UTC (rev 60779)
@@ -17,7 +17,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2020-10-01]
 \ProvidesPackage{PJLdraft}
-    [2021/08/19 Some useful macros for the draft stage]
+    [2021/10/16 Some useful macros for the draft stage]
 \RequirePackage{kvoptions}
 \RequirePackage{etoolbox}
 \SetupKeyvalOptions{

Modified: trunk/Master/texmf-dist/tex/latex/projlib/PJLlang.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/PJLlang.sty	2021-10-16 20:43:02 UTC (rev 60778)
+++ trunk/Master/texmf-dist/tex/latex/projlib/PJLlang.sty	2021-10-16 20:43:40 UTC (rev 60779)
@@ -17,7 +17,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2020-10-01]
 \ProvidesPackage{PJLlang}
-    [2021/08/19 Multi-language configuration]
+    [2021/10/16 Multi-language configuration]
 \RequirePackage{kvoptions}
 \RequirePackage{etoolbox}
 \SetupKeyvalOptions{%
@@ -222,6 +222,20 @@
     \if at PJLlang@enable at FR
         \frenchsetup{PartNameFull=false}
     \fi
+    \if at PJLlang@enable at PT
+        \let\PJL at babelord\ord
+        \let\ord\relax
+        \AtBeginDocument{
+            \@ifundefined{ord}{}
+            {
+                \let\PJL at userord\ord
+                \let\ord\relax
+                \newcommand{\ord}{%
+                    \ifmmode\expandafter\PJL at userord\else\expandafter\PJL at babelord\fi%
+                }
+            }
+        }
+    \fi
 
     \babelprovide{schinese}
     \babelprovide{tchinese}

Modified: trunk/Master/texmf-dist/tex/latex/projlib/PJLlogo.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/PJLlogo.sty	2021-10-16 20:43:02 UTC (rev 60778)
+++ trunk/Master/texmf-dist/tex/latex/projlib/PJLlogo.sty	2021-10-16 20:43:40 UTC (rev 60779)
@@ -17,7 +17,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2020-10-01]
 \ProvidesPackage{PJLlogo}
-    [2021/08/19 The ProjLib logo]
+    [2021/10/16 The ProjLib logo]
 \RequirePackage{kvoptions}
 \RequirePackage{etoolbox}
 \SetupKeyvalOptions{

Modified: trunk/Master/texmf-dist/tex/latex/projlib/PJLmath.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/PJLmath.sty	2021-10-16 20:43:02 UTC (rev 60778)
+++ trunk/Master/texmf-dist/tex/latex/projlib/PJLmath.sty	2021-10-16 20:43:40 UTC (rev 60779)
@@ -17,7 +17,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2020-10-01]
 \ProvidesPackage{PJLmath}
-    [2021/08/19 Useful math macros and shortcuts]
+    [2021/10/16 Useful math macros and shortcuts]
 \RequirePackage{kvoptions}
 \RequirePackage{etoolbox}
 \RequirePackage{mathtools}

Modified: trunk/Master/texmf-dist/tex/latex/projlib/PJLpaper.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/PJLpaper.sty	2021-10-16 20:43:02 UTC (rev 60778)
+++ trunk/Master/texmf-dist/tex/latex/projlib/PJLpaper.sty	2021-10-16 20:43:40 UTC (rev 60779)
@@ -17,7 +17,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2020-10-01]
 \ProvidesPackage{PJLpaper}
-    [2021/08/19 Paper style configuration]
+    [2021/10/16 Paper style configuration]
 \RequirePackage{kvoptions}
 \RequirePackage{etoolbox}
 \RequirePackage{ifthen}

Modified: trunk/Master/texmf-dist/tex/latex/projlib/PJLthm.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/PJLthm.sty	2021-10-16 20:43:02 UTC (rev 60778)
+++ trunk/Master/texmf-dist/tex/latex/projlib/PJLthm.sty	2021-10-16 20:43:40 UTC (rev 60779)
@@ -17,7 +17,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2020-10-01]
 \ProvidesPackage{PJLthm}
-    [2021/08/19 Theorem setup and configuration]
+    [2021/10/16 Theorem setup and configuration]
 \RequirePackage{kvoptions}
 \RequirePackage{etoolbox}
 \SetupKeyvalOptions{%

Modified: trunk/Master/texmf-dist/tex/latex/projlib/ProjLib.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/ProjLib.sty	2021-10-16 20:43:02 UTC (rev 60778)
+++ trunk/Master/texmf-dist/tex/latex/projlib/ProjLib.sty	2021-10-16 20:43:40 UTC (rev 60779)
@@ -17,7 +17,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2020-10-01]
 \ProvidesPackage{ProjLib}
-    [2021/08/19 The collective interface of ProjLib toolkit]
+    [2021/10/16 The collective interface of ProjLib toolkit]
 \RequirePackage{kvoptions}
 \RequirePackage{etoolbox}
 \SetupKeyvalOptions{
@@ -35,6 +35,7 @@
 \DeclareBoolOption[true]{regionalref}
 \DeclareBoolOption[false]{originalref}
 \DeclareBoolOption[false]{useosf}
+\DeclareBoolOption[false]{lmodern}
 \DeclareBoolOption[false]{palatino}
 \DeclareBoolOption[false]{times}
 \DeclareBoolOption[false]{garamond}
@@ -91,6 +92,16 @@
 
 \ifdefined\PJL at font@alreadyset\else
 
+\if at ProjLib@lmodern
+    \RequirePackage{amssymb}
+    \if at ProjLib@useosf
+        \RequirePackage{cfr-lm}
+    \else
+        \RequirePackage{lmodern}
+    \fi
+    \PJLsetlinespacing{\setstretch{1.00}}
+\fi
+
 \if at ProjLib@palatino
     % \RequirePackage{amssymb}
     \RequirePackage{mathpazo}



More information about the tex-live-commits mailing list.