texlive[74998] Master/texmf-dist: scrjrnl (22apr25)

commits+karl at tug.org commits+karl at tug.org
Tue Apr 22 22:29:44 CEST 2025


Revision: 74998
          https://tug.org/svn/texlive?view=revision&revision=74998
Author:   karl
Date:     2025-04-22 22:29:44 +0200 (Tue, 22 Apr 2025)
Log Message:
-----------
scrjrnl (22apr25)

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

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

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

Modified: trunk/Master/texmf-dist/source/latex/scrjrnl/scrjrnl.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/scrjrnl/scrjrnl.dtx	2025-04-22 16:07:28 UTC (rev 74997)
+++ trunk/Master/texmf-dist/source/latex/scrjrnl/scrjrnl.dtx	2025-04-22 20:29:44 UTC (rev 74998)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2012 by Raphaël Pinson <raphink at gmail.com>
+% Copyright (C) 2012-2025 by Raphaël Pinson <raphink at gmail.com>
 % ---------------------------------------------------------------------------
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either version 1.3
@@ -14,8 +14,8 @@
 %
 % The Current Maintainer of this work is Raphaël Pinson.
 %
-% This work consists of the files impnattypo.dtx and impnattypo.ins
-% and the derived filebase impnattypo.sty.
+% This work consists of the files scrjrnl.dtx and scrjrnl.ins
+% and the derived filebase scrjrnl.sty.
 %
 % \fi
 %
@@ -26,7 +26,7 @@
 %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
 %<package>\ProvidesClass{scrjrnl}
 %<*package>
-    [2012/09/24 0.1 A class to typeset diaries or journals]
+    [2025/04/21 0.2 A class to typeset diaries or journals]
 %</package>
 %
 %<*driver>
@@ -47,7 +47,7 @@
 %</driver>
 % \fi
 %
-% \CheckSum{355}
+% \CheckSum{361}
 %
 % \CharacterTable
 %  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -66,6 +66,7 @@
 %   Right brace   \}     Tilde         \~}
 %
 %
+% \changes{0.2}{2025/04/21}{Fixes}
 % \changes{0.1}{2012/09/16}{First version}
 %
 % \DoNotIndex{\newcommand,\newenvironment}
@@ -226,7 +227,7 @@
 % \marginpar{Load datetime after babel}
 %
 %    \begin{macrocode}
-\AfterPackage!{babel}{\RequirePackage{datetime}}
+\AfterPackage{babel}{\RequirePackage{datetime}}
 \newcommand\jrnlformatdate\formatdateny
 \newcommand\jrnlformatindexdate\formatdateny
 %    \end{macrocode}
@@ -336,12 +337,12 @@
   \stepcounter{jrnlday}%
   \stepcounter{jrnltotalday}%
   \if at jrnl@cleardaypages
-  \cleardoublepage
+  \if at openright\cleardoublepage\else\clearpage\fi
   \fi
   \newpage\section{#2}%
   % TODO: provide index macros to be used with jrnlpagedate\thepage
   \expandafter\xdef\csname jrnldaydate\thejrnltotalday\endcsname{%
-    \noexpand\jrnlformatindexdate{\thejrnlday}{\thejrnlmonth}{\thejrnlyear}%
+    \jrnlday at ante\noexpand\jrnlformatindexdate{\thejrnlday}{\thejrnlmonth}{\thejrnlyear}\jrnlday at post%
 }%
   \HTMLsecHook{\jrnlday at ante\jrnlformatdate{\thejrnlday}{\thejrnlmonth}{\thejrnlyear}\jrnlday at post}{#2}%
 }

Modified: trunk/Master/texmf-dist/tex/latex/scrjrnl/scrjrnl.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scrjrnl/scrjrnl.cls	2025-04-22 16:07:28 UTC (rev 74997)
+++ trunk/Master/texmf-dist/tex/latex/scrjrnl/scrjrnl.cls	2025-04-22 20:29:44 UTC (rev 74998)
@@ -20,7 +20,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesClass{scrjrnl}
-    [2012/09/24 0.1 A class to typeset diaries or journals]
+    [2025/04/21 0.2 A class to typeset diaries or journals]
 %% Index by day
 %% Get the date for the recorded day
 %% Go through index items
@@ -40,7 +40,7 @@
 \ProcessOptions\relax
 \LoadClass{\jrnl at class}
 \RequirePackage{titlesec}
-\AfterPackage!{babel}{\RequirePackage{datetime}}
+\AfterPackage{babel}{\RequirePackage{datetime}}
 \newcommand\jrnlformatdate\formatdateny
 \newcommand\jrnlformatindexdate\formatdateny
 \def\formatdateny{\csname noyear\languagename\expandafter\endcsname\formatdate}
@@ -108,12 +108,12 @@
   \stepcounter{jrnlday}%
   \stepcounter{jrnltotalday}%
   \if at jrnl@cleardaypages
-  \cleardoublepage
+  \if at openright\cleardoublepage\else\clearpage\fi
   \fi
   \newpage\section{#2}%
   % TODO: provide index macros to be used with jrnlpagedate\thepage
   \expandafter\xdef\csname jrnldaydate\thejrnltotalday\endcsname{%
-    \noexpand\jrnlformatindexdate{\thejrnlday}{\thejrnlmonth}{\thejrnlyear}%
+    \jrnlday at ante\noexpand\jrnlformatindexdate{\thejrnlday}{\thejrnlmonth}{\thejrnlyear}\jrnlday at post%
 }%
   \HTMLsecHook{\jrnlday at ante\jrnlformatdate{\thejrnlday}{\thejrnlmonth}{\thejrnlyear}\jrnlday at post}{#2}%
 }



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