From fe808b04aacd142aa3c61a7e9bb3aea47864c1b2 Mon Sep 17 00:00:00 2001 From: "Achim D. Brucker" Date: Wed, 30 Nov 2022 07:35:07 +0000 Subject: [PATCH] Switched to \newrobustcommand from etoolbox. --- CHANGELOG.md | 5 ++++- authorarchive.sty | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9958243..a2cdb46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Changed - use style `orcidlink.sty` instead of local logo for the ORCID icon. -- `\authorsetup{}` is now the preferred way for configuring the package +- `\authorsetup{}` is now the preferred way for configuring the package. +- use style `etoolbox.sty` providing `\newrobustcommand{}`, which is + used instead of `\DeclareRobustCommand{}` for defining BibTeX-logo + (avoids problems with `lni.cls`). ## [1.2.1] - 2022-04-25 diff --git a/authorarchive.sty b/authorarchive.sty index a8c8e2a..1ee9406 100644 --- a/authorarchive.sty +++ b/authorarchive.sty @@ -25,7 +25,8 @@ \RequirePackage{hyperref} \RequirePackage{calc} \RequirePackage{qrcode} -\DeclareRobustCommand\BibTeX{Bib\TeX} +\RequirePackage{etoolbox} +\newrobustcmd\BibTeX{Bib\TeX} % %Better url breaking \g@addto@macro{\UrlBreaks}{\UrlOrds}