Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/).

## [Unreleased]

### Changed

- When anonymizing a paper, keep the number of authors [#186](https://github.com/gi-ev/LNI/pull/186)

## [2.0] - 2025-02-05

### Removed
Expand Down Expand Up @@ -194,6 +200,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).

First release of the revised files

[Unreleased]: https://github.com/gi-ev/LNI/compare/v2.0...main
[2.0]: https://github.com/gi-ev/LNI/compare/v1.10...v2.0
[1.10]: https://github.com/gi-ev/LNI/compare/v1.9...v1.10
[1.9]: https://github.com/gi-ev/LNI/compare/v1.8.1...v1.9
Expand Down
20 changes: 6 additions & 14 deletions lni.cls
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@
\let\\=\authorcr
\xdef\AB@authlist{\the\@temptokena
\protect\@nameuse{@sep\number\c@authors}%
\protect\Authfont#2\if\relax#4\relax\else\,\orcidlink{#4}\fi\AB@authnote{\AB@note}}%
\protect\Authfont \ifanonymous Anonymized Author\number\c@authors\else#2\fi\if\relax#4\relax\else\,\orcidlink{\ifanonymous 0000-0000-0000-0000\else#4\fi}\fi\AB@authnote{\AB@note}}%
\xdef\@authlisthead{\the\@temptokenb
\protect\@nameuse{@sep\number\c@authors}%
\protect\Authfont#2}%
Expand All @@ -422,14 +422,14 @@
\ifcsundef{@emailsandorcids\AB@note}{\csgdef{@emailsandorcids\AB@note}{}}{}%
\sbox\z@{\@tempcnta=0#1\relax}%
\expandafter\ifdim\wd\z@>\z@\relax
\multiaffil{#1}{#3}{#4}
\multiaffil{#1}{\ifanonymous anonymized@example.com\else#3\fi}{\ifanonymous 0000-0000-0000-0000\else#4\fi}
\else
\ifcsundef{@emailsandorcids\AB@note}{\csgdef{@emailsandorcids\AB@note}{}}{}%
\ifcsempty{@emailsandorcids\AB@note}%
{\csgappto{@emailsandorcids\AB@note}{%
\if\relax#3\relax\else\email{#3}\fi\if\relax#4\relax\else,\ \orcid{#4}\fi}}%
\if\relax#3\relax\else\email{\ifanonymous anonymized@example.com\else#3\fi}\fi\if\relax#4\relax\else,\ \orcid{\ifanonymous 0000-0000-0000-0000\else#4\fi}\fi}}%
{\csgappto{@emailsandorcids\AB@note}{%
\if\relax#3\relax\else;\ \email{#3}\fi\if\relax#4\relax\else,\ \orcid{#4}\fi}}%
\if\relax#3\relax\else;\ \email{\ifanonymous anonymized@example.com\else#3\fi}\fi\if\relax#4\relax\else,\ \orcid{\ifanonymous 0000-0000-0000-0000\else#4\fi}\fi}}%
\fi%
\newaffilfalse
}
Expand All @@ -449,11 +449,11 @@
\let\protect\@unexpandable@protect
\def\thanks{\protect\thanks}\def\footnotetext{\protect\footnotetext}%
\@temptokena=\expandafter{\AB@authors}%
{\def\\{\protect\\\protect\Affilfont}\xdef\AB@temp{#2}}%
{\def\\{\protect\\\protect\Affilfont}\xdef\AB@temp{\ifanonymous Anonymized University #1\\Department\\Address\\Country\else#2\fi}}%
\xdef\AB@authors{\the\@temptokena\AB@las\AB@au@str
\protect\\[\affilsep]\protect\Affilfont\AB@temp}%
\gdef\AB@las{}\gdef\AB@au@str{}%
{\def\\{, \ignorespaces}\xdef\AB@temp{#2}}%
{\def\\{, \ignorespaces}\xdef\AB@temp{\ifanonymous Anonymized University #1\\Department\\Address\\Country\else#2\fi}}%
\@temptokena=\expandafter{\AB@affillist}%
\xdef\AB@affillist{\the\@temptokena
\footnotetext[\AB@note]{%
Expand Down Expand Up @@ -529,15 +529,7 @@
\fi%
{\normalsize%
\lineskip .5em%
\ifanonymous
\iflnienglish
Anonymized for review\footnote{placeholder for contact information}
\else
Anonymisiert für Review\footnote{Platzhalter für Kontaktinformationen}
\fi%
\else
\@author
\fi%
\par}%
\vskip 21pt% Abstand vor dem Abstract
\end{center}%
Expand Down
20 changes: 6 additions & 14 deletions lni.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,7 @@ This work consists of the file lni.dtx
\let\\=\authorcr
\xdef\AB@authlist{\the\@temptokena
\protect\@nameuse{@sep\number\c@authors}%
\protect\Authfont#2\if\relax#4\relax\else\,\orcidlink{#4}\fi\AB@authnote{\AB@note}}%
\protect\Authfont \ifanonymous Anonymized Author\number\c@authors\else#2\fi\if\relax#4\relax\else\,\orcidlink{\ifanonymous 0000-0000-0000-0000\else#4\fi}\fi\AB@authnote{\AB@note}}%
\xdef\@authlisthead{\the\@temptokenb
\protect\@nameuse{@sep\number\c@authors}%
\protect\Authfont#2}%
Expand All @@ -1145,14 +1145,14 @@ This work consists of the file lni.dtx
\ifcsundef{@emailsandorcids\AB@note}{\csgdef{@emailsandorcids\AB@note}{}}{}%
\sbox\z@{\@tempcnta=0#1\relax}%
\expandafter\ifdim\wd\z@>\z@\relax
\multiaffil{#1}{#3}{#4}
\multiaffil{#1}{\ifanonymous anonymized@example.com\else#3\fi}{\ifanonymous 0000-0000-0000-0000\else#4\fi}
\else
\ifcsundef{@emailsandorcids\AB@note}{\csgdef{@emailsandorcids\AB@note}{}}{}%
\ifcsempty{@emailsandorcids\AB@note}%
{\csgappto{@emailsandorcids\AB@note}{%
\if\relax#3\relax\else\email{#3}\fi\if\relax#4\relax\else,\ \orcid{#4}\fi}}%
\if\relax#3\relax\else\email{\ifanonymous anonymized@example.com\else#3\fi}\fi\if\relax#4\relax\else,\ \orcid{\ifanonymous 0000-0000-0000-0000\else#4\fi}\fi}}%
{\csgappto{@emailsandorcids\AB@note}{%
\if\relax#3\relax\else;\ \email{#3}\fi\if\relax#4\relax\else,\ \orcid{#4}\fi}}%
\if\relax#3\relax\else;\ \email{\ifanonymous anonymized@example.com\else#3\fi}\fi\if\relax#4\relax\else,\ \orcid{\ifanonymous 0000-0000-0000-0000\else#4\fi}\fi}}%
\fi%
\newaffilfalse
}
Expand All @@ -1172,11 +1172,11 @@ This work consists of the file lni.dtx
\let\protect\@unexpandable@protect
\def\thanks{\protect\thanks}\def\footnotetext{\protect\footnotetext}%
\@temptokena=\expandafter{\AB@authors}%
{\def\\{\protect\\\protect\Affilfont}\xdef\AB@temp{#2}}%
{\def\\{\protect\\\protect\Affilfont}\xdef\AB@temp{\ifanonymous Anonymized University #1\\Department\\Address\\Country\else#2\fi}}%
\xdef\AB@authors{\the\@temptokena\AB@las\AB@au@str
\protect\\[\affilsep]\protect\Affilfont\AB@temp}%
\gdef\AB@las{}\gdef\AB@au@str{}%
{\def\\{, \ignorespaces}\xdef\AB@temp{#2}}%
{\def\\{, \ignorespaces}\xdef\AB@temp{\ifanonymous Anonymized University #1\\Department\\Address\\Country\else#2\fi}}%
\@temptokena=\expandafter{\AB@affillist}%
\xdef\AB@affillist{\the\@temptokena
\footnotetext[\AB@note]{%
Expand Down Expand Up @@ -1273,15 +1273,7 @@ This work consists of the file lni.dtx
\fi%
{\normalsize%
\lineskip .5em%
\ifanonymous
\iflnienglish
Anonymized for review\footnote{placeholder for contact information}
\else
Anonymisiert für Review\footnote{Platzhalter für Kontaktinformationen}
\fi%
\else
\@author
\fi%
\par}%
\vskip 21pt% Abstand vor dem Abstract
\end{center}%
Expand Down
Loading