texlive[69361] Master/texmf-dist: lni (9jan24)

commits+karl at tug.org commits+karl at tug.org
Tue Jan 9 22:08:09 CET 2024


Revision: 69361
          https://tug.org/svn/texlive?view=revision&revision=69361
Author:   karl
Date:     2024-01-09 22:08:09 +0100 (Tue, 09 Jan 2024)
Log Message:
-----------
lni (9jan24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/lni/CHANGELOG.md
    trunk/Master/texmf-dist/doc/latex/lni/README.md
    trunk/Master/texmf-dist/doc/latex/lni/lni.pdf
    trunk/Master/texmf-dist/source/latex/lni/lni.dtx
    trunk/Master/texmf-dist/tex/latex/lni/lni.cls

Modified: trunk/Master/texmf-dist/doc/latex/lni/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lni/CHANGELOG.md	2024-01-09 21:08:00 UTC (rev 69360)
+++ trunk/Master/texmf-dist/doc/latex/lni/CHANGELOG.md	2024-01-09 21:08:09 UTC (rev 69361)
@@ -1,8 +1,20 @@
 # Changelog
+
 All notable changes to this project will be documented in this file.
 
 The format is based on [Keep a Changelog](https://keepachangelog.com/).
 
+## [Unreleased]
+
+## [1.8.1] - 2024-01-08
+
+### Changed
+- Option `defaultsups` now active for package `newtxtext`
+
+### Fixed
+- Fixed `There's no line here to end.` error for more than two `\affil` calls
+- Fixed `\footnote`
+
 ## [1.8] - 2023-11-26
 
 ### Added
@@ -69,7 +81,6 @@
 - `hyperref` is loaded without options to make it more compatible with other packages like `authorarchive`
 - `hypcap` is only loaded if `hyperref` has been loaded before.
 
-
 ## [1.5] - 2019-04-04
 
 ### Added
@@ -156,13 +167,14 @@
 
 First release of the revised files
 
-[Unreleased]: https://github.com/gi-ev/LNI/compare/v1.8...HEAD
-[1.8]: https://github.com/gi-ev/LNI/releases/tag/v1.8
-[1.7]: https://github.com/gi-ev/LNI/releases/tag/v1.7.0
-[1.6]: https://github.com/gi-ev/LNI/releases/tag/v1.6.0
-[1.5]: https://github.com/gi-ev/LNI/releases/tag/v1.5
-[1.4]: https://github.com/gi-ev/LNI/releases/tag/v1.4
-[1.3]: https://github.com/gi-ev/LNI/releases/tag/v1.3
-[1.2]: https://github.com/gi-ev/LNI/releases/tag/v1.2
-[1.1]: https://github.com/gi-ev/LNI/releases/tag/v1.1
+[Unreleased]: https://github.com/gi-ev/LNI/compare/v1.8.1...HEAD
+[1.8.1]: https://github.com/gi-ev/LNI/compare/v1.8...v1.8.1
+[1.8]: https://github.com/gi-ev/LNI/compare/v1.7...v1.8
+[1.7]: https://github.com/gi-ev/LNI/compare/v1.6...v1.7
+[1.6]: https://github.com/gi-ev/LNI/compare/v1.5...v1.6
+[1.5]: https://github.com/gi-ev/LNI/compare/v1.4...v1.5
+[1.4]: https://github.com/gi-ev/LNI/compare/v1.3...v1.4
+[1.3]: https://github.com/gi-ev/LNI/compare/v1.2...v1.3
+[1.2]: https://github.com/gi-ev/LNI/compare/v1.1...v1.2
+[1.1]: https://github.com/gi-ev/LNI/compare/v1.0...v1.1
 [1.0]: https://github.com/gi-ev/LNI/releases/tag/v1.0

Modified: trunk/Master/texmf-dist/doc/latex/lni/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lni/README.md	2024-01-09 21:08:00 UTC (rev 69360)
+++ trunk/Master/texmf-dist/doc/latex/lni/README.md	2024-01-09 21:08:09 UTC (rev 69361)
@@ -3,8 +3,8 @@
 ```yaml
 ----------------------------------------------------------------------------
 lni -- A class for submissions to the ``Lecture Notes in Informatics''
-(c) 2016-2023 Gesellschaft für Informatik (GI)
-Version:    1.8
+(c) 2016-2024 Gesellschaft für Informatik (GI)
+Version:    1.8.1
 Maintainer: Martin Sievers
 Email:      martin.sievers at schoenerpublizieren.de
 License:    Released under the LaTeX Project Public License v1.3c or later

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

Modified: trunk/Master/texmf-dist/source/latex/lni/lni.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/lni/lni.dtx	2024-01-09 21:08:00 UTC (rev 69360)
+++ trunk/Master/texmf-dist/source/latex/lni/lni.dtx	2024-01-09 21:08:09 UTC (rev 69361)
@@ -60,7 +60,7 @@
 
 \postamble
 
-Copyright (C) 2016-2023 by Gesellschaft für Informatik e.V. (GI)
+Copyright (C) 2016-2024 by Gesellschaft für Informatik e.V. (GI)
 
 This work may be distributed and/or modified under the
 conditions of the LaTeX Project Public License (LPPL), either
@@ -134,7 +134,7 @@
 %<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
 %<class>\ProvidesClass{lni}
 %<*class>
-    [2023/11/26 v1.8 Official class for submissions to the ``Lecture Notes
+    [2024/01/08 v1.8.1 Official class for submissions to the ``Lecture Notes
     in Informatics'']
 %</class>
 %<*driver>
@@ -425,8 +425,8 @@
 % \DescribeOption{anonymous (new in v1.8)}To easily anonymize a paper for
 % blind review, use this option. Then all author information will be replaced
 % with a placeholder. Additionally, there is a new macro \cs{anon\marg{hide in review}}
-% which will be replaced with ``ANONIMIZED'' if the option is set.
-% Also, \cs{anon\marg[for review]{for final version}} can be used that outputs ``for review''
+% which will be replaced with ``ANONYMIZED'' if the option is set.
+% Also, \cs{anon\oarg{for review}\marg{for final version}} can be used that outputs ``for review''
 % if the option is set, and ``for final version'' otherwise.
 %
 % \newpage
@@ -826,7 +826,7 @@
    \ifPDFTeX
       \IfFileExists{newtxtext.sty}
          {%
-            \RequirePackage{newtxtext}
+            \RequirePackage[defaultsups]{newtxtext}
             \RequirePackage{newtxmath}
             \RequirePackage[zerostyle=b,scaled=.9]{newtxtt}
 %    \end{macrocode}
@@ -1043,12 +1043,48 @@
 \RequirePackage{enumitem}
 \RequirePackage[hang]{footmisc}
 \setlength{\footnotemargin}{1em}
-\def\@makefnmark{\rlap{\normalfont\@thefnmark}}%
-
+\long\def\@makefntext#1{%
+   \def\@makefnmark{\rlap{\normalfont\@thefnmark}}%
+   \ifFN at hangfoot
+      \bgroup
+      \setbox\@tempboxa\hbox{%
+         \ifdim\footnotemargin>0pt
+            \hb at xt@\footnotemargin{\@makefnmark\hss}%
+         \else
+            \@makefnmark
+         \fi
+      }%
+      \leftmargin\wd\@tempboxa
+      \rightmargin\z@
+      \linewidth \columnwidth
+      \advance \linewidth -\leftmargin
+      \parshape \@ne \leftmargin \linewidth
+      \@totalleftmargin \leftmargin
+      \footnotesize
+      \@setpar{{\@@par}}%
+      \leavevmode
+      \llap{\box\@tempboxa}%
+      \parskip\hangfootparskip\relax
+      \parindent\hangfootparindent\relax
+   \else
+      \parindent1em
+      \noindent
+      \ifdim\footnotemargin>\z@
+         \hb at xt@ \footnotemargin{\hss\@makefnmark}%
+      \else
+         \ifdim\footnotemargin=\z@
+            \llap{\@makefnmark}%
+         \else
+            \llap{\hb at xt@ -\footnotemargin{\@makefnmark\hss}}%
+         \fi
+      \fi
+   \fi
+   \footnotelayout#1%
+   \ifFN at hangfoot
+      \par\egroup
+   \fi
+}
 %    \end{macrocode}
-%    \begin{macrocode}
-%\def\@makefnmark{\rlap{\normalfont\@thefnmark}}%
-%    \end{macrocode}
 % We fix the basewidth for lstlistings:
 % The default setting of listings with ``fixed columns'' has a space 0.6em
 % wide, while the characters in TX Typewriter (as in Computer Modern
@@ -1113,7 +1149,7 @@
 \renewcommand\Authsep{, }
 \renewcommand\Authands{\iflanguage{ngerman}{ und }{, and }}
 \renewcommand\Authand{\iflanguage{ngerman}{ und }{ and }}
-\renewcommand{\AB at authnote}[1]{$^{\mbox{\footnotesize #1}}$}
+\renewcommand{\AB at authnote}[1]{$^{\text{\mbox{\normalfont\footnotesize #1}}}$}
 \renewcommand\author[4][]{%
    \ifnewaffil\addtocounter{affil}{1}%
       \edef\AB at thenote{\arabic{affil}}%
@@ -1162,7 +1198,6 @@
 
    \newaffilfalse
 }
-
 \renewcommand\@author{%
    \ifx\AB at affillist\AB at empty\AB at author\else
       \ifnum\value{affil}>\value{Maxaffil}\def\rlap##1{##1}%
@@ -1171,7 +1206,6 @@
       \fi%
    \fi%
 }
-
 \renewcommand\affil[2][]{%
    \newaffiltrue\let\AB at blk@and\AB at pand
    \if\relax#1\relax\def\AB at note{\AB at thenote}\else\def\AB at note{#1}%
@@ -1186,12 +1220,11 @@
    \gdef\AB at las{}\gdef\AB at au@str{}%
    {\def\\{, \ignorespaces}\xdef\AB at temp{#2}}%
    \@temptokena=\expandafter{\AB at affillist}%
-   \xdef\AB at affillist{\the\@temptokena \AB at affilsep
+   \xdef\AB at affillist{\the\@temptokena 
       \footnotetext[\AB at note]{%
          \raggedright\AB at temp\ifcsempty{@emailsandorcids\AB at note}{}{, \csuse{@emailsandorcids\AB at note}}}%
    }
    \endgroup
-   \let\AB at affilsep\AB at affilsepx
    \setcounter{footnote}{#1}
 }
 %    \end{macrocode}
@@ -1392,13 +1425,6 @@
   \vfill\kern-3\p@
   \hrule\@width 5cm
   \kern2.6\p@}
-   %\newdimen\fnindent
-   %\fnindent0.18cm
-   %\long\def\@makefntext#1{%
-    %\parindent \fnindent%
-    %\leftskip \fnindent% Einrückung vor der footnotemark
-    %\noindent
-    %\llap{\hb at xt@0.10cm{\hss\@makefnmark\ }}\ignorespaces#1}
 %    \end{macrocode}
 %    \begin{macrocode}
 \setlength{\parindent}{0pt}

Modified: trunk/Master/texmf-dist/tex/latex/lni/lni.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lni/lni.cls	2024-01-09 21:08:00 UTC (rev 69360)
+++ trunk/Master/texmf-dist/tex/latex/lni/lni.cls	2024-01-09 21:08:09 UTC (rev 69361)
@@ -14,7 +14,7 @@
 %% --------| -----------------------------------------------------------------
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesClass{lni}
-    [2023/11/26 v1.8 Official class for submissions to the ``Lecture Notes
+    [2024/01/08 v1.8.1 Official class for submissions to the ``Lecture Notes
     in Informatics'']
 \RequirePackage{iftex}\ifluatex\else\pdfoutput=1\fi%
 \def\@clearglobaloption#1{%
@@ -110,7 +110,7 @@
    \ifPDFTeX
       \IfFileExists{newtxtext.sty}
          {%
-            \RequirePackage{newtxtext}
+            \RequirePackage[defaultsups]{newtxtext}
             \RequirePackage{newtxmath}
             \RequirePackage[zerostyle=b,scaled=.9]{newtxtt}
             \@ifpackagelater{newtxtt}{2014/11/18}%
@@ -290,8 +290,47 @@
 \RequirePackage{enumitem}
 \RequirePackage[hang]{footmisc}
 \setlength{\footnotemargin}{1em}
-\def\@makefnmark{\rlap{\normalfont\@thefnmark}}%
-
+\long\def\@makefntext#1{%
+   \def\@makefnmark{\rlap{\normalfont\@thefnmark}}%
+   \ifFN at hangfoot
+      \bgroup
+      \setbox\@tempboxa\hbox{%
+         \ifdim\footnotemargin>0pt
+            \hb at xt@\footnotemargin{\@makefnmark\hss}%
+         \else
+            \@makefnmark
+         \fi
+      }%
+      \leftmargin\wd\@tempboxa
+      \rightmargin\z@
+      \linewidth \columnwidth
+      \advance \linewidth -\leftmargin
+      \parshape \@ne \leftmargin \linewidth
+      \@totalleftmargin \leftmargin
+      \footnotesize
+      \@setpar{{\@@par}}%
+      \leavevmode
+      \llap{\box\@tempboxa}%
+      \parskip\hangfootparskip\relax
+      \parindent\hangfootparindent\relax
+   \else
+      \parindent1em
+      \noindent
+      \ifdim\footnotemargin>\z@
+         \hb at xt@ \footnotemargin{\hss\@makefnmark}%
+      \else
+         \ifdim\footnotemargin=\z@
+            \llap{\@makefnmark}%
+         \else
+            \llap{\hb at xt@ -\footnotemargin{\@makefnmark\hss}}%
+         \fi
+      \fi
+   \fi
+   \footnotelayout#1%
+   \ifFN at hangfoot
+      \par\egroup
+   \fi
+}
 \lstset{%
    basicstyle=\ttfamily,%
    columns=fixed,%
@@ -332,7 +371,7 @@
 \renewcommand\Authsep{, }
 \renewcommand\Authands{\iflanguage{ngerman}{ und }{, and }}
 \renewcommand\Authand{\iflanguage{ngerman}{ und }{ and }}
-\renewcommand{\AB at authnote}[1]{$^{\mbox{\footnotesize #1}}$}
+\renewcommand{\AB at authnote}[1]{$^{\text{\mbox{\normalfont\footnotesize #1}}}$}
 \renewcommand\author[4][]{%
    \ifnewaffil\addtocounter{affil}{1}%
       \edef\AB at thenote{\arabic{affil}}%
@@ -381,7 +420,6 @@
 
    \newaffilfalse
 }
-
 \renewcommand\@author{%
    \ifx\AB at affillist\AB at empty\AB at author\else
       \ifnum\value{affil}>\value{Maxaffil}\def\rlap##1{##1}%
@@ -390,7 +428,6 @@
       \fi%
    \fi%
 }
-
 \renewcommand\affil[2][]{%
    \newaffiltrue\let\AB at blk@and\AB at pand
    \if\relax#1\relax\def\AB at note{\AB at thenote}\else\def\AB at note{#1}%
@@ -405,12 +442,11 @@
    \gdef\AB at las{}\gdef\AB at au@str{}%
    {\def\\{, \ignorespaces}\xdef\AB at temp{#2}}%
    \@temptokena=\expandafter{\AB at affillist}%
-   \xdef\AB at affillist{\the\@temptokena \AB at affilsep
+   \xdef\AB at affillist{\the\@temptokena
       \footnotetext[\AB at note]{%
          \raggedright\AB at temp\ifcsempty{@emailsandorcids\AB at note}{}{, \csuse{@emailsandorcids\AB at note}}}%
    }
    \endgroup
-   \let\AB at affilsep\AB at affilsepx
    \setcounter{footnote}{#1}
 }
 \newcommand{\authorrunning}[1]{%
@@ -557,13 +593,6 @@
   \vfill\kern-3\p@
   \hrule\@width 5cm
   \kern2.6\p@}
-   %\newdimen\fnindent
-   %\fnindent0.18cm
-   %\long\def\@makefntext#1{%
-    %\parindent \fnindent%
-    %\leftskip \fnindent% Einrückung vor der footnotemark
-    %\noindent
-    %\llap{\hb at xt@0.10cm{\hss\@makefnmark\ }}\ignorespaces#1}
 \setlength{\parindent}{0pt}
 \setlength{\parskip}{8pt}
 \setlist{topsep=0pt,itemsep=7pt,parsep=-2pt}



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