texlive[65490] Master/texmf-dist/tex/latex/colorist: colorist

commits+karl at tug.org commits+karl at tug.org
Sun Jan 8 21:57:39 CET 2023


Revision: 65490
          http://tug.org/svn/texlive?view=revision&revision=65490
Author:   karl
Date:     2023-01-08 21:57:38 +0100 (Sun, 08 Jan 2023)
Log Message:
-----------
colorist (7jan23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/tex/latex/colorist/colorart.cls
    trunk/Master/texmf-dist/tex/latex/colorist/colorbook.cls
    trunk/Master/texmf-dist/tex/latex/colorist/colorist-fancy.sty
    trunk/Master/texmf-dist/tex/latex/colorist/colorist.sty

Modified: trunk/Master/texmf-dist/tex/latex/colorist/colorart.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/colorist/colorart.cls	2023-01-08 20:57:20 UTC (rev 65489)
+++ trunk/Master/texmf-dist/tex/latex/colorist/colorart.cls	2023-01-08 20:57:38 UTC (rev 65490)
@@ -18,7 +18,7 @@
 \NeedsTeXFormat{LaTeX2e}[2022-06-01]
 \ProvidesExplClass
   {colorart}
-  {2023/01/05} {}
+  {2023/01/08} {}
   {A colorful article style}
 
 \tl_const:Nn \l__colorclass_base_class_tl { article }

Modified: trunk/Master/texmf-dist/tex/latex/colorist/colorbook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/colorist/colorbook.cls	2023-01-08 20:57:20 UTC (rev 65489)
+++ trunk/Master/texmf-dist/tex/latex/colorist/colorbook.cls	2023-01-08 20:57:38 UTC (rev 65490)
@@ -18,7 +18,7 @@
 \NeedsTeXFormat{LaTeX2e}[2022-06-01]
 \ProvidesExplClass
   {colorbook}
-  {2023/01/05} {}
+  {2023/01/08} {}
   {A colorful book style}
 
 \tl_const:Nn \l__colorclass_base_class_tl { book }

Modified: trunk/Master/texmf-dist/tex/latex/colorist/colorist-fancy.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/colorist/colorist-fancy.sty	2023-01-08 20:57:20 UTC (rev 65489)
+++ trunk/Master/texmf-dist/tex/latex/colorist/colorist-fancy.sty	2023-01-08 20:57:38 UTC (rev 65490)
@@ -18,7 +18,7 @@
 \NeedsTeXFormat{LaTeX2e}[2022-06-01]
 \ProvidesExplPackage
   {colorist-fancy}
-  {2023/01/05} {}
+  {2023/01/08} {}
   {The fancy style of colorist}
 
 \IfPackageLoadedTF { colorist } {}
@@ -451,19 +451,19 @@
       {\titlerule*[10pt]{\parbox{3pt}{\hspace*{-.25pt}\textcolor{main-text!15!paper}{.}}}\color{maintheme}\normalfont\sffamily\contentspage}
     \titlecontents{section}
       [5.25em] % i.e., 2em (chapter) + 2.75em + 0.5em
-      {\addvspace{.3pc}\normalfont\color{maintheme}\sffamily}
+      {\addvspace{.3pc}\normalfont\color{main-text}\sffamily}
       {\contentslabel{2.75em}}
       {\hspace*{-2.75em}}
-      {\titlerule*[10pt]{\parbox{3pt}{\textcolor{main-text!15!paper}{.}}}\color{maintheme}\contentspage}
+      {\titlerule*[10pt]{\parbox{3pt}{\textcolor{main-text!15!paper}{.}}}\color{main-text}\contentspage}
     \titlecontents{subsection}
-      [9.5em] % i.e., 5.25em (section) + 3.5em + 0.75em
-      {\addvspace{.15pc}\normalfont\sffamily}
+      [9em] % i.e., 5.25em (section) + 3.5em + 0.25em
+      {\addvspace{.15pc}\normalfont\color{main-text!60!paper}\sffamily}
       {\contentslabel{3.50em}}
       {\hspace*{-3.50em}}
-      {\titlerule*[10pt]{\parbox{3pt}{\textcolor{main-text!15!paper}{.}}}\color{main-text!45!paper}\contentspage}
+      {\titlerule*[10pt]{\parbox{3pt}{\textcolor{main-text!15!paper}{.}}}\color{main-text!60!paper}\contentspage}
     \titlecontents{subsubsection}
-      [14em] % i.e., 9.5em (subsection) + 3.75em + 0.75em
-      {\normalfont\sffamily}
+      [13em] % i.e., 9em (subsection) + 3.75em + 0.25em
+      {\normalfont\color{main-text!45!paper}\sffamily}
       {\contentslabel{3.75em}}
       {\hspace*{-3.75em}}
       {\titlerule*[10pt]{\parbox{3pt}{\textcolor{main-text!15!paper}{.}}}\color{main-text!45!paper}\contentspage}
@@ -776,11 +776,20 @@
     \renewcommand\Hy at numberline[1]{#1.~}
     % https://tex.stackexchange.com/a/1821
     % Add the bookmark of ToC
-    \hook_gput_code:nnn { cmd/tableofcontents/before } { colorist }
+    \bool_if:NTF \l__colorist_is_book_bool
       {
-        \if at openright\cleardoublepage\else\clearpage\fi
-        \pdfbookmark[0]{\contentsname}{toc}
+        \hook_gput_code:nnn { cmd/tableofcontents/before } { colorist }
+          {
+            \if at openright\cleardoublepage\else\clearpage\fi
+            \pdfbookmark[0]{\contentsname}{toc}
+          }
       }
+      {
+        \hook_gput_code:nnn { cmd/tableofcontents/before } { colorist }
+          {
+            \pdfbookmark[1]{\contentsname}{toc}
+          }
+      }
   }
 
 
@@ -1133,16 +1142,15 @@
       }
 
     \RequirePackage { projlib-titlepage }
-    \renewcommand{\maketitle}{
-      \LocallyStopLineNumbers
-      \ProjLibTitlePage
-        {
-          , title  = \@title
-          , author = \@author
-          , date   = \@date
-        }
-      \ResumeLineNumbers
-    }
+    \RenewDocumentCommand \maketitle { O{} }
+      {
+        \ProjLibTitlePage[#1]
+          {
+            , title  = \@title
+            , author = \@author
+            , date   = \@date
+          }
+      }
   }
   {
     \renewcommand{\@maketitle}
@@ -1186,7 +1194,7 @@
       }
 
     \newenvironment{keyword}
-    {\small\centerline{{ \colorist_bfseries: \keywordname}}\vspace{-0.3\baselineskip}
+    {\small\centerline{{ \colorist_bfseries: \sffamily\keywordname}}\vspace{-0.3\baselineskip}
         \color{main-text!80!paper}\begin{center}}
     {\end{center}\medskip}
   } % end of \bool_if:NTF \l__colorist_is_book_bool

Modified: trunk/Master/texmf-dist/tex/latex/colorist/colorist.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/colorist/colorist.sty	2023-01-08 20:57:20 UTC (rev 65489)
+++ trunk/Master/texmf-dist/tex/latex/colorist/colorist.sty	2023-01-08 20:57:38 UTC (rev 65490)
@@ -18,7 +18,7 @@
 \NeedsTeXFormat{LaTeX2e}[2022-06-01]
 \ProvidesExplPackage
   {colorist}
-  {2023/01/05} {}
+  {2023/01/08} {}
   {A colorful style for articles and books}
 
 \keys_define:nn { colorist }



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