texlive[74649] Master/texmf-dist: yb-book (16mar25)

commits+karl at tug.org commits+karl at tug.org
Sun Mar 16 20:56:59 CET 2025


Revision: 74649
          https://tug.org/svn/texlive?view=revision&revision=74649
Author:   karl
Date:     2025-03-16 20:56:59 +0100 (Sun, 16 Mar 2025)
Log Message:
-----------
yb-book (16mar25)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/yb-book/yb-book.pdf
    trunk/Master/texmf-dist/source/latex/yb-book/yb-book.dtx
    trunk/Master/texmf-dist/tex/latex/yb-book/yb-book.cls

Modified: trunk/Master/texmf-dist/doc/latex/yb-book/yb-book.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/yb-book/yb-book.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/yb-book/yb-book.dtx	2025-03-16 19:56:22 UTC (rev 74648)
+++ trunk/Master/texmf-dist/source/latex/yb-book/yb-book.dtx	2025-03-16 19:56:59 UTC (rev 74649)
@@ -31,7 +31,7 @@
 %<class>\NeedsTeXFormat{LaTeX2e}
 %<class>\ProvidesClass{yb-book}
 %<*class>
-[2025/03/11 0.6.4 YB Branded Book Style]
+[2025/03/16 0.6.5 YB Branded Book Style]
 %</class>
 %<*driver>
 \documentclass{ltxdoc}
@@ -593,11 +593,11 @@
 % Then, we define |ybPrintTOC| command to print table of contents:
 %    \begin{macrocode}
 \makeatletter
-\newcommand\ybPrintTOC{
-  \ifdefined\yb at authordraft\else
-    \ifdefined\yb at compact\else\cleardoublepage\fi
-    {\setstretch{0.7}\tableofcontents}
-  \fi
+\newcommand\ybPrintTOC{%
+  \ifdefined\yb at authordraft\else%
+    \ifdefined\yb at compact\else\cleardoublepage\fi%
+    {\setstretch{0.7}\tableofcontents}%
+  \fi%
 }
 \makeatother
 %    \end{macrocode}
@@ -612,8 +612,8 @@
   \indexsetup{othercode={\hyphenpenalty=10000}}
 \makeatletter
 \newcommand\ybPrintIndex[1][Index]{%
-  \ifdefined\yb at authordraft\else
-    \cleardoublepage%
+  \ifdefined\yb at authordraft\else%
+    \ifdefined\yb at compact\else\cleardoublepage\fi%
     {%
       \setstretch{1.0}%
       \small%
@@ -718,7 +718,10 @@
     \end{multicols}%
   \else%
     \setlength\bibitemsep{.2em}%
+    \ifdefined\yb at compact\@openrightfalse\fi%
+    \@openrightfalse%
     \printbibliography[heading=bibintoc,title={#1}]%
+    \ifdefined\yb at compact\@openrighttrue\fi%
   \fi%
 }
 \makeatother

Modified: trunk/Master/texmf-dist/tex/latex/yb-book/yb-book.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/yb-book/yb-book.cls	2025-03-16 19:56:22 UTC (rev 74648)
+++ trunk/Master/texmf-dist/tex/latex/yb-book/yb-book.cls	2025-03-16 19:56:59 UTC (rev 74649)
@@ -32,7 +32,7 @@
 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesClass{yb-book}
-[2025/03/11 0.6.4 YB Branded Book Style]
+[2025/03/16 0.6.5 YB Branded Book Style]
 
 
 
@@ -301,11 +301,11 @@
 \makeatother
 
 \makeatletter
-\newcommand\ybPrintTOC{
-  \ifdefined\yb at authordraft\else
-    \ifdefined\yb at compact\else\cleardoublepage\fi
-    {\setstretch{0.7}\tableofcontents}
-  \fi
+\newcommand\ybPrintTOC{%
+  \ifdefined\yb at authordraft\else%
+    \ifdefined\yb at compact\else\cleardoublepage\fi%
+    {\setstretch{0.7}\tableofcontents}%
+  \fi%
 }
 \makeatother
 
@@ -315,8 +315,8 @@
   \indexsetup{othercode={\hyphenpenalty=10000}}
 \makeatletter
 \newcommand\ybPrintIndex[1][Index]{%
-  \ifdefined\yb at authordraft\else
-    \cleardoublepage%
+  \ifdefined\yb at authordraft\else%
+    \ifdefined\yb at compact\else\cleardoublepage\fi%
     {%
       \setstretch{1.0}%
       \small%
@@ -406,7 +406,10 @@
     \end{multicols}%
   \else%
     \setlength\bibitemsep{.2em}%
+    \ifdefined\yb at compact\@openrightfalse\fi%
+    \@openrightfalse%
     \printbibliography[heading=bibintoc,title={#1}]%
+    \ifdefined\yb at compact\@openrighttrue\fi%
   \fi%
 }
 \makeatother



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