Compare commits

..

14 Commits
v1.3.0 ... 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
15 changed files with 247 additions and 7 deletions

148
.gitignore vendored Normal file
View File

@ -0,0 +1,148 @@
# ---> TeX
## class files for examples
examples/acmart.cls
examples/entcs.cls
examples/IEEEtran.cls
examples/llncs.cls
examples/lni.cls
examples/sig-alternate.cls
examples/*.pdf
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
## Intermediate documents:
*.dvi
*-converted-to.*
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
# *.pdf
## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.brf
*.run.xml
## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync
## Auxiliary and intermediate files from other packages:
# algorithms
*.alg
*.loa
# achemso
acs-*.bib
# amsthm
*.thm
# beamer
*.nav
*.snm
*.vrb
#(e)ledmac/(e)ledpar
*.end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R
# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls
# gnuplottex
*-gnuplottex-*
# hyperref
*.brf
# knitr
*-concordance.tex
*.tikz
*-tikzDictionary
# listings
*.lol
# makeidx
*.idx
*.ilg
*.ind
*.ist
# minitoc
*.maf
*.mtc
*.mtc[0-9]
*.mtc[1-9][0-9]
# minted
_minted*
*.pyg
# morewrites
*.mw
# mylatexformat
*.fmt
# nomencl
*.nlo
# sagetex
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd
# sympy
*.sout
*.sympy
sympy-plots-for-*.tex/
# TikZ & PGF
*.dpth
*.md5
*.auxlock
# todonotes
*.tdo
# xindy
*.xdy
# WinEdt
*.bak
*.sav
authorarchive.zip

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,6 +5,16 @@ 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).
## [Unreleased]
### Added
### Changed
### Fixed
- `startpage` and publisher information correctly handled at `\authorsetup{}`
## [1.3.0] - 2023-02-10
### Changed
@ -56,6 +66,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Initial version uploaded to CTAN.
[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

View File

@ -23,7 +23,10 @@
## Installation
Copy `authorarchive.sty` in a directory that is searched by LaTeX (e.g., either
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
@ -159,7 +162,7 @@ The default setting just prints the note centered at the bottom of the first pag
```
Still, for some used document classes (e.g., `lncs` and `acmart`) there are specific
package options available hat produce an alternative layout.
package options available hat produce an alternative layout.
## Alternative Packages

View File

@ -11,7 +11,7 @@
%% SPDX-License-Identifier: LPPL-1.3c+ OR BSD-2-Clause
\NeedsTeXFormat{LaTeX2e}\relax
\ProvidesPackage{authorarchive}
[2023/02/10 v1.3.0
[0000/00/00 Unreleased v1.3.0+%
Self-archiving information for scientific publications.]
%
\PassOptionsToPackage{hyphens}{url}
@ -26,7 +26,10 @@
\RequirePackage{calc}
\RequirePackage{qrcode}
\RequirePackage{etoolbox}
\newrobustcmd\BibTeX{Bib\TeX}
\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}
@ -134,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}}{%
@ -220,7 +223,7 @@
\setlength{\AA@width}{\textwidth}
\setcounter{tocdepth}{2}
\fi
%
}
\hypersetup{%
draft = false,