Skip to content

Commit

Permalink
Prepare new version
Browse files Browse the repository at this point in the history
  • Loading branch information
sieversMartin committed Oct 14, 2019
1 parent 80ff001 commit 54e38ec
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 13 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,24 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [1.6.0] - 2019-10-14

### Added
- Optional argument for `\booktitle` to support a short book title for running headers
- New macro `\booksubtitle`
- Add support for `selnolig` (LuaTeX-only)

### Changed
- `\email` now generates a `mailto:` hyperlink
- Example file: `align` instead of `eqnarray`
- Add `driver=none` option to `geometry` for better crop results (independent from engine)

### Fixed
- Global options are passed to `article` class ([#78](https://github.com/gi-ev/LNI/issues/78))
- Finally fix BiBTeX issue thanks to @ytzemih ([#6](https://github.com/gi-ev/LNI/issues/6))
- `hyperref` is loaded without options to make it more compatible with other packages like `authorarchive`

## [1.5.0] -2019-04-04
## [1.5.0] - 2019-04-04

### Added
- Load package `textcomp` by default and add option `upquote` to `listings` package ([#69](https://github.com/gi-ev/LNI/issues/69))
Expand Down Expand Up @@ -90,7 +96,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [1.0.0] - 2017-04-07
First release of the revised files

[Unreleased]: https://github.com/gi-ev/LNI/compare/v1.4...HEAD
[Unreleased]: https://github.com/gi-ev/LNI/compare/v1.6...HEAD
[1.6.0]: https://github.com/gi-ev/LNI/releases/tag/v1.6
[1.5.0]: https://github.com/gi-ev/LNI/releases/tag/v1.5
[1.4.0]: https://github.com/gi-ev/LNI/releases/tag/v1.4
[1.3.0]: https://github.com/gi-ev/LNI/releases/tag/v1.3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
----------------------------------------------------------------------------
lni -- A class for submissions to the ``Lecture Notes in Informatics''
(c) 2016-2019 Gesellschaft für Informatik (GI)
Version: 1.6BETA
Version: 1.6
Maintainer: Martin Sievers
Email: martin.sievers@schoenerpublizieren.de
License: Released under the LaTeX Project Public License v1.3c or later
Expand Down
30 changes: 22 additions & 8 deletions lni.cls
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,13 @@
\RequirePackage[%
final,%
protrusion=alltext-nott]{microtype}%
\ifluatex
\iflnienglish
\RequirePackage[english]{selnolig}%
\else
\RequirePackage[ngerman]{selnolig}%
\fi%
\fi%
\fi%
\SetTracking{encoding=*,shape=sc}{50}%
\DeclareFontFamily{U}{MnSymbolC}{}
Expand All @@ -175,7 +182,8 @@
includehead,
headheight=20.39pt,
headsep=.31cm,
centering]
centering,
driver=none]
{geometry}
\RequirePackage[a4,center,cam,info]{crop}
\renewcommand*\CROP@@info{{%
Expand Down Expand Up @@ -485,7 +493,8 @@
}%
\newcommand*{\startpage}[1]{\setcounter{page}{#1}}
\newcommand{\booktitle}{\@dblarg\@@booktitle}
\def\@@booktitle[#1]#2{\gdef\@shortbooktitle{#1}\gdef\@booktitle{#2}}
\def\@@booktitle[#1]#2{\gdef\@bookshorttitle{#1}\gdef\@booktitle{#2}}
\newcommand{\booksubtitle}[1]{\gdef\@booksubtitle{#1}}
\newcommand*{\@editor}{}
\newcommand*{\editor}[1]{\renewcommand{\@editor}{#1}}
\AtBeginDocument{%
Expand All @@ -497,12 +506,11 @@
}%
\fancypagestyle{plain}{%
\fancyhead{} % Löscht alle Kopfzeileneinstellungen
\fancyhead[RO]{\small\@editor~(Hrsg.):\
\@shortbooktitle,\hspace{1sp}\null\linebreak%
\fancyhead[RO]{\small\@editor~(Hrsg.):\ \@bookshorttitle,\hspace{1sp}\null\linebreak%
Lecture Notes in Informatics (LNI), Gesellschaft für Informatik, Bonn~\@year%
\hspace{5pt}\thepage\hspace{0.05cm}}
\fancyhead[LE]{\small\@editor~(Hrsg.):\
\@shortbooktitle,\linebreak\hspace{0.05cm}\thepage\hspace{5pt} Lecture Notes
\@bookshorttitle,\linebreak\hspace{0.05cm}\thepage\hspace{5pt} Lecture Notes
in Informatics (LNI), Gesellschaft für Informatik, Bonn~\@year}
\fancyfoot{} % Löscht alle Fußzeileneinstellungen
\renewcommand{\headrulewidth}{0.4pt} %Linie unter Kopfzeile
Expand All @@ -522,12 +530,14 @@
\RequirePackage{xspace}
\ifusehyperref
\AtEndPreamble{%
\RequirePackage[pdfusetitle,bookmarks=false]{hyperref}
\RequirePackage[bookmarks=false]{hyperref}
\hypersetup{%
pdfdisplaydoctitle,%
colorlinks=true,%
allcolors=black,%
pdfstartview=Fit%
pdfstartview=Fit,%
pdfauthor={\@author},%
pdftitle={\@title}%
}%
}%
\fi%
Expand All @@ -548,7 +558,11 @@
\Crefname{table}{\tablename}{\tablename}
}%
\fi%
\AtEndPreamble{\RequirePackage[all]{hypcap}}
\AtEndPreamble{%
\@ifpackageloaded{hyperref}
{\RequirePackage[all]{hypcap}}%
{}%
}%
\def\and{\unskip\hspace{-0.42em},\hspace{.6em}}
\ifusebiblatex
\else
Expand Down
4 changes: 2 additions & 2 deletions lni.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ This work consists of the file lni.dtx
% \changes{v1.6}{2019/04/23}{Global options are passed to article class}
% \changes{v1.6}{2019/09/14}{New macro \cs{booksubtitle}}
% \changes{v1.6}{2019/09/14}{Add option `driver=none` to `geometry` for better
% crop results
% crop results}
% \changes{v1.6}{2019/09/14}{\cs{booktitle} now uses an optional argument for
% shorttitle}
% \changes{v1.6}{2019/09/14}{New macro \cs{booksubtitle}}
Expand All @@ -304,7 +304,7 @@ This work consists of the file lni.dtx
% \changes{v1.6}{2019/09/14}{\pkg{hyperref} is loaded without options to make
% it more compatible with other packages like \pkg{authorarchive}}
% \changes{v1.6}{2019/10/14}{Fix for BibTeX style}
% \changes{v1.6}{2019/10/14}{Add support for `selnolig`}
% \changes{v1.6}{2019/10/14}{Add support for \pkg{selnolig}}
%
% \GetFileInfo{\jobname.dtx}
% \DoNotIndex{\newcommand,\newenvironment}
Expand Down
Binary file modified lni.pdf
Binary file not shown.

0 comments on commit 54e38ec

Please sign in to comment.