From d55491276df55bf41bb51e22498dfb0d957f71b4 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 25 Apr 2022 20:22:41 +0000 Subject: llncsconf (25apr22) git-svn-id: svn://tug.org/texlive/trunk@63136 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/llncsconf/CHANGELOG.md | 18 ++++- Master/texmf-dist/doc/latex/llncsconf/README.md | 88 +++++++++++++-------- Master/texmf-dist/doc/latex/llncsconf/example.pdf | Bin 123034 -> 0 bytes Master/texmf-dist/doc/latex/llncsconf/example.tex | 31 -------- .../doc/latex/llncsconf/example/example.tex | 30 +++++++ .../llncsconf/example/example_accepted_crop.pdf | Bin 0 -> 118430 bytes .../llncsconf/example/example_accepted_nocrop.pdf | Bin 0 -> 118411 bytes .../llncsconf/example/example_intended_crop.pdf | Bin 0 -> 131639 bytes .../llncsconf/example/example_intended_nocrop.pdf | Bin 0 -> 131626 bytes .../latex/llncsconf/example/example_llncs_crop.pdf | Bin 0 -> 131996 bytes .../llncsconf/example/example_llncs_nocrop.pdf | Bin 0 -> 131977 bytes .../llncsconf/example/example_proceedings_crop.pdf | Bin 0 -> 125447 bytes .../example/example_proceedings_nocrop.pdf | Bin 0 -> 125428 bytes .../llncsconf/example/example_submitted_crop.pdf | Bin 0 -> 131793 bytes .../llncsconf/example/example_submitted_nocrop.pdf | Bin 0 -> 131776 bytes .../texmf-dist/tex/latex/llncsconf/llncsconf.sty | 33 ++++++-- 16 files changed, 127 insertions(+), 73 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/llncsconf/example.pdf delete mode 100644 Master/texmf-dist/doc/latex/llncsconf/example.tex create mode 100644 Master/texmf-dist/doc/latex/llncsconf/example/example.tex create mode 100644 Master/texmf-dist/doc/latex/llncsconf/example/example_accepted_crop.pdf create mode 100644 Master/texmf-dist/doc/latex/llncsconf/example/example_accepted_nocrop.pdf create mode 100644 Master/texmf-dist/doc/latex/llncsconf/example/example_intended_crop.pdf create mode 100644 Master/texmf-dist/doc/latex/llncsconf/example/example_intended_nocrop.pdf create mode 100644 Master/texmf-dist/doc/latex/llncsconf/example/example_llncs_crop.pdf create mode 100644 Master/texmf-dist/doc/latex/llncsconf/example/example_llncs_nocrop.pdf create mode 100644 Master/texmf-dist/doc/latex/llncsconf/example/example_proceedings_crop.pdf create mode 100644 Master/texmf-dist/doc/latex/llncsconf/example/example_proceedings_nocrop.pdf create mode 100644 Master/texmf-dist/doc/latex/llncsconf/example/example_submitted_crop.pdf create mode 100644 Master/texmf-dist/doc/latex/llncsconf/example/example_submitted_nocrop.pdf diff --git a/Master/texmf-dist/doc/latex/llncsconf/CHANGELOG.md b/Master/texmf-dist/doc/latex/llncsconf/CHANGELOG.md index 2a0f08412e6..fa9bab620c9 100644 --- a/Master/texmf-dist/doc/latex/llncsconf/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/llncsconf/CHANGELOG.md @@ -5,7 +5,22 @@ 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.0 - 2020-05-10 +## [1.2.0] - 2022-04-24 + +### Added + +- The default copyright note can be overwritten by redefining the command `\copyrightnote`. + +### Changed + +- If available, use pdfmanagement instead of `\pdfpagesattr` [[#12](https://github.com/adbrucker/llncsconf/issues/12)] +- If `intended` is used, the note is put on each page [[#16](https://github.com/adbrucker/llncsconf/issues/16)] + +### Fixed + +- Reduced size of author statement in footnote [[#15](https://github.com/adbrucker/llncsconf/issues/15)] + +## [1.1.0] - 2020-05-10 ### Added @@ -17,4 +32,3 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Initial version uploaded to CTAN. -[1.1.0]: https://git.logicalhacking.com/adbrucker/llncsconf/compare/v1.0.0...v1.1.0 diff --git a/Master/texmf-dist/doc/latex/llncsconf/README.md b/Master/texmf-dist/doc/latex/llncsconf/README.md index cbe60fba6fe..bae0f0202fa 100644 --- a/Master/texmf-dist/doc/latex/llncsconf/README.md +++ b/Master/texmf-dist/doc/latex/llncsconf/README.md @@ -1,54 +1,76 @@ # llncsconf -LaTeX package extending Springer's llncs class. +LaTeX package extending [Springer's llncs class](https://ctan.org/pkg/llncs). -## Installation +## Installation -Copy `llncsconf.sty` in a directory that is searched by LaTeX +This package is [available on CTAN](https://www.ctan.org/pkg/llncsconf) +and thus included TeXLive and MiKTeX. In case the distributed version +is too old, copy `llncsconf.sty` in a directory that is searched by LaTeX (e.g,. either your `texmf` tree or the local directory with your main -LaTeX file. +LaTeX file). ## Usage In a LaTeX file that uses Springer's `llncs` class, just add + ```tex \usepackage{llncsconf} ``` -to use the style. The package supports the following options: - * `crop`: crops the page (PDF) to the page size (152x235mm) used by - the LNCS proceedings books (and the official PDFs offered by - Springer). Please ensure that you *do not* have the option - `a4paper` activated. Otherwise, cropping produces wrong results. - * `rcsinfo`: adds RCS revision information to the first page of - the document. - * `svninfo`: adds subversion/svn revision information to the - first page of the document. - * `llncs`: typesets a copy of Springer's copyright note. This should - satisfy Springer's requirements for self-archiving. - You need to supply the DOI using `\llncsdoi{DOI}`. - * `proceedings`: typesets a note in which proceedings the paper was - published (similar to `llncs` without Springer's availability note). - * `accepted`: adds a *accepted for publication at ...* note - to the first page. This is useful for the phase where the camera - ready version is prepared, but the publisher did not yet publish it. - * `submitted`: adds a *submitted to ... please to no distribute* note - to the first page. - * `intended`: adds a *submitted to ... please to no distribute* note - to the first page. - -Moreover, the package requires two commands to be executed: + +to use the style. + +The package supports the following general options: + +* `crop`: crops the page (PDF) to the page size (152x235mm) used by + the LNCS proceedings books (and the official PDFs offered by + Springer). Please ensure that you *do not* have the option + `a4paper` activated. Otherwise, cropping produces wrong results. +* `rcsinfo`: adds RCS revision information to the first page of + the document. +* `svninfo`: adds subversion/svn revision information to the + first page of the document. + +To indicate the state of the paper, the package supports following choices: + +* `intended`: adds a *submitted to ... please to no distribute* note + to each page. The default copyright note can be overwritten by + redefining the command `\copyrightnote`. +* `submitted`: adds a *submitted to ... please to no distribute* note + to each page. The default copyright note can be overwritten by + redefining the command `\copyrightnote`. +* `accepted`: adds a *accepted for publication at ...* note + to the first page. This is useful for the phase where the camera + ready version is prepared, but the publisher did not yet publish it. +* `proceedings`: typesets a note in which proceedings the paper was + published (similar to `llncs` without Springer's availability note). +* `llncs`: typesets a copy of Springer's copyright note. This should + satisfy Springer's requirements for self-archiving. + You need to supply the DOI using `\llncsdoi{DOI}`. + +To display the state information properly, additional commands are required: + * `\conference{name of the conference}` which takes one argument, i.e., the name of the conference. This is used when one of the - options `submitted` or `intended` is used for loading the package. + options `intended`, `submitted`, or `accepted` is used for loading + the package. * `\llncs{book editors and title}{start page}` which takes two arguments: first the information about the book (e.g., editors, title) and, second, the start page of the chapter (contribution). * `\llncsdoi{DOI}` which takes one argument, i.e., the DOI of the final publication available at Springer's web site. +| State | `\conference` | `\llncs` | `\llncsdoi` | +| -- | -- | -- | -- | +| intended | yes | no | no | +| submitted | yes | no | no | +| accepted | yes | no | no | +| proceedings | no | yes | no | +| llncs | no | yes | yes | + ## Self-Archiving -Sprinter states in his [Springer's Consent to Publish v3](http://resource-cms.springer.com/springer-cms/rest/v1/content/731196/data/v3): +Springer states in his [Springer's Consent to Publish v3](https://resource-cms.springernature.com/springer-cms/rest/v1/content/15433008/data/Contract_Book_Contributor_Consent_to_Publish_LNCS_SIPAut): > 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 @@ -62,7 +84,6 @@ of the published paper. This package uses `https://doi.org` as `http://dx.doi.org` [is deprecated](https://www.doi.org/factsheets/DOIIdentifierSpecs.html). - ## Authors Main author: [Achim D. Brucker](http://www.brucker.ch/) @@ -78,8 +99,9 @@ the LPPL version 1.3c or (at your opinion) any later version. 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 . diff --git a/Master/texmf-dist/doc/latex/llncsconf/example.pdf b/Master/texmf-dist/doc/latex/llncsconf/example.pdf deleted file mode 100644 index 99910c31fda..00000000000 Binary files a/Master/texmf-dist/doc/latex/llncsconf/example.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/llncsconf/example.tex b/Master/texmf-dist/doc/latex/llncsconf/example.tex deleted file mode 100644 index 6df9fdc4556..00000000000 --- a/Master/texmf-dist/doc/latex/llncsconf/example.tex +++ /dev/null @@ -1,31 +0,0 @@ -\documentclass[final, runningheads, USenglish, pdftex]{llncs} -\usepackage{lipsum} -%\usepackage[proceedings,crop]{llncsconf} -\usepackage[llncs,crop]{llncsconf} - -\conference{International Conference on \LaTeX-Hacks} -\llncs{Anonymous et al.\ (eds).\ \emph{Proceedings of the International - Conference on \LaTeX-Hacks}, LNCS~-42. Some Publisher, 2016.}{0042} -\llncsdoi{10.1007/xxxx} -\title{A Simple Example of the \texttt{llncsconf} Package for \LaTeX} - -\author{\protect\href{http://www.brucker.ch/}{Achim D. Brucker}} -\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[10-12] -% \label{LastPage} -\end{document} diff --git a/Master/texmf-dist/doc/latex/llncsconf/example/example.tex b/Master/texmf-dist/doc/latex/llncsconf/example/example.tex new file mode 100644 index 00000000000..0ab3c2b7e1b --- /dev/null +++ b/Master/texmf-dist/doc/latex/llncsconf/example/example.tex @@ -0,0 +1,30 @@ +\documentclass[final, runningheads, USenglish, pdftex]{llncs} +\usepackage{lipsum} +\usepackage{llncsconf} + +\conference{International Conference on \LaTeX-Hacks} +\llncs{Anonymous et al.\ (eds).\ \emph{Proceedings of the International + Conference on \LaTeX-Hacks}, LNCS~-42. Some Publisher, 2016.}{0042} +\llncsdoi{10.1007/xxxx} +\title{A Simple Example of the \texttt{llncsconf} Package for \LaTeX} + +\author{\protect\href{http://www.brucker.ch/}{Achim D. Brucker}} +\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[10-12] +% \label{LastPage} +\end{document} diff --git a/Master/texmf-dist/doc/latex/llncsconf/example/example_accepted_crop.pdf b/Master/texmf-dist/doc/latex/llncsconf/example/example_accepted_crop.pdf new file mode 100644 index 00000000000..4077082987b Binary files /dev/null and b/Master/texmf-dist/doc/latex/llncsconf/example/example_accepted_crop.pdf differ diff --git a/Master/texmf-dist/doc/latex/llncsconf/example/example_accepted_nocrop.pdf b/Master/texmf-dist/doc/latex/llncsconf/example/example_accepted_nocrop.pdf new file mode 100644 index 00000000000..33a472293de Binary files /dev/null and b/Master/texmf-dist/doc/latex/llncsconf/example/example_accepted_nocrop.pdf differ diff --git a/Master/texmf-dist/doc/latex/llncsconf/example/example_intended_crop.pdf b/Master/texmf-dist/doc/latex/llncsconf/example/example_intended_crop.pdf new file mode 100644 index 00000000000..54f166b140a Binary files /dev/null and b/Master/texmf-dist/doc/latex/llncsconf/example/example_intended_crop.pdf differ diff --git a/Master/texmf-dist/doc/latex/llncsconf/example/example_intended_nocrop.pdf b/Master/texmf-dist/doc/latex/llncsconf/example/example_intended_nocrop.pdf new file mode 100644 index 00000000000..13363ba000d Binary files /dev/null and b/Master/texmf-dist/doc/latex/llncsconf/example/example_intended_nocrop.pdf differ diff --git a/Master/texmf-dist/doc/latex/llncsconf/example/example_llncs_crop.pdf b/Master/texmf-dist/doc/latex/llncsconf/example/example_llncs_crop.pdf new file mode 100644 index 00000000000..76959108396 Binary files /dev/null and b/Master/texmf-dist/doc/latex/llncsconf/example/example_llncs_crop.pdf differ diff --git a/Master/texmf-dist/doc/latex/llncsconf/example/example_llncs_nocrop.pdf b/Master/texmf-dist/doc/latex/llncsconf/example/example_llncs_nocrop.pdf new file mode 100644 index 00000000000..a674016d3dd Binary files /dev/null and b/Master/texmf-dist/doc/latex/llncsconf/example/example_llncs_nocrop.pdf differ diff --git a/Master/texmf-dist/doc/latex/llncsconf/example/example_proceedings_crop.pdf b/Master/texmf-dist/doc/latex/llncsconf/example/example_proceedings_crop.pdf new file mode 100644 index 00000000000..fb044bc33d9 Binary files /dev/null and b/Master/texmf-dist/doc/latex/llncsconf/example/example_proceedings_crop.pdf differ diff --git a/Master/texmf-dist/doc/latex/llncsconf/example/example_proceedings_nocrop.pdf b/Master/texmf-dist/doc/latex/llncsconf/example/example_proceedings_nocrop.pdf new file mode 100644 index 00000000000..74532aac3cf Binary files /dev/null and b/Master/texmf-dist/doc/latex/llncsconf/example/example_proceedings_nocrop.pdf differ diff --git a/Master/texmf-dist/doc/latex/llncsconf/example/example_submitted_crop.pdf b/Master/texmf-dist/doc/latex/llncsconf/example/example_submitted_crop.pdf new file mode 100644 index 00000000000..a31cf2f4dc9 Binary files /dev/null and b/Master/texmf-dist/doc/latex/llncsconf/example/example_submitted_crop.pdf differ diff --git a/Master/texmf-dist/doc/latex/llncsconf/example/example_submitted_nocrop.pdf b/Master/texmf-dist/doc/latex/llncsconf/example/example_submitted_nocrop.pdf new file mode 100644 index 00000000000..c4075c85d44 Binary files /dev/null and b/Master/texmf-dist/doc/latex/llncsconf/example/example_submitted_nocrop.pdf differ diff --git a/Master/texmf-dist/tex/latex/llncsconf/llncsconf.sty b/Master/texmf-dist/tex/latex/llncsconf/llncsconf.sty index 42d71bddbf3..a1c30b81d8b 100644 --- a/Master/texmf-dist/tex/latex/llncsconf/llncsconf.sty +++ b/Master/texmf-dist/tex/latex/llncsconf/llncsconf.sty @@ -11,7 +11,7 @@ %% SPDX-License-Identifier: LPPL-1.3c+ OR BSD-2-Clause \NeedsTeXFormat{LaTeX2e}\relax \ProvidesPackage{llncsconf} - [2020/05/10 v1.1.0 % + [2022/04/24 v1.2.0 % Tweaks for the llncs class.] % \RequirePackage{ifthen} @@ -27,6 +27,7 @@ \newboolean{proceedings} % \DeclareOption{crop}{\setboolean{crop}{true}} +\DeclareOption{nocrop}{\setboolean{crop}{false}} \DeclareOption{rcsinfo}{\setboolean{rcsinfo}{true}} \DeclareOption{svninfo}{\setboolean{svninfo}{true}} \DeclareOption{accepted}{\setboolean{accepted}{true}} @@ -42,16 +43,32 @@ \def\llncs#1#2{\gdef\@llncs{#1}\ifthenelse{\boolean{llncs} \OR \boolean{proceedings}}{\setcounter{page}{#2}}{}} \gdef\@llncsdoi{UNKNOWN} \def\llncsdoi#1{\gdef\@llncsdoi{#1}{}} + +\newcommand{\copyrightnote}{\copyright\ \number\year, \toc@uthor} % \ifthenelse{\boolean{crop}}{% +\ExplSyntaxOn +\@ifundefined{pdfmanagement_add:nnn}{% \@ifclasswith{llncs}{a4paper}{% \pdfpagesattr{/CropBox [92 114 523 780]}% }{% \pdfpagesattr{/CropBox [92 65 523 731]}% LNCS page: 152x235 mm }% +}{% + \@ifclasswith{llncs}{a4paper}{% + \pdfmanagement_add:nnn {Pages}{CropBox}{[92~114~523~780]} + }{% + \pdfmanagement_add:nnn {Pages}{CropBox}{[92~62~523~731]} + }% +}% +\ExplSyntaxOff }{} % + + + + \def\ps@svninfofirst{\let\@mkboth\@gobbletwo\let\@oddhead\@empty\let\@evenhead\@empty \def\@oddfoot{\reset@font\scriptsize \vbox to\z@{\parindent=\z@\vss @@ -88,24 +105,26 @@ \def\@oddfoot{\reset@font\scriptsize \vbox to\z@{\parindent=\z@\vss Submitted to \@conference, please do \emph{not} distribute.\\ - \copyright\ \number\year, \@author - }}\let\@evenfoot\@oddfoot} + \copyrightnote% + }}\let\@evenfoot\@oddfoot} \def\ps@submittedfirst{\let\@mkboth\@gobbletwo\let\@oddhead\@empty\let\@evenhead\@empty \def\@oddfoot{\reset@font\scriptsize \vbox to\z@{\parindent=\z@\vss Submitted to \@conference, please do \emph{not} distribute.\\ - \copyright\ \number\year, \@author + \copyrightnote% }}\let\@evenfoot\@oddfoot} % \def\ps@intended{\let\@mkboth\@gobbletwo \def\@oddfoot{\reset@font\scriptsize \vbox to\z@{\parindent=\z@\vss - Intended for submission to \@conference, please do \emph{not} distribute. + Intended for submission to \@conference, please do \emph{not} distribute.\\ + \copyrightnote% }}\let\@evenfoot\@oddfoot} \def\ps@intendedfirst{\let\@mkboth\@gobbletwo\let\@oddhead\@empty\let\@evenhead\@empty \def\@oddfoot{\reset@font\scriptsize \vbox to\z@{\parindent=\z@\vss - Intended for submission to \@conference, please do \emph{not} distribute. + Intended for submission to \@conference, please do \emph{not} distribute.\\ + \copyrightnote% }}\let\@evenfoot\@oddfoot} % \def\ps@llncs{\let\@mkboth\@gobbletwo\let\@oddhead\@empty\let\@evenhead\@empty @@ -153,7 +172,7 @@ % % \ifthenelse{\boolean{intended}}{% -% \pagestyle{intended}% +\pagestyle{intended}% \let\old@mkttl=\maketitle% \def\maketitle{\old@mkttl\thispagestyle{intendedfirst}}% }{} -- cgit v1.2.3