From 10a2fa33dd357ae2299758f2755cf9d2e5132ef3 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Thu, 15 Mar 2018 10:23:28 +0100 Subject: [PATCH 01/11] Switch to intopdf --- CHANGELOG.md | 2 +- authorarchive.sty | 45 +++++---------------------------------------- 2 files changed, 6 insertions(+), 41 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7cd5ff5..b191d4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Updated LNCS output to the requirements of [Springer's Consent to Publish v3](http://resource-cms.springer.com/springer-cms/rest/v1/content/731196/data/v3). - If `nourl` is active, the DOI is used as link for the QR code. - Text is centered if no QR code (`nourl` + no DOI) is generated. -- File embedding is implemented using the [attachfilfe](https://ctan.org/pkg/attachfile) package. +- File embedding is implemented using the [intopdf](https://www.ctan.org/pkg/intopdf) package. Links to the embedded files are shown in the generated PDF. - ACM format adapted to [acmart](https://github.com/borisveytsman/acmart) v1.50. ## [1.0.0] - 2018-02-21 diff --git a/authorarchive.sty b/authorarchive.sty index f6e7546..ab3a2ca 100644 --- a/authorarchive.sty +++ b/authorarchive.sty @@ -20,7 +20,7 @@ \RequirePackage[inline]{enumitem} \RequirePackage{graphicx} \RequirePackage{eso-pic} -\RequirePackage{attachfile} +\RequirePackage{intopdf} \RequirePackage{kvoptions} \RequirePackage{hyperref} \RequirePackage{calc} @@ -259,59 +259,24 @@ \ifAA@nobib\relax\else% \ifthenelse{\boolean{AA@bibExists}}{% \hfill - % We need "doubleprint", because the text of \textattachfile - % is not printed when printing a PDF - % We use the idea from - % https://tex.stackexchange.com/a/19045/9075, accepting that - % the pointers to the files are renderedin semi-bold way - \newlength{\Urlname} - \newcommand{\doubleprint}[1]{\setlength{\Urlname}{\widthof{#1}}\hspace{-\Urlname}#1} \begin{itemize*}[label={}, itemjoin={,}] \IfFileExists{\AA@bibBibTeX}{% - \item \textattachfile[% - print=true,% - color=0 0 0,% - icon=Paperclip,% - description={BibTeX entry of this paper},% - mimetype=application/x-bibtex% - ]{\AA@bibBibTeX}{\BibTeX}% - \doubleprint{\BibTeX} + \item \attachandlink{\AA@bibBibTeX}[application/x-bibtex]{BibTeX entry of this paper}{\BibTeX}% }{ \typeout{No file \AA@bibBibTeX found. Not embedded reference in BibTeX format.} } \IfFileExists{\AA@bibWord}{% - \item \textattachfile[% - print=true,% - color=0 0 0,% - icon=Paperclip,% - description={XML entry of this paper (e.g., for Word 2007 and later)},% - mimetype=application/xml% - ]{\AA@bibWord}{Word}% - \doubleprint{Word}% + \item \attachandlink{\AA@bibWord}[application/xml]{XML entry of this paper (e.g., for Word 2007 and later)}{Word}% }{ \typeout{No file \AA@bibWord found. Not embedded reference for Word 2007 and later.} } \IfFileExists{\AA@bibEndnote}{% - \item \textattachfile[% - print=true,% - color=0 0 0,% - icon=Paperclip,% - description={Endnote entry of this paper},% - mimetype=application/x-endnote-refer% - ]{\AA@bibEndnote}{EndNote}% - \doubleprint{EndNote}% + \item \attachandlink{\AA@bibEndnote}[application/x-endnote-refer]{Endnote entry of this paper}{EndNote}% }{ \typeout{No file \AA@bibEndnote found. Not embedded reference in Endnote format.} } \IfFileExists{\AA@bibRIS}{% - \item \textattachfile[% - print=true,% - color=0 0 0,% - icon=Paperclip,% - description={RIS entry of this paper},% - mimetype=application/x-research-info-systems% - ]{\AA@bibRIS}{RIS}% - \doubleprint{RIS}% + \item \attachandlink{\AA@bibRIS}[application/x-research-info-systems]{RIS entry of this paper}{RIS}% }{ \typeout{No file \AA@bibRIS found. Not embedded reference in RIS format.} } From 664e0a518f36abb51dd757cd8f7189bbe97b1df3 Mon Sep 17 00:00:00 2001 From: "Achim D. Brucker" Date: Fri, 30 Mar 2018 21:38:45 +0100 Subject: [PATCH 02/11] Clarified LPPL version (1.3c or any later). --- README.md | 4 ++-- authorarchive.sty | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8266a9b..25bc63c 100644 --- a/README.md +++ b/README.md @@ -167,5 +167,5 @@ Main author: [Achim D. Brucker](http://www.brucker.ch/) ## License If not otherwise stated, all sub-projects are dual-licensed under a -2-clause BSD-style license and/or the LPPL version 1 or any later -version. +2-clause BSD-style license and/or the LPPL version 1.3c or (at your +opinion) any later version. diff --git a/authorarchive.sty b/authorarchive.sty index ab3a2ca..230d8b1 100644 --- a/authorarchive.sty +++ b/authorarchive.sty @@ -4,11 +4,11 @@ %% This program can be redistributed and/or modified under the terms %% of the LaTeX Project Public License Distributed from CTAN %% archives in directory macros/latex/base/lppl.txt; either -%% version 1 of the License, or any later version. +%% version 1.3c of the License, or (at your option) any later version. %% OR %% The 2-clause BSD-style license. %% -%% SPDX-License-Identifier: LPPL-1.0+ OR BSD-2-Clause +%% SPDX-License-Identifier: LPPL-1.3c+ OR BSD-2-Clause \NeedsTeXFormat{LaTeX2e}\relax \ProvidesPackage{authorarchive} [0000/00/00 Unreleased v1.0.0+% From ad4ff9a6c1200fabeb546502054980d9bda12777 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Tue, 3 Apr 2018 07:26:34 +0200 Subject: [PATCH 03/11] Add SPDX identifier --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 25bc63c..060a471 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,6 @@ converting between these different formats for bibliographic references easily. ## Notes on Self-Archiving - Before using this package, please check with your signed copyright form, which rights you have. None of the authors might be hold liable for copyright violations by using this package. @@ -115,7 +114,7 @@ Thus, the proposed configuration for Springer is as follows: \usepackage[LNCS, key=brucker-authorarchive-2016, year=2016, - publication={Anonymous et al. (eds). Proceedings of the International + publication={Anonymous et al.\ (eds). Proceedings of the International Conference on LaTeX-Hacks, LNCS~42. Springer, 2016.} startpage={42}, doi={10.1038/authorarchive}, @@ -131,7 +130,7 @@ prints the note centered at the bottom of the first page. \usepackage[ key=brucker-authorarchive-2017, year=2017, - publication={Anonymous et al. (eds). Proceedings of the International + publication={Anonymous et al.\ (eds). Proceedings of the International Conference on LaTeX-Hacks, CEUR-WS Vol~42, 2017.} startpage={42}, doi={10.1039/authorarchive}, @@ -169,3 +168,5 @@ Main author: [Achim D. Brucker](http://www.brucker.ch/) If not otherwise stated, all sub-projects are dual-licensed under a 2-clause BSD-style license and/or the LPPL version 1.3c or (at your opinion) any later version. + +SPDX-License-Identifier: LPPL-1.3c+ OR BSD-2-Clause From 15b50b4c265b28255f55c6640713caf29abc8eec Mon Sep 17 00:00:00 2001 From: "Achim D. Brucker" Date: Mon, 9 Apr 2018 03:59:08 +0100 Subject: [PATCH 04/11] Added empty lines after headings. --- README.md | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 060a471..5342dba 100644 --- a/README.md +++ b/README.md @@ -18,11 +18,13 @@ ## Installation + Copy `authorarchive.sty` in a directory that is searched by LaTeX (e.g,. either your `texmf` tree or the local directory with your main LaTeX file. ## Usage + A simple use for LNCS-formatted papers is as follows: ```tex \usepackage[LNCS, @@ -54,6 +56,7 @@ be adapted easily to other layouts. For example, works nicely for Acta Informatica. ### Boolean Switches + | Switch | Meaning | | -- | -- | | `nocopyright` | If present, no publisher's copyright notice is printed. Usual case for LNCS. | @@ -61,6 +64,7 @@ works nicely for Acta Informatica. | `nobib` | If present, no embedding of bibliographic entries is made. | ### Key/Value Options + | Option | Default | Meaning | | -- | -- | -- | | `bibtexdir`| `.` | The directory where the bibliography entries are listed. | @@ -82,6 +86,7 @@ loaded automatically. This allows for configuring defaults (e.g., the baseurl) easily. ## Embedding Bibliography Entries + Mostly, it is hard for scientists to find the correct bibtex entry for a paper. One solution to this issue is to embed the respective `.bib` (BibTeX, for LaTeX users), `.enw` (Endnote), `.ris`, or `.word.xml` @@ -94,19 +99,27 @@ converting between these different formats for bibliographic references easily. ## Notes on Self-Archiving + Before using this package, please check with your signed copyright form, which rights you have. None of the authors might be hold liable for copyright violations by using this package. ### LNCS + Sprinter states in his [Springer's Consent to Publish v3](http://resource-cms.springer.com/springer-cms/rest/v1/content/731196/data/v3): -> Author may only post his/her own version, provided acknowledgment is given to the original source of publication and a link is inserted to the published article on Springer’s website. -> The link must be provided by inserting the DOI number of the article in the following sentence: -> "The final publication is available at Springer via `http://dx.doi.org/[insert DOI]`". -The DOI (Digital Object Identifier) can be found at the bottom of the first page of the published paper. +> Author may only post his/her own version, provided acknowledgment is given +> to the original source of publication and a link is inserted to the published +> article on Springer’s website. +> The link must be provided by inserting the DOI number of the article in the +> following sentence: +> "The final publication is available at Springer via +> `http://dx.doi.org/[insert DOI]`". +The DOI (Digital Object Identifier) can be found at the bottom of the first + page of the published paper. -This package uses `https://doi.org` as `http://dx.doi.org` [is deprecated](https://www.doi.org/factsheets/DOIIdentifierSpecs.html). +This package uses `https://doi.org` as `http://dx.doi.org` +[is deprecated](https://www.doi.org/factsheets/DOIIdentifierSpecs.html). Thus, the proposed configuration for Springer is as follows: @@ -123,6 +136,7 @@ Thus, the proposed configuration for Springer is as follows: ``` ## Other publishers + One does not need to specify a certain publisher. The default setting just prints the note centered at the bottom of the first page. @@ -140,6 +154,7 @@ prints the note centered at the bottom of the first page. ## Alternative Packages + The package [coverpage](https://ctan.org/pkg/coverpage) prepends a separate PDF page before the first page of the paper. That page contains the bibliographic information as BibTeX entry. One is forced @@ -157,14 +172,17 @@ publication states "intended-to-submit" and "submitted", but no QR code and links to the author's archive URL. ## Authors + Main author: [Achim D. Brucker](http://www.brucker.ch/) ### Contributors + * [Oliver Kopp](https://github.com/koppor/) ## License + If not otherwise stated, all sub-projects are dual-licensed under a 2-clause BSD-style license and/or the LPPL version 1.3c or (at your opinion) any later version. From 57ad451139109ed9b60499bd76ccb21024f81ba7 Mon Sep 17 00:00:00 2001 From: "Achim D. Brucker" Date: Mon, 9 Apr 2018 04:07:36 +0100 Subject: [PATCH 05/11] Added brief note on package options for non LNCS document classes. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5342dba..b697df7 100644 --- a/README.md +++ b/README.md @@ -137,8 +137,8 @@ Thus, the proposed configuration for Springer is as follows: ## Other publishers -One does not need to specify a certain publisher. The default setting just -prints the note centered at the bottom of the first page. +In general, one does not need to specify a certain publisher (or LaTeX document class). +The default setting just prints the note centered at the bottom of the first page. ```latex \usepackage[ @@ -152,6 +152,8 @@ prints the note centered at the bottom of the first page. ]{authorarchive} ``` +Still, for some used document classes (e.g., `acmart`) there are specific +package options available hat produce an alternative layout. ## Alternative Packages From b6bf1cc4193d550026517bb544201ba6dd4135c5 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Fri, 13 Apr 2018 08:15:59 +0200 Subject: [PATCH 06/11] Use lastpage package --- CHANGELOG.md | 1 + authorarchive.sty | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b191d4d..6f2a381 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Text is centered if no QR code (`nourl` + no DOI) is generated. - File embedding is implemented using the [intopdf](https://www.ctan.org/pkg/intopdf) package. Links to the embedded files are shown in the generated PDF. - ACM format adapted to [acmart](https://github.com/borisveytsman/acmart) v1.50. +- Use [lastpage](https://ctan.org/pkg/lastpage) package instead of custom label. ## [1.0.0] - 2018-02-21 ### Added diff --git a/authorarchive.sty b/authorarchive.sty index 230d8b1..81337dc 100644 --- a/authorarchive.sty +++ b/authorarchive.sty @@ -181,8 +181,7 @@ pdftitle = {\@title}, } -\AtEndDocument{\label{LastPage}} - +\RequirePackage{lastpage} \newsavebox{\AA@authoratBox} From 4c978c5e818cdf6473d81c5062f6bc2fa6889327 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Fri, 13 Apr 2018 08:46:19 +0200 Subject: [PATCH 07/11] Add support for a4paper class option at LNCS --- CHANGELOG.md | 1 + authorarchive.sty | 9 +++++++-- .../brucker-authorarchive-2016-llncs-a4.tex | 20 +++++++++++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 examples/brucker-authorarchive-2016-llncs-a4.tex diff --git a/CHANGELOG.md b/CHANGELOG.md index b191d4d..74fdc4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Added - The links to the embedded files (references) are typeset at the bottom of the paper. +- Support for `a4paper` for LNCS papers. ### Changed - Updated LNCS output to the requirements of [Springer's Consent to Publish v3](http://resource-cms.springer.com/springer-cms/rest/v1/content/731196/data/v3). diff --git a/authorarchive.sty b/authorarchive.sty index 230d8b1..0489329 100644 --- a/authorarchive.sty +++ b/authorarchive.sty @@ -137,9 +137,14 @@ %%%% LNCS \ifAA@LNCS% \setkeys{AA}{publisher=Springer-Verlag} - \renewcommand{\authorat}[1]{\put(\LenToUnit{\AA@x},23){#1}} \renewcommand{\authorcrfont}{\scriptsize} - \pdfpagesattr{/CropBox [92 65 523 731]}% LNCS page: 152x235 mm + \@ifclasswith{llncs}{a4paper}{% + \pdfpagesattr{/CropBox [92 114 523 780]}% + \renewcommand{\authorat}[1]{\put(\LenToUnit{\AA@x},40){#1}}% + }{% + \pdfpagesattr{/CropBox [92 65 523 731]}% LNCS page: 152x235 mm + \renewcommand{\authorat}[1]{\put(\LenToUnit{\AA@x},23){#1}} + } \setlength{\AA@width}{\textwidth} \setcounter{tocdepth}{2} \fi diff --git a/examples/brucker-authorarchive-2016-llncs-a4.tex b/examples/brucker-authorarchive-2016-llncs-a4.tex new file mode 100644 index 0000000..bdffbef --- /dev/null +++ b/examples/brucker-authorarchive-2016-llncs-a4.tex @@ -0,0 +1,20 @@ +\documentclass[final, runningheads, USenglish, a4paper, pdftex]{llncs} +\usepackage[T1]{fontenc} +\usepackage[LNCS, + key=brucker-authorarchive-2016, + year=2016, + publication={Anonymous et al.\ (eds). Proceedings of the International + Conference on LaTeX-Hacks, LNCS~42. Some Publisher, 2016}, + startpage={42}, + doi={00/00_00}, + doiText={0/00\_00}, + nocopyright + ]{../authorarchive} + +\usepackage{lipsum} + +\title{A Simple Example of the \texttt{authorarchive} Package for \LaTeX} +\author{\protect\href{http://www.brucker.ch/}{Achim D. Brucker}} +\institute{Some Departement, Somewhere} + +\input{input/body} From 3cd8693c629a353efd563dd70f70339241e7d60e Mon Sep 17 00:00:00 2001 From: "Achim D. Brucker" Date: Wed, 25 Apr 2018 09:46:49 +0100 Subject: [PATCH 08/11] Initial commit: ORCID iD icon. --- icons/README.md | 21 +++++++++++++++++++++ icons/vector_iD_icon.pdf | Bin 0 -> 1197 bytes icons/vector_iD_icon.svg | 17 +++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 icons/README.md create mode 100644 icons/vector_iD_icon.pdf create mode 100644 icons/vector_iD_icon.svg diff --git a/icons/README.md b/icons/README.md new file mode 100644 index 0000000..7157466 --- /dev/null +++ b/icons/README.md @@ -0,0 +1,21 @@ +# Icons for the use with authorarchive + +This directory contains icons that might be used together with +the authorarchive LaTeX style. The use of these icons is +restricted by the respective copyright holders. + +## ORCID iD Icon + +The iD icon ([vector_iD_icon.svg](vector_iD_icon.svg)) was obtained in +SVG format from + and converted +to PDF ([vector_iD_icon.pdf](vector_iD_icon.pdf)) using +[Inkscape](https://inkscape.org). According to the use and (display +guidelines)[https://orcid.org/trademark-and-id-display-guidelines] of +the ORCID iD icons, it can be used for displaying ORCID identifiers. + +An alternative to including the iD icon as PDF image is the +[academicons](https://ctan.org/pkg/academicons) package. At the time +of writing, this package requires xe(la)tex or lua(la)tex while the +[authorarchive](https://ctan.org/pkg/authorarchive) packages requires +pdf(la)tex. diff --git a/icons/vector_iD_icon.pdf b/icons/vector_iD_icon.pdf new file mode 100644 index 0000000000000000000000000000000000000000..59824b11a1e44519ae76846929b25a0ad290e342 GIT binary patch literal 1197 zcmZuxYe*D99PdbaEIlBsAS&iVSK5&~a}T|fQ|#{avX|ExQJB@bH=b+f?zKA?r$$97 z7@c7cxQdJ(5QwG`1wANwQIMpCMS&IB<4bQU>qAk^?0I%n!|v?PZ~pUt{C@vkqt8<` z4`tanThQ`)4 zx0?0_msapUj-uE3JwG2_xf?ID6!whmIJPjY(kf#M@ya$++H=y zd!t6Wd1$aHe1At<#lABew)Q=$NH0A3Bz~dmW%aT6Nv)aAT-8ZLiN#42_ z*268t`M7G=<#o-G;~mFNbY={4lXJnRSX%WK0J@IE1kfe|3xuTN01Oz6?1_)Bm=5?o3Y zlu-x*qTRK{{n_VAy|GBn32D0W01QlDS7%p(zfs zQylnIB@hv5*Jp@=q$&VqAzK!LAft+qa4t{jrD#wU!c~%}WhrVfGgA-brr!jS6xqY1 z$?)WwA+kfOIU736R)|ax&4Dm8C1y@a%tX>|fe0ZbsC#45XhUNBkua*_N)7@$2Zsm9 zw%IH;PzjP)j+xTK29Sp_8>FrE7iP8mYX{MP>=32*ud_LJ`#+ci(pE^?5mk^vSk?b3 qrBWTHDKjzrib4P@Jkc@5a-{+o_qv!G5mcgA=&)sTMq^<~5%(KmDSOxe literal 0 HcmV?d00001 diff --git a/icons/vector_iD_icon.svg b/icons/vector_iD_icon.svg new file mode 100644 index 0000000..2bddf44 --- /dev/null +++ b/icons/vector_iD_icon.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + \ No newline at end of file From b9e9c3f686246a5f040a84e2630aa27a51512d4f Mon Sep 17 00:00:00 2001 From: "Achim D. Brucker" Date: Wed, 25 Apr 2018 09:57:54 +0100 Subject: [PATCH 09/11] Added option for replacing full ORCID identifier by ORCID iD icon and a hyperlink. --- README.md | 17 +++++++++-------- authorarchive.sty | 6 ++++++ 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index b697df7..dc4c6d1 100644 --- a/README.md +++ b/README.md @@ -19,9 +19,9 @@ ## Installation -Copy `authorarchive.sty` in a directory that is searched by LaTeX -(e.g,. either your `texmf` tree or the local directory with your main -LaTeX file. +Copy `authorarchive.sty` and the directory `icons` in a directory that +is searched by LaTeX (e.g,. either your `texmf` tree or the local +directory with your main LaTeX file. ## Usage @@ -57,11 +57,12 @@ works nicely for Acta Informatica. ### Boolean Switches -| Switch | Meaning | -| -- | -- | -| `nocopyright` | If present, no publisher's copyright notice is printed. Usual case for LNCS. | -| `nourl` | If present, no link to the publication is inserted. | -| `nobib` | If present, no embedding of bibliographic entries is made. | +| Switch | Meaning | +| -- | -- | +| `nocopyright` | If present, no publisher's copyright notice is printed. Usual case for LNCS. | +| `nourl` | If present, no link to the publication is inserted. | +| `nobib` | If present, no embedding of bibliographic entries is made. | +| `orcidicon` | For layouts displaying the author's ORCID identifiers as text, replace the ORCID identifier by the ORICD iD icon and a hyperlink (currently only supported for LNCS). | ### Key/Value Options diff --git a/authorarchive.sty b/authorarchive.sty index 82aacfe..5905fd9 100644 --- a/authorarchive.sty +++ b/authorarchive.sty @@ -58,6 +58,7 @@ \DeclareBoolOption{nocopyright} \DeclareBoolOption{nourl} \DeclareBoolOption{nobib} +\DeclareBoolOption{orcidicon} %\ProcessOptions\relax @@ -136,6 +137,11 @@ % %%%% LNCS \ifAA@LNCS% + \ifAA@orcidicon% + \renewcommand{\orcidID}[1]{\href{https://orcid.org/#1}{% + \textsuperscript{\,\includegraphics[height=2\fontcharht\font`A]{vector_iD_icon}}}} + \else\relax\fi% +% \setkeys{AA}{publisher=Springer-Verlag} \renewcommand{\authorcrfont}{\scriptsize} \@ifclasswith{llncs}{a4paper}{% From 758d081616cf84542274f8f83ea3934921a90410 Mon Sep 17 00:00:00 2001 From: "Achim D. Brucker" Date: Thu, 26 Apr 2018 10:37:06 +0100 Subject: [PATCH 10/11] Use totpage for obtaining the page number of the last page, if totpage is already loaded (e.g., acmart loads totpage automatically). --- authorarchive.sty | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/authorarchive.sty b/authorarchive.sty index 5905fd9..666f92d 100644 --- a/authorarchive.sty +++ b/authorarchive.sty @@ -192,8 +192,12 @@ pdftitle = {\@title}, } -\RequirePackage{lastpage} - +\@ifpackageloaded{totpages}{% + \def\aa@lastpage{TotPages} +}{% + \RequirePackage{lastpage} + \def\aa@lastpage{LastPage} +} \newsavebox{\AA@authoratBox} \AddToShipoutPicture*{% @@ -215,7 +219,7 @@ }% \parbox{\AA@width-1.4cm}{\authorcrfont% \ifAA@LNCS% - \AA@publication, pp. \thepage--\pageref{LastPage}, \AA@year. + \AA@publication, pp. \thepage--\pageref{\aa@lastpage}, \AA@year. \ifAA@nocopyright\relax\else \textcopyright~\AA@year~\AA@publisher. \fi @@ -251,7 +255,7 @@ by permission of \AA@publisher{} % \fi for your personal use. Not for redistribution. The definitive - version was published in \emph{\AA@publication}, pp.~\thepage--\pageref{LastPage}, \AA@year% + version was published in \emph{\AA@publication}, pp.~\thepage--\pageref{\aa@lastpage}, \AA@year% \ifx\AA@doi\@empty% \ifx\AA@publisherurl\@empty% .% From a3c92a0e5d3281c49d3f8dd7c6ecd62255a34bb3 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Mon, 18 Jun 2018 15:00:01 +0200 Subject: [PATCH 11/11] Add preprint/post print hint --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dc4c6d1..d4e3ca1 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,11 @@ references easily. ## Notes on Self-Archiving Before using this package, please check with your signed copyright form, -which rights you have. None of the authors might be hold liable for copyright +which rights you have. Especially whether you may self-archive the preprint +or the postprint. For more information on that, read on at +. + +None of the authors might be hold liable for copyright violations by using this package. ### LNCS @@ -182,8 +186,6 @@ Main author: [Achim D. Brucker](http://www.brucker.ch/) * [Oliver Kopp](https://github.com/koppor/) - - ## License If not otherwise stated, all sub-projects are dual-licensed under a