Compare commits

...

61 Commits
v1.1.1 ... HEAD

Author SHA1 Message Date
Achim D. Brucker e0b016d689 Merge branch 'koppor-fix-publisher-setting'
ci/woodpecker/push/build Pipeline was successful Details
2023-08-27 15:18:38 +01:00
Achim D. Brucker 4a926f653e Merge branch 'fix-publisher-setting' of github.com:koppor/authorarchive into koppor-fix-publisher-setting 2023-08-27 15:17:51 +01:00
Achim D. Brucker ded5fb682e Merge branch 'koppor-fix-bibtex'
ci/woodpecker/push/build Pipeline was successful Details
2023-08-27 15:08:49 +01:00
Achim D. Brucker 281a835ab7 Wrapped definition providing \BibTeX in an \AtBeginDocument{} statement. 2023-08-27 15:08:22 +01:00
Achim D. Brucker 745f285f43 Merge branch 'fix-bibtex' of github.com:koppor/authorarchive into koppor-fix-bibtex 2023-08-27 15:01:59 +01:00
Achim D. Brucker 3731cbcec9 Merge branch 'koppor-add-ctan-link'
ci/woodpecker/push/build Pipeline was successful Details
2023-08-27 14:52:42 +01:00
Oliver Kopp 28e93099fe Add CHANGELOG.md entry 2023-08-25 11:16:25 +02:00
Oliver Kopp 11283f3306 Also fix startpage 2023-08-25 11:15:45 +02:00
Oliver Kopp c9ff484c18 Fix setting publisher at \authorsetup 2023-08-23 16:45:00 +02:00
Oliver Kopp 145effe13f Fix \BibTeX definition 2023-08-23 16:23:12 +02:00
Oliver Kopp dc3affbc41
Add link to CTAN 2023-08-23 09:32:28 +02:00
Oliver Kopp e89e6746e6
Fix links
ci/woodpecker/push/build Pipeline was successful Details
2023-04-27 08:54:46 +02:00
Achim D. Brucker b6c33e57db Updated URL to use https for downloading entcs.cls.
ci/woodpecker/push/build Pipeline was successful Details
2023-02-10 06:27:15 +00:00
Achim D. Brucker f64a232a40 Post release update.
ci/woodpecker/push/build Pipeline failed Details
2023-02-10 06:25:25 +00:00
Achim D. Brucker fe808b04aa Switched to \newrobustcommand from etoolbox.
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/tag/build Pipeline failed Details
2022-11-30 07:35:07 +00:00
Achim D. Brucker bcd90e2112 Merge branch 'koppor-fix-filename' 2022-11-29 23:35:43 +00:00
Oliver Kopp 2f5483e9b7 Fix filename in PDF 2022-11-25 17:14:40 +01:00
Oliver Kopp 6cf8dae1c4 Fix typo in "Department" 2022-11-23 12:45:14 +01:00
Oliver Kopp 66ebf7041f Use filename without path as filename of the attached file 2022-11-23 12:44:19 +01:00
Achim D. Brucker df2d50d3e1 Bug fix: \authorsetup{} did not allow to set the key attribute. Moreover, changed examples and documentation to document that \authorsetup{} is the preferred way of configuring authorarchive (fixes #23 on github)."
ci/woodpecker/push/build Pipeline was successful Details
2022-07-16 21:05:24 +01:00
Achim D. Brucker 5600365688 Bug fix: \ExplSyntaxOn command is in the wrong place (fixes #25 on github).
ci/woodpecker/push/build Pipeline was successful Details
2022-07-15 21:41:47 +01:00
Achim D. Brucker caa9488ad5 Test examples with lualatex and pdflatex.
ci/woodpecker/push/build Pipeline was successful Details
2022-07-15 19:43:44 +01:00
Achim D. Brucker 3ed10e494d Removed pdftex option to ensure that example works also with other engines. 2022-07-15 19:43:17 +01:00
Achim D. Brucker 981cc2f8b1 Removed no longer needed graphics setup.
ci/woodpecker/push/build Pipeline was successful Details
2022-07-15 18:34:44 +01:00
Achim D. Brucker 8cb8a94a0b Removed typo. 2022-07-15 17:49:27 +01:00
Achim D. Brucker 05304af052 Use style orcidlink.sty instead of local logo for the ORCID icon.
ci/woodpecker/push/build Pipeline was successful Details
2022-07-15 17:40:52 +01:00
Achim D. Brucker 83d7e7e082 Use local definition of \BibTeX-logo as hvlogos conflicts, in certain settings, with LuaLaTeX. 2022-07-15 16:50:44 +01:00
Achim D. Brucker c77b9d0952 Removed failed attempt to set author and title PDF meta-attributes automatically (fixes #24 on github).
ci/woodpecker/push/build Pipeline was successful Details
2022-07-15 11:23:07 +01:00
Achim D. Brucker 4d79182f7a Regenerated TOC (fixes #22 on github).
ci/woodpecker/push/build Pipeline was successful Details
2022-07-15 11:18:24 +01:00
Oliver Kopp dd6bdba466
Remove obsolete heading
ci/woodpecker/push/build Pipeline was successful Details
2022-07-11 23:03:24 +02:00
Achim D. Brucker c0415914f1 Updated copyright range.
ci/woodpecker/push/build Pipeline was successful Details
2022-04-26 09:40:07 +01:00
Achim D. Brucker 21bfe8089f Improvec Changelog.
ci/woodpecker/push/build Pipeline was successful Details
2022-04-25 21:00:38 +01:00
Achim D. Brucker 45c01b97e1 Removed not used added section for latest release.
ci/woodpecker/push/build Pipeline was successful Details
2022-04-25 20:52:09 +01:00
Achim D. Brucker 8ed9abc1a7 Fixed URLs in documentation and examples.
ci/woodpecker/push/build Pipeline was successful Details
2022-04-25 20:44:23 +01:00
Achim D. Brucker d87f2b821f Fixed links to git.logicalhacking.com. 2022-04-25 07:45:06 +01:00
Achim D. Brucker 65ec54fb65 Updated copyright range. 2022-04-25 07:37:32 +01:00
Achim D. Brucker 2c2561e6a5 Updated development version information.
ci/woodpecker/push/build Pipeline was successful Details
2022-04-24 21:58:54 +01:00
Achim D. Brucker 4f090cd8b8 Update for v1.2.0 release. 2022-04-24 21:45:16 +01:00
Achim D. Brucker f8189b2d8a Moved Makefile for generating release archive into .woodpecker directory. 2022-04-24 21:43:11 +01:00
Achim D. Brucker 3b3c718502 Added email notification for failed builds.
ci/woodpecker/push/build Pipeline was successful Details
2022-03-29 07:13:50 +01:00
Achim D. Brucker 8857a6481f Reorganized CI setup.
ci/woodpecker/push/build Pipeline was successful Details
2022-03-20 11:07:22 +00:00
Achim D. Brucker f22a4f018e Initial commit.
ci/woodpecker/push/build Pipeline was successful Details
2022-03-20 10:25:39 +00:00
Achim D. Brucker 140dde786e Generate link to latest artifacts.
ci/woodpecker/push/build Pipeline was successful Details
2022-03-19 20:28:49 +00:00
Achim D. Brucker 2d29d803f6 Deploy generated artifacts.
ci/woodpecker/push/build Pipeline was successful Details
2022-03-19 14:06:22 +00:00
Achim D. Brucker 87bb66436f Use curl instead of wget.
ci/woodpecker/push/build Pipeline was successful Details
2022-03-16 21:00:12 +00:00
Achim D. Brucker 9828313d9e Removed outdated sig-alternate example.
ci/woodpecker/push/build Pipeline failed Details
2022-03-16 20:48:37 +00:00
Achim D. Brucker fdbce17e66 Download entcs.cls during build. 2022-03-16 20:46:42 +00:00
Achim D. Brucker 76ab509967 Fixed directory hierarchy.
ci/woodpecker/push/build Pipeline failed Details
2022-03-16 20:33:06 +00:00
Achim D. Brucker d8f1acc3cf Fixed directory hierarchy.
ci/woodpecker/push/build Pipeline failed Details
2022-03-16 20:27:24 +00:00
Achim D. Brucker 06f36211ba Moved Woodpecker configuration into subdirectory.
ci/woodpecker/push/build Pipeline failed Details
2022-03-16 20:25:47 +00:00
Achim D. Brucker c130290a11 Switched from Jenkins to Woodpecker CI.
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-03-15 23:26:55 +00:00
Achim D. Brucker 180148b6c4 Renamed Master Repository to Upstream Repository. 2022-03-13 18:32:19 +00:00
Achim D. Brucker f6a61e203a Inlined body text for all examples. 2022-03-13 17:39:16 +00:00
Achim D. Brucker 8ecd1d94a0 Bug fix: inlined body text and moved abstract before maketitle as required by acmart. 2022-03-13 17:35:34 +00:00
Achim D. Brucker 9757cf38b2 Use hvlogos.sty instead of dtk-logos.sty. 2021-12-23 21:55:05 +00:00
Achim D. Brucker bd8eb3e711 If available, use pdfmanagement instead of \pdfpagesattr (closes #20). 2021-12-23 21:51:04 +00:00
Oliver Kopp b987812c76
Nicer syntax highlighting 2020-09-02 02:27:33 +02:00
Achim D. Brucker 70f2c95408 Load authorarchive within the AtEndPreamble-hook, required with latest lni.cls.
adbrucker/authorarchive/master This commit looks good Details
2019-09-13 20:13:44 +01:00
Achim D. Brucker a00acaaf44 Compare-links now point to logicalhacking.com.
adbrucker/authorarchive/master This commit looks good Details
2019-08-18 09:39:58 +01:00
Oliver Kopp 4bfa26bc60
Fix format of changelog for 1.1.1
adbrucker/authorarchive/master This commit looks good Details
2019-06-23 22:04:21 +02:00
Achim D. Brucker 135c05f4a4 Marked development version as unreleased.
adbrucker/authorarchive/master This commit looks good Details
2019-06-23 18:36:03 +01:00
23 changed files with 399 additions and 253 deletions

12
.ci/Jenkinsfile vendored
View File

@ -1,12 +0,0 @@
pipeline {
agent any
stages {
stage('Build PDFs') {
steps {
sh 'docker run -v $PWD/:/authorarchive logicalhacking:debian4isabelle sh -c "cd /authorarchive/examples && (for i in *.tex; do pdflatex \\$i; pdflatex \\$i; pdflatex \\$i; done)"'
}
}
}
}

16
.woodpecker/Makefile Normal file
View File

@ -0,0 +1,16 @@
authorarchive.zip: ../* ../examples/*.tex
rm -rf authorarchive
mkdir -p authorarchive/examples
cp -r ../icons authorarchive
(cd ../examples; for i in *.tex; do pdflatex $$i; pdflatex $$i; pdflatex $$i; done)
cp ../examples/*.tex authorarchive/examples/
cp ../examples/*.pdf authorarchive/examples/
cp ../examples/*.config authorarchive/examples/
cp -r ../examples/bib authorarchive/examples/
cp ../*.sty authorarchive
cp ../LICENSE authorarchive
cp ../*.md authorarchive
chmod -R go+u-w authorarchive
zip -r authorarchive.zip authorarchive
rm -rf authorarchive

20
.woodpecker/README.md Normal file
View File

@ -0,0 +1,20 @@
# Continuous Build and Release Setup
[![status-badge](https://ci.logicalhacking.com/api/badges/adbrucker/authorarchive/status.svg)](https://ci.logicalhacking.com/adbrucker/authorarchive)
This directory contains the CI configuration for the [Woodpecker CI](https://woodpecker-ci.org/).
It may also contain additional tools and script that are useful for preparing a release.
## Generated Artifacts
### Latest Build
* [brucker-authorarchive-2016-acmart.pdf](https://artifacts.logicalhacking.com/ci/adbrucker/authorarchive/main/latest/brucker-authorarchive-2016-acmart.pdf)
* [brucker-authorarchive-2016-entcs.pdf](https://artifacts.logicalhacking.com/ci/adbrucker/authorarchive/main/latest/brucker-authorarchive-2016-entcs.pdf)
* [brucker-authorarchive-2016-IEEEtran-nourl.pdf](https://artifacts.logicalhacking.com/ci/adbrucker/authorarchive/main/latest/brucker-authorarchive-2016-IEEEtran-nourl.pdf)
* [brucker-authorarchive-2016-IEEEtran.pdf](https://artifacts.logicalhacking.com/ci/adbrucker/authorarchive/main/latest/brucker-authorarchive-2016-IEEEtran.pdf)
* [brucker-authorarchive-2016-llncs-a4.pdf](https://artifacts.logicalhacking.com/ci/adbrucker/authorarchive/main/latest/brucker-authorarchive-2016-llncs-a4.pdf)
* [brucker-authorarchive-2016-llncs.pdf](https://artifacts.logicalhacking.com/ci/adbrucker/authorarchive/main/latest/brucker-authorarchive-2016-llncs.pdf)
* [brucker-authorarchive-2016-lni.pdf](https://artifacts.logicalhacking.com/ci/adbrucker/authorarchive/main/latest/brucker-authorarchive-2016-lni.pdf)
* [brucker-authorarchive-2016.pdf](https://artifacts.logicalhacking.com/ci/adbrucker/authorarchive/main/latest/brucker-authorarchive-2016.pdf)

39
.woodpecker/build.yml Normal file
View File

@ -0,0 +1,39 @@
pipeline:
build:
image: docker.io/texlive/texlive
commands:
- export ARTIFACT_DIR=$CI_WORKSPACE/.artifacts/$CI_REPO/$CI_BRANCH/$CI_BUILD_NUMBER/
- mkdir -p $ARTIFACT_DIR
- cd examples
- curl https://www.entcs.org/generic.zip --output generic.zip
- unzip -p generic.zip generic/entcs.cls > entcs.cls
- rm generic.zip
- latexmk -pdf
- latexmk -C
- latexmk -lualatex
- cp *.pdf $ARTIFACT_DIR
- cd $ARTIFACT_DIR
- cd ..
- ln -s * latest
deploy:
image: docker.io/drillster/drone-rsync
settings:
hosts: [ "ci.logicalhacking.com"]
port: 22
source: .artifacts/$CI_REPO_OWNER/*
target: $CI_REPO_OWNER
include: [ "**.*"]
key:
from_secret: artifacts_ssh
user: artifacts
notify:
image: drillster/drone-email
settings:
host: smtp.0x5f.org
username: woodpecker
password:
from_secret: email
from: ci@logicalhacking.com
when:
status: [ changed, failure ]

View File

@ -5,12 +5,46 @@ 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.1.1] - 2019-06-23
- Added PDF versions of the examples to the CTAN upload.
## [Unreleased]
### Added
### Changed
### Fixed
- `startpage` and publisher information correctly handled at `\authorsetup{}`
## [1.3.0] - 2023-02-10
### Changed
- use style `orcidlink.sty` instead of local logo for the ORCID icon.
- `\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
### Changed
- Fixed version information in ProvidesPackages.
- fixed broken links in documentation and examples.
## [1.2.0] - 2022-04-24
### Changed
- If available, use pdfmanagement instead of \pdfpagesattr.
- Use hvlogos.sty instead of dtk-logos.sty
## [1.1.1] - 2019-06-23
### Added
- Added PDF versions of the examples to the CTAN upload.
## [1.1.0] - 2019-06-23
### Added
@ -26,12 +60,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- 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
## 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
[Unreleased]: https://git.logicalhacking.com/adbrucker/authorarchive/compare/v1.3.0...HEAD
[1.3.0]: https://git.logicalhacking.com/adbrucker/authorarchive/compare/v1.3.0...v1.3.0
[1.2.1]: https://git.logicalhacking.com/adbrucker/authorarchive/compare/v1.2.0...v1.2.1
[1.2.0]: https://git.logicalhacking.com/adbrucker/authorarchive/compare/v1.1.1...v1.2.0
[1.1.1]: https://git.logicalhacking.com/adbrucker/authorarchive/compare/v1.1.0...v1.1.1
[1.1.0]: https://git.logicalhacking.com/adbrucker/authorarchive/compare/v1.0.0...v1.1.0

View File

@ -1,4 +1,4 @@
Copyright (c) 2008-2019 Achim D. Brucker
Copyright (c) 2008-2022 Achim D. Brucker
All rights reserved.
Redistribution and use in source and binary forms, with or without

View File

@ -1,17 +0,0 @@
authorarchive.zip: * examples/*.tex
rm -rf authorarchive
mkdir -p authorarchive/examples
cp -r icons authorarchive
(cd examples; for i in *.tex; do pdflatex $$i; pdflatex $$i; pdflatex $$i; done)
cp examples/*.tex authorarchive/examples/
cp examples/*.pdf authorarchive/examples/
cp examples/*.config authorarchive/examples/
cp -r examples/bib authorarchive/examples/
cp -r examples/input authorarchive/examples/
cp *.sty authorarchive
cp LICENSE authorarchive
cp *.md authorarchive
chmod -R go+u-w authorarchive
zip -r authorarchive.zip authorarchive
rm -rf authorarchive

102
README.md
View File

@ -5,34 +5,53 @@
<!-- toc -->
- [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](#installation)
- [Usage](#usage)
- [Boolean Switches](#boolean-switches)
- [Key/Value Options](#keyvalue-options)
- [Embedding Bibliography Entries](#embedding-bibliography-entries)
- [Notes on Self-Archiving](#notes-on-self-archiving)
- [Usage at arXiv.org](#usage-at-arxivorg)
- [Other publishers](#other-publishers)
- [Alternative Packages](#alternative-packages)
- [Authors](#authors)
- [Contributors](#contributors)
- [License](#license)
- [Upstream Repository](#upstream-repository)
<!-- tocstop -->
## 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).
The package is [available on CTAN](https://ctan.org/pkg/authorarchive) and is
packaged in both MiKTeX and TeX Live. Thus, no manual installation should be
requried. In case you still want to install the package manually, 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{authorarchive}
\authorsetup{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
}
```
Note that this is the preferred way of configuring the package, as it allows,
e.g., for LaTeX commands in options. Only if no (complex) LaTeX commands are
used, the configuration can also be passes as package options (this is a
limitation of the way LaTeX is passing options to packages):
```tex
\usepackage[LNCS,
key=brucker-authorarchive-2016,
@ -43,7 +62,7 @@ A simple use for LNCS-formatted papers is as follows:
doi={00/00_00},
doiText={0/00\_00},
nocopyright
]{authorarchive}
]{authorarchive}
```
The following layout-styles are pre-defined:
@ -79,7 +98,7 @@ works nicely for Acta Informatica.
| 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` | <https://git.logicalhacking.com/adbrucker/authorarchive/src/main> | 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. |
@ -119,38 +138,6 @@ 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 Springers 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
@ -174,7 +161,7 @@ The default setting just prints the note centered at the bottom of the first pag
]{authorarchive}
```
Still, for some used document classes (e.g., `acmart`) there are specific
Still, for some used document classes (e.g., `lncs` and `acmart`) there are specific
package options available hat produce an alternative layout.
## Alternative Packages
@ -209,10 +196,13 @@ 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.
```yaml
SPDX-License-Identifier: LPPL-1.3c+ OR BSD-2-Clause
```
## Master Repository
## Upstream Repository
The master git repository for this project is hosted by the [Software
Assurance & Security Research Team](https://logicalhacking.com) at
The upstream git repository, i.e., the single source of truth, for this
project is hosted by the
[Software Assurance & Security Research Team](https://logicalhacking.com) at
<https://git.logicalhacking.com/adbrucker/authorarchive>.

View File

@ -1,4 +1,4 @@
%% Copyright (C) 2008-2019 Achim D. Brucker, https://www.brucker.ch
%% Copyright (C) 2008-2023 Achim D. Brucker, https://www.brucker.ch
%%
%% License:
%% This program can be redistributed and/or modified under the terms
@ -11,21 +11,25 @@
%% SPDX-License-Identifier: LPPL-1.3c+ OR BSD-2-Clause
\NeedsTeXFormat{LaTeX2e}\relax
\ProvidesPackage{authorarchive}
[2019/06/23 v1.1.1%
[0000/00/00 Unreleased v1.3.0+%
Self-archiving information for scientific publications.]
%
\PassOptionsToPackage{hyphens}{url}
%
\RequirePackage{ifthen}
\RequirePackage[inline]{enumitem}
\RequirePackage{graphicx}
\RequirePackage{orcidlink}
\RequirePackage{eso-pic}
\RequirePackage{intopdf}
\RequirePackage{kvoptions}
\RequirePackage{hyperref}
\RequirePackage{calc}
\RequirePackage{qrcode}
\RequirePackage{dtk-logos}
\RequirePackage{etoolbox}
\AtBeginDocument{%
\providerobustcmd{\BibTeX}{{%
\normalfont B\kern-0.5em{\scshape i\kern-0.25em b}\kern-0.8em\TeX%
}}}
%
%Better url breaking
\g@addto@macro{\UrlBreaks}{\UrlOrds}
@ -80,31 +84,51 @@
}
\ProcessKeyvalOptions*
% Provide command for dynamic configuration seutp
\def\authorsetup{\kvsetkeys{AA}}
\newcommand{\AA@defIncludeFiles}{
\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}
}
\AA@defIncludeFiles
\newboolean{AA@bibExists}
\setboolean{AA@bibExists}{false}
\newcommand{\AA@defIncludeSwitches}{
\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}}{}
}
\AA@defIncludeSwitches
% Provide command for dynamic configuration setup
% \def\authorsetup{\kvsetkeys{AA}}
\newcommand{\authorsetup}[1]{%
\kvsetkeys{AA}{#1}
\AA@defIncludeFiles
\AA@defIncludeSwitches
}
% Load local configuration
\InputIfFileExists{authorarchive.config}{}{}
% define proxy command for setting PDF attributes
\ExplSyntaxOn
\@ifundefined{pdfmanagement_add:nnn}{%
\newcommand{\AA@pdfpagesattribute}[2]{\pdfpagesattr{/#1 #2}}%
}{%
\newcommand{\AA@pdfpagesattribute}[2]{\pdfmanagement_add:nnn{Pages}{#1}{#2}}%
}%
\ExplSyntaxOff
\newlength\AA@x
\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}
@ -113,14 +137,14 @@
\setlength{\AA@width}{\textwidth}
\def\AA@pageinfo{}
\AtBeginDocument{
\ifthenelse{\equal{\AA@startpage}{UNKNOWN START PAGE}}{%
}{%
\setcounter{page}{\AA@startpage}%
\def\AA@pageinfo{pp. \thepage--\pageref{\aa@lastpage}, }
}
%%%% sig-alternate.cls
\ifAA@ACM%
\ifthenelse{\equal{\AA@publisher}{UNKNOWN PUBLISHER}}{%
@ -148,8 +172,7 @@
%%%% LNCS
\ifAA@LNCS%
\ifAA@orcidicon%
\renewcommand{\orcidID}[1]{\href{https://orcid.org/#1}{%
\textsuperscript{\,\includegraphics[height=2\fontcharht\font`A]{vector_iD_icon}}}}
\renewcommand{\orcidID}[1]{\orcidlink{#1}}
\else\relax\fi%
%
\ifthenelse{\equal{\AA@publisher}{UNKNOWN PUBLISHER}}{%
@ -157,11 +180,11 @@
}{}
\renewcommand{\authorcrfont}{\scriptsize}
\@ifclasswith{llncs}{a4paper}{%
\pdfpagesattr{/CropBox [92 114 523 780]}%
\AA@pdfpagesattribute{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}}
\AA@pdfpagesattribute{CropBox}{[92 65 523 731]}%
\renewcommand{\authorat}[1]{\put(\LenToUnit{\AA@x},23){#1}}%
}
\setlength{\AA@width}{\textwidth}
\setcounter{tocdepth}{2}
@ -174,7 +197,7 @@
}{}
\renewcommand{\authorat}[1]{\put(\LenToUnit{\AA@x},35){#1}}
\renewcommand{\authorcrfont}{\scriptsize}
\pdfpagesattr{/CropBox [70 65 526.378 748.15]} % TODO
\AA@pdfpagesattribute{CropBox}{[70 65 526.378 748.15]}
\setlength{\AA@width}{\textwidth}
\setcounter{tocdepth}{2}
\fi
@ -200,14 +223,12 @@
\setlength{\AA@width}{\textwidth}
\setcounter{tocdepth}{2}
\fi
%
}
\hypersetup{%
draft = false,
bookmarksopen = true,
bookmarksnumbered= true,
pdfauthor = {\@author},
pdftitle = {\@title},
}
\@ifpackageloaded{totpages}{%
@ -293,26 +314,26 @@
\hfill
\begin{itemize*}[label={}, itemjoin={,}]
\IfFileExists{\AA@bibBibTeX}{%
\item \attachandlink{\AA@bibBibTeX}[application/x-bibtex]{BibTeX entry of this paper}{\BibTeX}%
\item \expanded{\attachandlink[\AA@key.bib]{\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}%
\item \expanded{\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}%
\item \expanded{\attachandlink[\AA@key.word.xml]{\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}%
\item \expanded{\attachandlink[\AA@key.enw]{\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}%
\item \expanded{\attachandlink[\AA@key.ris]{\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.}%
}%

View File

@ -1,4 +1,4 @@
\authorsetup{%
baseurl={https://git.logicalhacking.com/adbrucker/authorarchive/src/master/examples}
baseurl={https://git.logicalhacking.com/adbrucker/authorarchive/src/main/examples}
,bibtexdir={bib}
}

View File

@ -1,6 +1,8 @@
\documentclass[conference]{IEEEtran}
\usepackage[T1]{fontenc}
\usepackage[IEEE,
\usepackage{../authorarchive}
\authorsetup{
IEEE,
key=brucker-authorarchive-2016,
year=2016,
publication={Anonymous et al.\ (eds). Proceedings of the International
@ -8,15 +10,32 @@
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}
\IEEEauthorblockA{Some Department \\ Somewhere}
}
\input{input/body}
\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}

View File

@ -1,6 +1,8 @@
\documentclass[conference]{IEEEtran}
\usepackage[T1]{fontenc}
\usepackage[IEEE,
\usepackage{../authorarchive}
\authorsetup{
IEEE,
key=brucker-authorarchive-2016,
year=2016,
publication={Anonymous et al.\ (eds). Proceedings of the International
@ -9,15 +11,32 @@
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}
\IEEEauthorblockA{Some Department \\ Somewhere}
}
\input{input/body}
\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}

View File

@ -8,7 +8,9 @@
\acmDOI{10.1145/000000.000000}
\acmISBN{000-0-0000-0000-0/00/00}
\usepackage[acmart,
\usepackage{../authorarchive}
\authorsetup{
acmart,
key=brucker-authorarchive-2016,
year=2016,
publication={Anonymous et al. (eds). Proceedings of the International
@ -16,12 +18,27 @@
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}}
\begin{abstract}
\lipsum[1-2]
\end{abstract}
\input{input/body}
\begin{document}
\maketitle{}
\section{Introduction}
\lipsum[1-4]
\section{Contribution}
\lipsum[5-10]
\section{Conclusion}
\lipsum[11-12]
\end{document}

View File

@ -1,6 +1,8 @@
\documentclass{entcs}
\usepackage[T1]{fontenc}
\usepackage[ENTCS,
\usepackage{../authorarchive}
\authorsetup{
ENTCS,
key=brucker-authorarchive-2016,
year=2016,
publication={Anonymous et al.\ (eds). Proceedings of the International
@ -9,7 +11,7 @@
doi={00/00_00},
doiText={0/00\_00},
nocopyright
]{../authorarchive}
}
\usepackage{lipsum}

View File

@ -1,6 +1,8 @@
\documentclass[final, runningheads, USenglish, a4paper, pdftex]{llncs}
\documentclass[final, runningheads, USenglish, a4paper]{llncs}
\usepackage[T1]{fontenc}
\usepackage[LNCS,
\usepackage{../authorarchive}
\authorsetup{
LNCS,
key=brucker-authorarchive-2016,
year=2016,
publication={Anonymous et al.\ (eds). Proceedings of the International
@ -9,12 +11,29 @@
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}
\institute{Some Department, Somewhere}
\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}
\input{input/body}

View File

@ -1,12 +1,9 @@
\documentclass[final, runningheads, USenglish, pdftex]{llncs}
\documentclass[final, runningheads, USenglish]{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,
\usepackage{../authorarchive}
\authorsetup{
LNCS,
key=brucker-authorarchive-2016,
year=2016,
publication={Anonymous et al.\ (eds). Proceedings of the International
@ -16,12 +13,33 @@
doiText={0/00\_00},
orcidicon,
nocopyright
]{../authorarchive}
}
\authorsetup{
publication={Anonymous 6\textsuperscript{th} et al.\ (eds). Proceedings of the International
Conference on LaTeX-Hacks, LNCS~42. Some Publisher},
}
\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}
\institute{Some Department, Somewhere}
\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}
\input{input/body}

View File

@ -1,24 +1,43 @@
\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}
\AtEndPreamble{
\usepackage{../authorarchive}
\authorsetup{
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
}
}
\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\\
Some Department\\
Somewhere
}
\input{input/body}
\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}

View File

@ -1,23 +0,0 @@
\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}

View File

@ -1,6 +1,7 @@
\documentclass[a4paper]{article}
\usepackage[
\usepackage{../authorarchive}
\authorsetup{
key=brucker-authorarchive-2016,
year=2016,
publication={Anonymous et al.\ (eds). Proceedings of the International
@ -8,11 +9,28 @@
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}
\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}

View File

@ -1,18 +0,0 @@
\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}

View File

@ -1,21 +0,0 @@
# 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
<https://orcid.org/trademark-and-id-display-guidelines> 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.

Binary file not shown.

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 256 256" style="enable-background:new 0 0 256 256;" xml:space="preserve">
<style type="text/css">
.st0{fill:#A6CE39;}
.st1{fill:#FFFFFF;}
</style>
<path class="st0" d="M256,128c0,70.7-57.3,128-128,128C57.3,256,0,198.7,0,128C0,57.3,57.3,0,128,0C198.7,0,256,57.3,256,128z"/>
<g>
<path class="st1" d="M86.3,186.2H70.9V79.1h15.4v48.4V186.2z"/>
<path class="st1" d="M108.9,79.1h41.6c39.6,0,57,28.3,57,53.6c0,27.5-21.5,53.6-56.8,53.6h-41.8V79.1z M124.3,172.4h24.5
c34.9,0,42.9-26.5,42.9-39.7c0-21.5-13.7-39.7-43.7-39.7h-23.7V172.4z"/>
<path class="st1" d="M88.7,56.8c0,5.5-4.5,10.1-10.1,10.1c-5.6,0-10.1-4.6-10.1-10.1c0-5.6,4.5-10.1,10.1-10.1
C84.2,46.7,88.7,51.3,88.7,56.8z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 983 B