From d13f4aa60ac176e565e64bddd1c59f089551b2d0 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 23 Jun 2019 20:57:00 +0000 Subject: authorarchive (23jun19) git-svn-id: svn://tug.org/texlive/trunk@51430 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/authorarchive/CHANGELOG.md | 30 ++- Master/texmf-dist/doc/latex/authorarchive/LICENSE | 2 +- .../texmf-dist/doc/latex/authorarchive/README.md | 160 +++++++++++--- .../doc/latex/authorarchive/authorarchive.config | 3 - .../authorarchive/brucker-authorarchive-2016.bib | 12 -- .../authorarchive/brucker-authorarchive-2016.enw | 8 - .../authorarchive/brucker-authorarchive-2016.pdf | Bin 205868 -> 0 bytes .../authorarchive/brucker-authorarchive-2016.ris | 9 - .../authorarchive/brucker-authorarchive-2016.tex | 36 ---- .../brucker-authorarchive-2016.word.xml | 16 -- .../authorarchive/examples/authorarchive.config | 4 + .../examples/bib/brucker-authorarchive-2016.bib | 12 ++ .../examples/bib/brucker-authorarchive-2016.enw | 8 + .../examples/bib/brucker-authorarchive-2016.ris | 9 + .../bib/brucker-authorarchive-2016.word.xml | 16 ++ .../brucker-authorarchive-2016-IEEEtran-nourl.pdf | Bin 0 -> 63602 bytes .../brucker-authorarchive-2016-IEEEtran-nourl.tex | 22 ++ .../brucker-authorarchive-2016-IEEEtran.pdf | Bin 0 -> 67739 bytes .../brucker-authorarchive-2016-IEEEtran.tex | 23 ++ .../examples/brucker-authorarchive-2016-acmart.pdf | Bin 0 -> 372202 bytes .../examples/brucker-authorarchive-2016-acmart.tex | 27 +++ .../examples/brucker-authorarchive-2016-entcs.pdf | Bin 0 -> 235414 bytes .../examples/brucker-authorarchive-2016-entcs.tex | 38 ++++ .../brucker-authorarchive-2016-llncs-a4.pdf | Bin 0 -> 211369 bytes .../brucker-authorarchive-2016-llncs-a4.tex | 20 ++ .../examples/brucker-authorarchive-2016-llncs.pdf | Bin 0 -> 212269 bytes .../examples/brucker-authorarchive-2016-llncs.tex | 27 +++ .../examples/brucker-authorarchive-2016-lni.pdf | Bin 0 -> 71297 bytes .../examples/brucker-authorarchive-2016-lni.tex | 24 +++ .../brucker-authorarchive-2016-sig-alternate.pdf | Bin 0 -> 112996 bytes .../brucker-authorarchive-2016-sig-alternate.tex | 23 ++ .../examples/brucker-authorarchive-2016.pdf | Bin 0 -> 216721 bytes .../examples/brucker-authorarchive-2016.tex | 18 ++ .../latex/authorarchive/examples/input/body.tex | 18 ++ .../doc/latex/authorarchive/icons/README.md | 21 ++ .../latex/authorarchive/icons/vector_iD_icon.pdf | Bin 0 -> 1197 bytes .../latex/authorarchive/icons/vector_iD_icon.svg | 17 ++ .../tex/latex/authorarchive/authorarchive.sty | 238 +++++++++++++-------- 38 files changed, 635 insertions(+), 206 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/authorarchive/authorarchive.config delete mode 100644 Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.bib delete mode 100644 Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.enw delete mode 100644 Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.pdf delete mode 100644 Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.ris delete mode 100644 Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.tex delete mode 100644 Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.word.xml create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/authorarchive.config create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/bib/brucker-authorarchive-2016.bib create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/bib/brucker-authorarchive-2016.enw create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/bib/brucker-authorarchive-2016.ris create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/bib/brucker-authorarchive-2016.word.xml create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-IEEEtran-nourl.pdf create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-IEEEtran-nourl.tex create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-IEEEtran.pdf create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-IEEEtran.tex create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-acmart.pdf create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-acmart.tex create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-entcs.pdf create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-entcs.tex create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-llncs-a4.pdf create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-llncs-a4.tex create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-llncs.pdf create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-llncs.tex create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-lni.pdf create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-lni.tex create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-sig-alternate.pdf create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-sig-alternate.tex create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016.pdf create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016.tex create mode 100644 Master/texmf-dist/doc/latex/authorarchive/examples/input/body.tex create mode 100644 Master/texmf-dist/doc/latex/authorarchive/icons/README.md create mode 100644 Master/texmf-dist/doc/latex/authorarchive/icons/vector_iD_icon.pdf create mode 100644 Master/texmf-dist/doc/latex/authorarchive/icons/vector_iD_icon.svg (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/authorarchive/CHANGELOG.md b/Master/texmf-dist/doc/latex/authorarchive/CHANGELOG.md index 8c3de8a3c7d..4728ea73e5a 100644 --- a/Master/texmf-dist/doc/latex/authorarchive/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/authorarchive/CHANGELOG.md @@ -1,9 +1,37 @@ # Changelog + All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). -## [1.0.0] - 2018-02-21 +## [1.1.1] - 2019-06-23 + +- Added PDF versions of the examples to the CTAN upload. + +### Added + +## [1.1.0] - 2019-06-23 + +### 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). +- If `nourl` is active, the DOI is used as link for the QR code. +- 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 + - Initial version uploaded to CTAN. + +[Unreleased]: https://github.com/adbrucker/authorarchive/compare/v1.1.1...HEAD +[1.1.1]: https://github.com/adbrucker/authorarchive/compare/v1.1.0...v1.1.1 +[1.1.0]: https://github.com/adbrucker/authorarchive/compare/v1.0.0...v1.1.0 diff --git a/Master/texmf-dist/doc/latex/authorarchive/LICENSE b/Master/texmf-dist/doc/latex/authorarchive/LICENSE index b7d556eb40f..f260d51cbc6 100644 --- a/Master/texmf-dist/doc/latex/authorarchive/LICENSE +++ b/Master/texmf-dist/doc/latex/authorarchive/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2008-2016 Achim D. Brucker +Copyright (c) 2008-2019 Achim D. Brucker All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/Master/texmf-dist/doc/latex/authorarchive/README.md b/Master/texmf-dist/doc/latex/authorarchive/README.md index 6d84a54ecdc..f1bb3237a74 100644 --- a/Master/texmf-dist/doc/latex/authorarchive/README.md +++ b/Master/texmf-dist/doc/latex/authorarchive/README.md @@ -5,30 +5,40 @@ -- [Installation](#installation) -- [Usage](#usage) - * [Boolean Switches](#boolean-switches) - * [Key/Value Options](#keyvalue-options) -- [Embedding Bibliography Entries](#embedding-bibliography-entries) -- [Development](#development) -- [Alternative Packages](#alternative-packages) -- [License](#license) +- [authorarchive](#authorarchive) + - [Installation](#installation) + - [Usage](#usage) + - [Boolean Switches](#boolean-switches) + - [Key/Value Options](#key-value-options) + - [Embedding Bibliography Entries](#embedding-bibliography-entries) + - [Notes on Self-Archiving](#notes-on-self-archiving) + - [LNCS](#lncs) + - [Usage at arXiv.org](#usage-at-arxivorg) + - [Other publishers](#other-publishers) + - [Alternative Packages](#alternative-packages) + - [Authors](#authors) + - [Contributors](#contributors) + - [License](#license) + - [Master Repository](#master-repository) -## 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. +## Installation + +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 + A simple use for LNCS-formatted papers is as follows: + ```tex \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.} + publication={Anonymous et al.\ (eds). Proceedings of the International + Conference on LaTeX-Hacks, LNCS~42. Some Publisher} startpage={42}, doi={00/00_00}, doiText={0/00\_00}, @@ -37,33 +47,39 @@ A simple use for LNCS-formatted papers is as follows: ``` The following layout-styles are pre-defined: -* `ACM` for the two-column layout used by many ACM conferences -* `IEEE` for the two-column layout used by many IEEE conferences -* `LNCS` for the LNCS layout (as used by Springer) -* `LNI` for the Lecture Notes in Informatics, published by the GI -* `ENTCS` for the Elsevier ENTCS layout + +- `ACM` for the two-column layout used by many ACM conferences +- `ENTCS` for the Elsevier ENTCS layout +- `IEEE` for the two-column layout used by many IEEE conferences +- `LNCS` for the LNCS layout (as used by Springer) +- `LNI` for the Lecture Notes in Informatics, published by the GI By re-defining the font command (`authorcrfont{}`) and the command that is -used for positioning the copyright text (`\authorat{}`), the package can +used for positioning the copyright text (`\authorat{}`), the package can be adapted easily to other layouts. For example, + ```tex \renewcommand{\authorcrfont}{\scriptsize} \renewcommand{\authorat}[1]{\put(25,56.5){#1}} ``` + 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 + | Option | Default | Meaning | | -- | -- | -- | | `bibtexdir`| `.` | The directory where the bibliography entries are listed. | -| `baseurl` | https://git.logicalhacking.com/adbrucker/authorarchive/src/master | The URL used as prefix for building the links. | +| `baseurl` | | The URL used as prefix for building the links. | | `suffix` | `.pdf` | The suffix to use at links. | | `publisher` | `UNKOWN PUBLISHER` | The name of the publisher. Default values are set by the series (`LNCS`, ...). | | `year` | `UNKOWN YEAR` | The year of the publication. | @@ -81,6 +97,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` @@ -88,12 +105,80 @@ a paper. One solution to this issue is to embed the respective `.bib` file exist in `bibtexdir`, it gets embedded in the PDF. You can use the -[bibutils](https://sourceforge.net/p/bibutils/home/bib2xml/) for +[bibutils](https://sourceforge.net/p/bibutils/home/Bibutils/) for converting between these different formats for bibliographic -references easily. +references easily. + +## Notes on Self-Archiving + +Before using this package, please check with your signed copyright form, +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 + +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. + +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: + +```latex +\usepackage[LNCS, + key=brucker-authorarchive-2016, + year=2016, + publication={Anonymous et al.\ (eds). Proceedings of the International + Conference on LaTeX-Hacks, LNCS~42. Springer, 2016.} + startpage={42}, + doi={10.1038/authorarchive}, + nocopyright + ]{authorarchive} +``` + +## Usage at arXiv.org +arXiv.org deletes bib files when submitting a pre print. As workaround, this package +supports using the file suffix `.bibtex`. When no `.bib` is found, but a `.bibtex` +file, this file is used and embedded as `.bib` file into the PDF. + +## Other publishers + +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[ + key=brucker-authorarchive-2017, + year=2017, + publication={Anonymous et al.\ (eds). Proceedings of the International + Conference on LaTeX-Hacks, CEUR-WS Vol~42, 2017.} + startpage={42}, + doi={10.1039/authorarchive}, + nocopyright + ]{authorarchive} +``` + +Still, for some used document classes (e.g., `acmart`) there are specific +package options available hat produce an alternative layout. ## 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 @@ -103,7 +188,7 @@ bottom of the first page of the paper and required links to the publisher are generated. The package -[llncsconf](https://git.logicalhacking.com/adbrucker/llncsconf) is a +[llncsconf](https://ctan.org/pkg/llncsconf) is a light-weight alternative to this package. It supports [LNCS](http://www.springer.com/de/it-informatik/lncs) only. In comparison to `authorarchive`, it provides support for the additional @@ -111,14 +196,23 @@ 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/) - +- [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 or any later -version. +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 + +## Master Repository + +The master git repository for this project is hosted by the [Software +Assurance & Security Research Team](https://logicalhacking.com) at +. diff --git a/Master/texmf-dist/doc/latex/authorarchive/authorarchive.config b/Master/texmf-dist/doc/latex/authorarchive/authorarchive.config deleted file mode 100644 index 44418c3121c..00000000000 --- a/Master/texmf-dist/doc/latex/authorarchive/authorarchive.config +++ /dev/null @@ -1,3 +0,0 @@ -\authorsetup{% - baseurl={https://git.logicalhacking.com/adbrucker/authorarchive/src/master} -} diff --git a/Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.bib b/Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.bib deleted file mode 100644 index f8b2af7ea0e..00000000000 --- a/Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.bib +++ /dev/null @@ -1,12 +0,0 @@ - -@InProceedings{ brucker-authorarchive-2016, - year = 2016, - page = {42--45}, - title = {A Simple Example of the \texttt{authorarchive} Package for - \LaTeX}, - author = {Achim D. Brucker}, - booktitle = {Proceedings of the International Conference on - \LaTeX-Hacks}, - series = {LNCS}, - number = 42 -} diff --git a/Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.enw b/Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.enw deleted file mode 100644 index f2b7a83318b..00000000000 --- a/Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.enw +++ /dev/null @@ -1,8 +0,0 @@ -%0 Conference Proceedings -%T A Simple Example of the authorarchive Package for \LaTeX -%A Brucker, Achim D. -%B Proceedings of the International Conference on \LaTeX-Hacks -%D 2016 -%N 42 -%F brucker-authorarchive-2016 - diff --git a/Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.pdf b/Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.pdf deleted file mode 100644 index d651f6a6ade..00000000000 Binary files a/Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.ris b/Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.ris deleted file mode 100644 index 800f50667b6..00000000000 --- a/Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.ris +++ /dev/null @@ -1,9 +0,0 @@ -TY - CONF -AU - Brucker, Achim D. -PY - 2016// -TI - A Simple Example of the authorarchive Package for \LaTeX -BT - Proceedings of the International Conference on \LaTeX-Hacks -T3 - LNCS -IS - 42 -ID - brucker-authorarchive-2016 -ER - diff --git a/Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.tex b/Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.tex deleted file mode 100644 index 7d29934c1ba..00000000000 --- a/Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.tex +++ /dev/null @@ -1,36 +0,0 @@ -\documentclass[final, runningheads, USenglish, 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} - -\begin{document} - \maketitle{} - - \begin{abstract} - \lipsum[1-2] - \end{abstract} - - \section{Introduction} - \lipsum[1-4] - - \section{Contribution} - \lipsum[5-10] - - \section{Conclusion} - \lipsum[10-12] -\end{document} - diff --git a/Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.word.xml b/Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.word.xml deleted file mode 100644 index 26a59b6c02d..00000000000 --- a/Master/texmf-dist/doc/latex/authorarchive/brucker-authorarchive-2016.word.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - -brucker-authorarchive-2016 -Proceedings -2016 -Proceedings of the International Conference on \LaTeX-Hacks -42 - - -BruckerAchimD - - -A Simple Example of the authorarchive Package for \LaTeX - - diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/authorarchive.config b/Master/texmf-dist/doc/latex/authorarchive/examples/authorarchive.config new file mode 100644 index 00000000000..5c86ff6ae1e --- /dev/null +++ b/Master/texmf-dist/doc/latex/authorarchive/examples/authorarchive.config @@ -0,0 +1,4 @@ +\authorsetup{% + baseurl={https://git.logicalhacking.com/adbrucker/authorarchive/src/master/examples} + ,bibtexdir={bib} +} diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/bib/brucker-authorarchive-2016.bib b/Master/texmf-dist/doc/latex/authorarchive/examples/bib/brucker-authorarchive-2016.bib new file mode 100644 index 00000000000..f8b2af7ea0e --- /dev/null +++ b/Master/texmf-dist/doc/latex/authorarchive/examples/bib/brucker-authorarchive-2016.bib @@ -0,0 +1,12 @@ + +@InProceedings{ brucker-authorarchive-2016, + year = 2016, + page = {42--45}, + title = {A Simple Example of the \texttt{authorarchive} Package for + \LaTeX}, + author = {Achim D. Brucker}, + booktitle = {Proceedings of the International Conference on + \LaTeX-Hacks}, + series = {LNCS}, + number = 42 +} diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/bib/brucker-authorarchive-2016.enw b/Master/texmf-dist/doc/latex/authorarchive/examples/bib/brucker-authorarchive-2016.enw new file mode 100644 index 00000000000..f2b7a83318b --- /dev/null +++ b/Master/texmf-dist/doc/latex/authorarchive/examples/bib/brucker-authorarchive-2016.enw @@ -0,0 +1,8 @@ +%0 Conference Proceedings +%T A Simple Example of the authorarchive Package for \LaTeX +%A Brucker, Achim D. +%B Proceedings of the International Conference on \LaTeX-Hacks +%D 2016 +%N 42 +%F brucker-authorarchive-2016 + diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/bib/brucker-authorarchive-2016.ris b/Master/texmf-dist/doc/latex/authorarchive/examples/bib/brucker-authorarchive-2016.ris new file mode 100644 index 00000000000..800f50667b6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/authorarchive/examples/bib/brucker-authorarchive-2016.ris @@ -0,0 +1,9 @@ +TY - CONF +AU - Brucker, Achim D. +PY - 2016// +TI - A Simple Example of the authorarchive Package for \LaTeX +BT - Proceedings of the International Conference on \LaTeX-Hacks +T3 - LNCS +IS - 42 +ID - brucker-authorarchive-2016 +ER - diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/bib/brucker-authorarchive-2016.word.xml b/Master/texmf-dist/doc/latex/authorarchive/examples/bib/brucker-authorarchive-2016.word.xml new file mode 100644 index 00000000000..26a59b6c02d --- /dev/null +++ b/Master/texmf-dist/doc/latex/authorarchive/examples/bib/brucker-authorarchive-2016.word.xml @@ -0,0 +1,16 @@ + + + +brucker-authorarchive-2016 +Proceedings +2016 +Proceedings of the International Conference on \LaTeX-Hacks +42 + + +BruckerAchimD + + +A Simple Example of the authorarchive Package for \LaTeX + + diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-IEEEtran-nourl.pdf b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-IEEEtran-nourl.pdf new file mode 100644 index 00000000000..57f924087ea Binary files /dev/null and b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-IEEEtran-nourl.pdf differ diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-IEEEtran-nourl.tex b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-IEEEtran-nourl.tex new file mode 100644 index 00000000000..147dce443d4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-IEEEtran-nourl.tex @@ -0,0 +1,22 @@ +\documentclass[conference]{IEEEtran} +\usepackage[T1]{fontenc} +\usepackage[IEEE, + key=brucker-authorarchive-2016, + year=2016, + publication={Anonymous et al.\ (eds). Proceedings of the International + Conference on LaTeX-Hacks. Some Publisher}, + startpage={42}, + nourl, + nocopyright + ]{../authorarchive} + +\usepackage{lipsum} + +\title{A Simple Example of the \texttt{authorarchive} Package for \LaTeX} +\author{% + \IEEEauthorblockN{\protect\href{http://www.brucker.ch/}{Achim D. Brucker}} + \IEEEauthorblockA{Some Departement \\ Somewhere} +} + +\input{input/body} + diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-IEEEtran.pdf b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-IEEEtran.pdf new file mode 100644 index 00000000000..537bd81131c Binary files /dev/null and b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-IEEEtran.pdf differ diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-IEEEtran.tex b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-IEEEtran.tex new file mode 100644 index 00000000000..6c13145db18 --- /dev/null +++ b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-IEEEtran.tex @@ -0,0 +1,23 @@ +\documentclass[conference]{IEEEtran} +\usepackage[T1]{fontenc} +\usepackage[IEEE, + key=brucker-authorarchive-2016, + year=2016, + publication={Anonymous et al.\ (eds). Proceedings of the International + Conference on LaTeX-Hacks. Some Publisher}, + 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{% + \IEEEauthorblockN{\protect\href{http://www.brucker.ch/}{Achim D. Brucker}} + \IEEEauthorblockA{Some Departement \\ Somewhere} +} + +\input{input/body} + diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-acmart.pdf b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-acmart.pdf new file mode 100644 index 00000000000..146a2adcb25 Binary files /dev/null and b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-acmart.pdf differ diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-acmart.tex b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-acmart.tex new file mode 100644 index 00000000000..34c6085e23a --- /dev/null +++ b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-acmart.tex @@ -0,0 +1,27 @@ +\documentclass[sigconf]{acmart} +\copyrightyear{2017} +\acmYear{2017} +\setcopyright{acmlicensed} +\acmConference[LHack '16]{1st International Conference on \LaTeX-Hacks}{December 4--6, 2017}{Salzburg, Austria} +\acmBooktitle{LHack '16: The 1st International Conference on \LaTeX-Hacks, December 4--6, 2017, Salzburg, Austria} +\acmPrice{15.00} +\acmDOI{10.1145/000000.000000} +\acmISBN{000-0-0000-0000-0/00/00} + +\usepackage[acmart, + key=brucker-authorarchive-2016, + year=2016, + publication={Anonymous et al. (eds). Proceedings of the International + Conference on LaTeX-Hacks, ACM, 2016}, + startpage={42}, + doi={00/0000}, + 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}} + +\input{input/body} + diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-entcs.pdf b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-entcs.pdf new file mode 100644 index 00000000000..2a51cca7461 Binary files /dev/null and b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-entcs.pdf differ diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-entcs.tex b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-entcs.tex new file mode 100644 index 00000000000..9095d7970fd --- /dev/null +++ b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-entcs.tex @@ -0,0 +1,38 @@ +\documentclass{entcs} +\usepackage[T1]{fontenc} +\usepackage[ENTCS, + key=brucker-authorarchive-2016, + year=2016, + publication={Anonymous et al.\ (eds). Proceedings of the International + Conference on LaTeX-Hacks, Some Publisher}, + startpage={42}, + doi={00/00_00}, + doiText={0/00\_00}, + nocopyright + ]{../authorarchive} + +\usepackage{lipsum} + +\def\lastname{A.D. Brucker} + +\begin{document} + \begin{frontmatter} + \title{A Simple Example of the \texttt{authorarchive} Package for \LaTeX} + \author{\protect\href{http://www.brucker.ch/}{Achim D. Brucker}} + + \begin{abstract} + \lipsum[1-2] + \end{abstract} + + \end{frontmatter} + + \section{Introduction} + \lipsum[1-4] + + \section{Contribution} + \lipsum[5-10] + + \section{Conclusion} + \lipsum[11-12] +\end{document} + diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-llncs-a4.pdf b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-llncs-a4.pdf new file mode 100644 index 00000000000..70020cc5a95 Binary files /dev/null and b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-llncs-a4.pdf differ diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-llncs-a4.tex b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-llncs-a4.tex new file mode 100644 index 00000000000..ca840ee71a8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/authorarchive/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}, + 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} diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-llncs.pdf b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-llncs.pdf new file mode 100644 index 00000000000..15a6977bf1a Binary files /dev/null and b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-llncs.pdf differ diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-llncs.tex b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-llncs.tex new file mode 100644 index 00000000000..b1972ec0bee --- /dev/null +++ b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-llncs.tex @@ -0,0 +1,27 @@ +\documentclass[final, runningheads, USenglish, pdftex]{llncs} +\usepackage[T1]{fontenc} + +% Quickly make vector_iD_icon.pdf available to authorarchive. +% The global installation is described in ../README.md +\usepackage{graphicx} +\graphicspath{{../icons/}} + +\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}, + startpage={42}, + doi={00/00_00}, + doiText={0/00\_00}, + orcidicon, + 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}\orcidID{0000-0002-6355-1200}} +\institute{Some Departement, Somewhere} + +\input{input/body} diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-lni.pdf b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-lni.pdf new file mode 100644 index 00000000000..2d2551092eb Binary files /dev/null and b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-lni.pdf differ diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-lni.tex b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-lni.tex new file mode 100644 index 00000000000..080e9f7d809 --- /dev/null +++ b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-lni.tex @@ -0,0 +1,24 @@ +\documentclass[english]{lni} +\usepackage[T1]{fontenc} +\usepackage[LNI, + key=brucker-authorarchive-2016, + year=2016, + publication={Anonymous et al.\ (eds). Proceedings of the International + Conference on LaTeX-Hacks. Some Publisher}, + 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}\\ + Some Departement\\ + Somewhere +} + +\input{input/body} + diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-sig-alternate.pdf b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-sig-alternate.pdf new file mode 100644 index 00000000000..786d613a7f9 Binary files /dev/null and b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-sig-alternate.pdf differ diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-sig-alternate.tex b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-sig-alternate.tex new file mode 100644 index 00000000000..e3b9b5613b1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016-sig-alternate.tex @@ -0,0 +1,23 @@ +\documentclass[USenglish, pdftex, letterpaper]{sig-alternate} +\usepackage[ACM, + key=brucker-authorarchive-2016, + year=2016, + publication={Anonymous et al.\ (eds). Proceedings of the International + Conference on LaTeX-Hacks, ACM, 2016}, + startpage={42}, + doi={00/0000}, + nocopyright + ]{../authorarchive} + +\usepackage{lipsum} + +\title{A Simple Example of the \texttt{authorarchive} Package for \LaTeX} + +\numberofauthors{1} +\author{ + \alignauthor + \protect\href{http://www.brucker.ch/}{Achim D. Brucker} +} + +\input{input/body} + diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016.pdf b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016.pdf new file mode 100644 index 00000000000..361e1af1d7c Binary files /dev/null and b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016.pdf differ diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016.tex b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016.tex new file mode 100644 index 00000000000..38c67a2faff --- /dev/null +++ b/Master/texmf-dist/doc/latex/authorarchive/examples/brucker-authorarchive-2016.tex @@ -0,0 +1,18 @@ +\documentclass[a4paper]{article} + +\usepackage[ + key=brucker-authorarchive-2016, + year=2016, + publication={Anonymous et al.\ (eds). Proceedings of the International + Workshop on LaTeX-Hacks}, + startpage={42}, + doi={00/0000}, + 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}} + +\input{input/body} diff --git a/Master/texmf-dist/doc/latex/authorarchive/examples/input/body.tex b/Master/texmf-dist/doc/latex/authorarchive/examples/input/body.tex new file mode 100644 index 00000000000..d3c9340ed8e --- /dev/null +++ b/Master/texmf-dist/doc/latex/authorarchive/examples/input/body.tex @@ -0,0 +1,18 @@ +\begin{document} + \maketitle{} + + \begin{abstract} + \lipsum[1-2] + \end{abstract} + + \section{Introduction} + \lipsum[1-4] + + \section{Contribution} + \lipsum[5-10] + + \section{Conclusion} + \lipsum[11-12] + +\end{document} + diff --git a/Master/texmf-dist/doc/latex/authorarchive/icons/README.md b/Master/texmf-dist/doc/latex/authorarchive/icons/README.md new file mode 100644 index 00000000000..6670cb04fba --- /dev/null +++ b/Master/texmf-dist/doc/latex/authorarchive/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/Master/texmf-dist/doc/latex/authorarchive/icons/vector_iD_icon.pdf b/Master/texmf-dist/doc/latex/authorarchive/icons/vector_iD_icon.pdf new file mode 100644 index 00000000000..59824b11a1e Binary files /dev/null and b/Master/texmf-dist/doc/latex/authorarchive/icons/vector_iD_icon.pdf differ diff --git a/Master/texmf-dist/doc/latex/authorarchive/icons/vector_iD_icon.svg b/Master/texmf-dist/doc/latex/authorarchive/icons/vector_iD_icon.svg new file mode 100644 index 00000000000..2bddf44f1b8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/authorarchive/icons/vector_iD_icon.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/authorarchive/authorarchive.sty b/Master/texmf-dist/tex/latex/authorarchive/authorarchive.sty index 6493c16f37d..41534ebd125 100644 --- a/Master/texmf-dist/tex/latex/authorarchive/authorarchive.sty +++ b/Master/texmf-dist/tex/latex/authorarchive/authorarchive.sty @@ -1,25 +1,34 @@ -%% Copyright (C) 2008-2018 Achim D. Brucker, https://www.brucker.ch +%% Copyright (C) 2008-2019 Achim D. Brucker, https://www.brucker.ch %% %% License: %% 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.3c+ OR BSD-2-Clause \NeedsTeXFormat{LaTeX2e}\relax -\ProvidesClass{authorarchive} - [2018/02/21 v1.0.0% +\ProvidesPackage{authorarchive} + [2019/06/23 v1.1.1% Self-archiving information for scientific publications.] % +\PassOptionsToPackage{hyphens}{url} +% \RequirePackage{ifthen} +\RequirePackage[inline]{enumitem} \RequirePackage{graphicx} -\RequirePackage{hyperref} \RequirePackage{eso-pic} -\RequirePackage{embedfile} +\RequirePackage{intopdf} \RequirePackage{kvoptions} +\RequirePackage{hyperref} \RequirePackage{calc} \RequirePackage{qrcode} +\RequirePackage{dtk-logos} +% +%Better url breaking +\g@addto@macro{\UrlBreaks}{\UrlOrds} % % Option declarations % ------------------- @@ -27,27 +36,29 @@ family=AA, prefix=AA@ } - +% \DeclareStringOption[.]{bibtexdir} \DeclareStringOption[https://duckduckgo.com/?q=]{baseurl} \DeclareStringOption[.pdf]{suffix} -\DeclareStringOption[UNKOWN PUBLISHER]{publisher}[] -\DeclareStringOption[UNKOWN YEAR]{year}[] +\DeclareStringOption[UNKNOWN PUBLISHER]{publisher}[] +\DeclareStringOption[UNKNOWN YEAR]{year}[] \DeclareStringOption[]{key}[] \DeclareStringOption[]{doi}[] \DeclareStringOption[]{doiText}[] \DeclareStringOption[]{publisherurl}[] -\DeclareStringOption[1]{startpage}[] +\DeclareStringOption[UNKNOWN START PAGE]{startpage}[] \DeclareStringOption[UNKNOWN PUBLICATION]{publication}[] \DeclareBoolOption{ACM} +\DeclareBoolOption{acmart} +\DeclareBoolOption{ENTCS} \DeclareBoolOption{IEEE} \DeclareBoolOption{LNCS} \DeclareBoolOption{LNI} \DeclareBoolOption{nocopyright} \DeclareBoolOption{nourl} \DeclareBoolOption{nobib} -\DeclareBoolOption{ENTCS} +\DeclareBoolOption{orcidicon} %\ProcessOptions\relax @@ -80,39 +91,87 @@ \newlength\AA@y \newlength\AA@width +\def\AA@bibBibTeX{\AA@bibtexdir/\AA@key.bib} +\def\AA@bibBibTeXLong{\AA@bibtexdir/\AA@key.bibtex} +\def\AA@bibWord{\AA@bibtexdir/\AA@key.word.xml} +\def\AA@bibEndnote{\AA@bibtexdir/\AA@key.enw} +\def\AA@bibRIS{\AA@bibtexdir/\AA@key.ris} + +\newboolean{AA@bibExists} +\setboolean{AA@bibExists}{false} +\IfFileExists{\AA@bibBibTeX}{\setboolean{AA@bibExists}{true}}{} +\IfFileExists{\AA@bibBibTeXLong}{\setboolean{AA@bibExists}{true}}{} +\IfFileExists{\AA@bibWord}{\setboolean{AA@bibExists}{true}}{} +\IfFileExists{\AA@bibEndnote}{\setboolean{AA@bibExists}{true}}{} +\IfFileExists{\AA@bibRIS}{\setboolean{AA@bibExists}{true}}{} + +\setlength\AA@x{1in+\hoffset+\oddsidemargin} + \newcommand{\authorcrfont}{\footnotesize} -\newcommand{\authorat}[1]{\put(100,100){#1}} +\newcommand{\authorat}[1]{\AtPageUpperLeft{\put(\LenToUnit{\AA@x},\LenToUnit{.2cm-\paperheight}){#1}}} \newcommand{\authorwidth}[1]{\setlength{\AA@width}{#1}} \setlength{\AA@width}{\textwidth} -\setcounter{page}{\AA@startpage} +\def\AA@pageinfo{} +\ifthenelse{\equal{\AA@startpage}{UNKNOWN START PAGE}}{% +}{% + \setcounter{page}{\AA@startpage}% + \def\AA@pageinfo{pp. \thepage--\pageref{\aa@lastpage}, } +} + + +%%%% sig-alternate.cls \ifAA@ACM% - \setkeys{AA}{publisher=ACM} + \ifthenelse{\equal{\AA@publisher}{UNKNOWN PUBLISHER}}{% + \setkeys{AA}{publisher=ACM} + }{} \global\boilerplate={} \global\copyrightetc={} \renewcommand{\conferenceinfo}[2]{} - \renewcommand{\authorcrfont}{\crnotice} + \renewcommand{\authorcrfont}{\scriptsize} \setlength\AA@x{1in+\hoffset+\oddsidemargin} - \setlength\AA@y{-\textheight+\topmargin+\headheight} % -\voffset-\topmargin-\headheight-\footskip} + \setlength\AA@y{-\textheight+\topmargin+\headheight-\footskip} % -\voffset-\topmargin-\headheight-\footskip} \renewcommand{\authorat}[1]{\put(\LenToUnit{\AA@x},\LenToUnit{\AA@y}){#1}} \setlength{\AA@width}{\columnwidth} \fi +% +%%%% acmart.cls +\ifAA@acmart% + \ifthenelse{\equal{\AA@publisher}{UNKNOWN PUBLISHER}}{% + \setkeys{AA}{publisher=ACM} + }{} + \renewcommand{\authorat}[1]{\AtPageUpperLeft{\put(\LenToUnit{\AA@x},\LenToUnit{0.2cm-\paperheight}){#1}}} + \setlength{\AA@width}{\textwidth} +\fi +% %%%% LNCS \ifAA@LNCS% - \setkeys{AA}{publisher=Springer-Verlag} - \setlength\AA@x{1in+\hoffset+\oddsidemargin} - \renewcommand{\authorat}[1]{\put(\LenToUnit{\AA@x},27){#1}} + \ifAA@orcidicon% + \renewcommand{\orcidID}[1]{\href{https://orcid.org/#1}{% + \textsuperscript{\,\includegraphics[height=2\fontcharht\font`A]{vector_iD_icon}}}} + \else\relax\fi% +% + \ifthenelse{\equal{\AA@publisher}{UNKNOWN PUBLISHER}}{% + \setkeys{AA}{publisher=Springer-Verlag} + }{} \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 % %%%% LNI \ifAA@LNI% - \setkeys{AA}{publisher=GI} - \setlength\AA@x{1in+\hoffset+\oddsidemargin} + \ifthenelse{\equal{\AA@publisher}{UNKNOWN PUBLISHER}}{% + \setkeys{AA}{publisher=GI} + }{} \renewcommand{\authorat}[1]{\put(\LenToUnit{\AA@x},35){#1}} \renewcommand{\authorcrfont}{\scriptsize} \pdfpagesattr{/CropBox [70 65 526.378 748.15]} % TODO @@ -123,29 +182,20 @@ %%%% ENTCS \ifAA@ENTCS% \addtolength{\voffset}{1cm} - \setkeys{AA}{publisher=Elsevier Science B.~V.} - \setlength\AA@x{1in+\hoffset+\oddsidemargin} - \renewcommand{\authorat}[1]{\put(\LenToUnit{\AA@x},-250){#1}} + \ifthenelse{\equal{\AA@publisher}{UNKNOWN PUBLISHER}}{% + \setkeys{AA}{publisher=Elsevier Science B.~V.} + }{} + \renewcommand{\authorat}[1]{\put(\LenToUnit{\AA@x},\LenToUnit{-.5cm-\the\ht\AA@authoratBox}){#1}} \renewcommand{\authorcrfont}{\scriptsize} - \def\@oddfoot{} - \def\@evenfoot{} - \def\firstfootline{} - \headsep 8pt - \renewcommand\rightheadline{\ifnum\value{page}=\hypergetpageref{FirstPage}\relax - \else{\hfil\scriptsize\emph{\lastname / \AA@publication} \hfil {\rmfamily\thepage}}\fi} - \renewcommand\leftheadline{\scriptsize{\rmfamily\thepage} \hfil \emph{\lastname / - \AA@publication}\hfil} - % 467.717 x 680.315 pts - % \pdfpagesattr{/CropBox [70 110 535 850]} - \pdfpagesattr{/CropBox [70 95 535 775]} \setlength{\AA@width}{\textwidth} \fi % %%%% IEEE \ifAA@IEEE% - \setkeys{AA}{publisher=IEEE Computer Society} - \setlength\AA@x{1in+\hoffset+\oddsidemargin} - \renewcommand{\authorat}[1]{\put(\LenToUnit{\AA@x},12){#1}} + \ifthenelse{\equal{\AA@publisher}{UNKNOWN PUBLISHER}}{% + \setkeys{AA}{publisher=IEEE} + }{} + \renewcommand{\authorat}[1]{\put(\LenToUnit{\AA@x},6){#1}} \renewcommand{\authorcrfont}{\scriptsize} \setlength{\AA@width}{\textwidth} \setcounter{tocdepth}{2} @@ -160,54 +210,35 @@ pdftitle = {\@title}, } -\ifAA@nobib\relax\else% - \AtBeginDocument{% - \IfFileExists{\AA@bibtexdir/\AA@key.bib}{% - \embedfile[filespec=\AA@key.bib,% - desc={BibTeX entry of this paper.},% - stringmethod=escape,% - mimetype=plain/text,% - ]{\AA@bibtexdir/\AA@key.bib}}{ - \typeout{No file \AA@bibtexdir/\AA@key.bib found. Not embedded reference in BibTeX format.} - }% - \IfFileExists{\AA@bibtexdir/\AA@key.enw}{% - \embedfile[filespec=\AA@key.enw,% - desc={Endnote entry of this paper.},% - stringmethod=escape,% - mimetype=plain/text,% - ]{\AA@bibtexdir/\AA@key.enw}}{ - \typeout{No file \AA@bibtexdir/\AA@key.enw found. Not embedded reference in Endnote format.} - }% - \IfFileExists{\AA@bibtexdir/\AA@key.ris}{% - \embedfile[filespec=\AA@key.ris,% - desc={RIS entry of this paper.},% - stringmethod=escape,% - mimetype=plain/text,% - ]{\AA@bibtexdir/\AA@key.ris}}{ - \typeout{No file \AA@bibtexdir/\AA@key.ris found. Not embedded reference in RIS format.} - }% - \IfFileExists{\AA@bibtexdir/\AA@key.word.xml}{% - \embedfile[filespec=\AA@key.word.xml,% - desc={XML entry of this paper (e.g., for Word 2007 and later).},% - stringmethod=escape,% - mimetype=plain/text,% - ]{\AA@bibtexdir/\AA@key.word.xml}}{ - \typeout{No file \AA@bibtexdir/\AA@key.word.xml found. Not embedded reference for Word 2007 and later.} - }% - }% -\fi -\AtEndDocument{\label{LastPage}} +\@ifpackageloaded{totpages}{% + \def\aa@lastpage{TotPages} +}{% + \RequirePackage{lastpage} + \def\aa@lastpage{LastPage} +} +\newsavebox{\AA@authoratBox} \AddToShipoutPicture*{% \setlength{\unitlength}{1mm}% - \authorat{% - \ifAA@nourl\relax\else% - \raisebox{.5cm}[.5cm]{\qrcode[hyperlink,height=1.17cm,padding]{\AA@baseurl/\AA@key\AA@suffix}}% - \fi% - \authorcrfont\parbox[b]{\AA@width-1.4cm}{ + \savebox{\AA@authoratBox}{% + \parbox{1.4cm}{% + \bgroup% + \normallineskiplimit=0pt% + \ifAA@nourl% + \ifx\AA@doi\@empty\relax% + \else% + \qrcode[hyperlink,height=1.17cm,padding]{https://doi.org/\AA@doi}% + \fi% + \else% + \qrcode[hyperlink,height=1.17cm,padding]{\AA@baseurl/\AA@key\AA@suffix}% + \fi% + \egroup% + }% + \ifAA@nourl\ifx\AA@doi\@empty\addtolength{\AA@width}{1.4cm}\fi\fi + \parbox{\AA@width-1.4cm}{\authorcrfont% \ifAA@LNCS% - \AA@publication, pp. \thepage--\pageref{LastPage}, \AA@year.\\% - \ifAA@nocopyright\relax\else + \AA@publication, \AA@pageinfo \AA@year. % + \ifAA@nocopyright\else \textcopyright~\AA@year~\AA@publisher. \fi This is the author's @@ -222,10 +253,9 @@ \ifx\AA@doi\@empty% \relax \else - The definitive - version was published with doi: + The final publication is available at Springer via \ifx\AA@doiText\@empty% - \href{https://doi.org/\AA@doi}{\AA@doi}. + \url{https://doi.org/\AA@doi}. \else \href{https://doi.org/\AA@doi}{\AA@doiText}. \fi @@ -243,7 +273,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}, \AA@pageinfo \AA@year% \ifx\AA@doi\@empty% \ifx\AA@publisherurl\@empty% .% @@ -258,6 +288,40 @@ \fi \fi \fi + \ifAA@nobib\relax\else% + \ifthenelse{\boolean{AA@bibExists}}{% + \hfill + \begin{itemize*}[label={}, itemjoin={,}] + \IfFileExists{\AA@bibBibTeX}{% + \item \attachandlink{\AA@bibBibTeX}[application/x-bibtex]{BibTeX entry of this paper}{\BibTeX}% + }{% + \IfFileExists{\AA@bibBibTeXLong}{% + \item \attachandlink[\AA@key.bib]{\AA@bibBibTeXLong}[application/x-bibtex]{BibTeX entry of this paper}{\BibTeX}% + }{% + \typeout{No file \AA@bibBibTeX{} (and no \AA@bibBibTeXLong) found. Not embedded reference in BibTeX format.}% + }% + }% + \IfFileExists{\AA@bibWord}{% + \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 \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 \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.}% + }% + \end{itemize*}\\ + }{% + \PackageError{authorarchive}{No bibliographic files found. Specify option 'nobib' if this is intended.} + } + \fi } } + \authorat{\raisebox{\the\ht\AA@authoratBox}{\usebox{\AA@authoratBox}}} } -- cgit v1.2.3