| 1 |
# authorarchive |
| 2 |
|
| 3 |
> A LaTeX style for producing author self-archiving copies of |
| 4 |
> (academic) papers. |
| 5 |
|
| 6 |
<!-- toc --> |
| 7 |
|
| 8 |
- [Installation](#installation) |
| 9 |
- [Usage](#usage) |
| 10 |
- [Boolean Switches](#boolean-switches) |
| 11 |
- [Key/Value Options](#keyvalue-options) |
| 12 |
- [Embedding Bibliographic Entries](#embedding-bibliographic-entries) |
| 13 |
- [Notes on Self-Archiving](#notes-on-self-archiving) |
| 14 |
- [Usage at arXiv.org](#usage-at-arxivorg) |
| 15 |
- [Other publishers](#other-publishers) |
| 16 |
- [Alternative Packages](#alternative-packages) |
| 17 |
- [Authors](#authors) |
| 18 |
- [Contributors](#contributors) |
| 19 |
- [License](#license) |
| 20 |
- [Upstream Repository](#upstream-repository) |
| 21 |
|
| 22 |
<!-- tocstop --> |
| 23 |
|
| 24 |
## Installation |
| 25 |
|
| 26 |
The package is [available on CTAN](https://ctan.org/pkg/authorarchive) and is |
| 27 |
packaged in both MiKTeX and TeX Live. Thus, no manual installation should be |
| 28 |
requried. In case you still want to install the package manually, copy |
| 29 |
`authorarchive.sty` in a directory that is searched by LaTeX (e.g., either |
| 30 |
your `texmf` tree or the local directory with your main LaTeX file). |
| 31 |
|
| 32 |
## Usage |
| 33 |
|
| 34 |
A simple use for LNCS-formatted papers is as follows: |
| 35 |
|
| 36 |
```tex |
| 37 |
\usepackage{authorarchive} |
| 38 |
\authorsetup{ |
| 39 |
publisher=LNCS, |
| 40 |
key=brucker-authorarchive-2016, |
| 41 |
year=2016, |
| 42 |
publication={Anonymous et al.\ (eds). |
| 43 |
Proceedings of the International Conference on LaTeX-Hacks, |
| 44 |
LNCS~42. |
| 45 |
Some Publisher} |
| 46 |
startpage={42}, |
| 47 |
doi={00/00_00}, |
| 48 |
doiText={0/00\_00}, |
| 49 |
nocopyright |
| 50 |
} |
| 51 |
``` |
| 52 |
|
| 53 |
Note that this is the preferred way of configuring the package, as it allows, |
| 54 |
e.g., for LaTeX commands in options. Only if no (complex) LaTeX commands are |
| 55 |
used, the configuration can also be passes as package options (this is a |
| 56 |
limitation of the way LaTeX is passing options to packages): |
| 57 |
|
| 58 |
```tex |
| 59 |
\usepackage[LNCS, |
| 60 |
key=brucker-authorarchive-2016, |
| 61 |
year=2016, |
| 62 |
publication={Anonymous et al.\ (eds). |
| 63 |
Proceedings of the International Conference on LaTeX-Hacks, |
| 64 |
LNCS~42. |
| 65 |
Some Publisher} |
| 66 |
startpage={42}, |
| 67 |
doi={00/00_00}, |
| 68 |
doiText={0/00\_00}, |
| 69 |
nocopyright |
| 70 |
]{authorarchive} |
| 71 |
``` |
| 72 |
|
| 73 |
The following layout-styles are pre-defined: |
| 74 |
|
| 75 |
- `ACM` for the two-column layout used by many ACM conferences |
| 76 |
- `ENTCS` for the Elsevier ENTCS layout |
| 77 |
- `IEEE` for the two-column layout used by many IEEE conferences |
| 78 |
- `LNCS` for the LNCS layout (as used by Springer) |
| 79 |
- `LNI` for the Lecture Notes in Informatics, published by the GI |
| 80 |
|
| 81 |
By re-defining the font command (`authorcrfont{}`) and the command that is |
| 82 |
used for positioning the copyright text (`\authorat{}`), the package can |
| 83 |
be adapted easily to other layouts. For example, |
| 84 |
|
| 85 |
```tex |
| 86 |
\renewcommand{\authorcrfont}{\scriptsize} |
| 87 |
\renewcommand{\authorat}[1]{\put(25,56.5){#1}} |
| 88 |
``` |
| 89 |
|
| 90 |
works nicely for Acta Informatica. |
| 91 |
|
| 92 |
### Boolean Switches |
| 93 |
|
| 94 |
| Switch | Meaning | |
| 95 |
| -- | -- | |
| 96 |
| `nocopyright` | If present, no publisher's copyright notice is printed. Usual case for LNCS. | |
| 97 |
| `nourl` | If present, no link to the publication is inserted. | |
| 98 |
| `nobib` | If present, no embedding of bibliographic entries is made. | |
| 99 |
| `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). | |
| 100 |
|
| 101 |
### Key/Value Options |
| 102 |
|
| 103 |
| Option | Default | Meaning | |
| 104 |
| -- | -- | -- | |
| 105 |
| `bibtexdir`| `.` | The directory where the bibliography entries are listed. | |
| 106 |
| `baseurl` | <https://git.logicalhacking.com/adbrucker/authorarchive/src/main> | The URL used as prefix for building the links. | |
| 107 |
| `suffix` | `.pdf` | The suffix to use at links. | |
| 108 |
| `publisher` | `UNKOWN PUBLISHER` | The name of the publisher. Default values are set by the series (`LNCS`, ...). | |
| 109 |
| `year` | `UNKOWN YEAR` | The year of the publication. | |
| 110 |
| `key` | empty | The basename of the filename. Used also to generate links. | |
| 111 |
| `doi` | empty | The DOI of the publication. Used to generate the DOI link. | |
| 112 |
| `doiText` | The value of `doi` | In case a DOI contains underscores, the displayed text differs from the DOI. | |
| 113 |
| `publisherurl` | empty | In case no DOI is provided, one can provide a link to the publisher. | |
| 114 |
| `startpage` | 1 | The pagenumber of the first page of the paper. | |
| 115 |
| `publication` | `UNKNOWN PUBLICATION` | Information on the publication. | |
| 116 |
|
| 117 |
The package also defines a command `\authorsetup{}` which allows to |
| 118 |
define key value options dynamically. Moreover, if a file |
| 119 |
`authorarchive.config` exists in the LaTeX search path, it will be |
| 120 |
loaded automatically. This allows for configuring defaults (e.g., the |
| 121 |
baseurl) easily. |
| 122 |
|
| 123 |
## Embedding Bibliographic Entries |
| 124 |
|
| 125 |
Mostly, it is hard for scientists to find the correct BibTeX entry for |
| 126 |
a paper. One solution to this issue is to embed the respective `.bib` |
| 127 |
(BibTeX, for LaTeX users), `.enw` (Endnote), `.ris`, or `.word.xml` |
| 128 |
(Word 2007 or later) file in the PDF directly. In case any of these |
| 129 |
file exist in `bibtexdir`, it gets embedded in the PDF. |
| 130 |
|
| 131 |
You can use the |
| 132 |
[bibutils](https://sourceforge.net/p/bibutils/home/Bibutils/) for |
| 133 |
converting between these different formats for bibliographic |
| 134 |
references easily. |
| 135 |
|
| 136 |
## Notes on Self-Archiving |
| 137 |
|
| 138 |
Before using this package, please check with your signed copyright form, |
| 139 |
which rights you have. Especially whether you may self-archive the preprint |
| 140 |
or the postprint. For more information on that, read on at |
| 141 |
<https://blogs.scientificamerican.com/information-culture/understanding-your-rights-pre-prints-post-prints-and-publisher-versions/>. |
| 142 |
|
| 143 |
None of the authors might be hold liable for copyright |
| 144 |
violations by using this package. |
| 145 |
|
| 146 |
## Usage at arXiv.org |
| 147 |
|
| 148 |
arXiv.org deletes bib files when submitting a pre print. As workaround, this package |
| 149 |
supports using the file suffix `.bibtex`. When no `.bib` is found, but a `.bibtex` |
| 150 |
file, this file is used and embedded as `.bib` file into the PDF. |
| 151 |
|
| 152 |
## Other publishers |
| 153 |
|
| 154 |
In general, one does not need to specify a certain publisher (or LaTeX document class). |
| 155 |
The default setting just prints the note centered at the bottom of the first page. |
| 156 |
|
| 157 |
```latex |
| 158 |
\usepackage[ |
| 159 |
key=brucker-authorarchive-2017, |
| 160 |
year=2017, |
| 161 |
publication={Anonymous et al.\ (eds). |
| 162 |
Proceedings of the International Conference on LaTeX-Hacks, |
| 163 |
CEUR-WS Vol~42, |
| 164 |
2017.} |
| 165 |
startpage={42}, |
| 166 |
doi={10.1039/authorarchive}, |
| 167 |
nocopyright |
| 168 |
]{authorarchive} |
| 169 |
``` |
| 170 |
|
| 171 |
Still, for some used document classes (e.g., `lncs` and `acmart`) there are specific |
| 172 |
package options available hat produce an alternative layout. |
| 173 |
|
| 174 |
## Alternative Packages |
| 175 |
|
| 176 |
The package [coverpage](https://ctan.org/pkg/coverpage) prepends a |
| 177 |
separate PDF page before the first page of the paper. That page |
| 178 |
contains the bibliographic information as BibTeX entry. One is forced |
| 179 |
to have a `.bib` file ready and multiple institutions are not well |
| 180 |
supported. With `authorarchive`, the information is printed at the |
| 181 |
bottom of the first page of the paper and required links to the |
| 182 |
publisher are generated. |
| 183 |
|
| 184 |
The package |
| 185 |
[llncsconf](https://ctan.org/pkg/llncsconf) is a |
| 186 |
light-weight alternative to this package. It supports |
| 187 |
[LNCS](http://www.springer.com/de/it-informatik/lncs) only. In |
| 188 |
comparison to `authorarchive`, it provides support for the additional |
| 189 |
publication states "intended-to-submit" and "submitted", but no QR |
| 190 |
code and links to the author's archive URL. |
| 191 |
|
| 192 |
## Authors |
| 193 |
|
| 194 |
Main author: [Achim D. Brucker](http://www.brucker.ch/) |
| 195 |
|
| 196 |
### Contributors |
| 197 |
|
| 198 |
- [Oliver Kopp](https://github.com/koppor/) |
| 199 |
|
| 200 |
## License |
| 201 |
|
| 202 |
If not otherwise stated, all sub-projects are dual-licensed under a |
| 203 |
2-clause BSD-style license and/or the LPPL version 1.3c or (at your |
| 204 |
opinion) any later version. |
| 205 |
|
| 206 |
```yaml |
| 207 |
SPDX-License-Identifier: LPPL-1.3c+ OR BSD-2-Clause |
| 208 |
``` |
| 209 |
|
| 210 |
## Upstream Repository |
| 211 |
|
| 212 |
The upstream git repository, i.e., the single source of truth, for this |
| 213 |
project is hosted by the |
| 214 |
[Software Assurance & Security Research Team](https://logicalhacking.com) at |
| 215 |
<https://git.logicalhacking.com/adbrucker/authorarchive>. |