Skip to content

Commit

Permalink
Merge branch 'main' of github.com:gi-ev/LNI into main
Browse files Browse the repository at this point in the history
  • Loading branch information
sieversMartin committed Nov 15, 2023
2 parents 90003b7 + a82139c commit 951faef
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 21 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,15 @@ jobs:
with:
name: CTAN-${{ matrix.engine }}
path: '*.tar.gz'
changelog:
name: CHANGELOG.md
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
show-progress: ''
- uses: jbangdev/[email protected]
with:
script: com.github.nbbrd.heylogs:heylogs-cli:0.7.2:bin
scriptargs: "check CHANGELOG.md"
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
lni.pdf
lni-author-template.pdf
lni-paper-example-de.pdf
lni-author-template*.pdf
lni-paper-example-*.pdf

mybibfile.bib

Expand Down
17 changes: 10 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,31 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/).
The format is based on [Keep a Changelog](https://keepachangelog.com/).

## [Unreleased]

### Added

- Added option `anonymous` for anonymizing an article. [#100](https://github.com/gi-ev/LNI/pull/100)
- Added option `anonymous` for anonymizing an article ([#100](https://github.com/gi-ev/LNI/pull/100))
- Added `\pdfoutput=1` to fix compatibility with [arXiv](https://arxiv.org/) ([#81](https://github.com/gi-ev/LNI/issues/81))

### Changed

- Improve spacing in and around lists to better match the Word template. [#102](https://github.com/gi-ev/LNI/pull/102)
- Synced title spacing with Word template. [#104](https://github.com/gi-ev/LNI/pull/104)
- Improve spacing in and around lists to better match the Word template ([#102](https://github.com/gi-ev/LNI/pull/102))
- Synced title spacing with Word template ([#104](https://github.com/gi-ev/LNI/pull/104))
- (chore) `build.sh` assumes `*.md` are formatted using LF line endings, removed `dos2unix` dependency.
- Add more links to `biblatex-lni` to documentation ([#90](https://github.com/gi-ev/LNI/issues/90))
- Add `\yearofpublication` to documentation ([#89](https://github.com/gi-ev/LNI/pull/89))
- Improvement for documentation (merge requests [#89](https://github.com/gi-ev/LNI/issues/89),[#90](https://github.com/gi-ev/LNI/issues/90), [#93](https://github.com/gi-ev/LNI/issues/93), [#95](https://github.com/gi-ev/LNI/issues/95), [#96](https://github.com/gi-ev/LNI/issues/96)
- Improvement for documentation ([#89](https://github.com/gi-ev/LNI/issues/89), [#90](https://github.com/gi-ev/LNI/issues/90), [#93](https://github.com/gi-ev/LNI/issues/93), [#95](https://github.com/gi-ev/LNI/issues/95), [#96](https://github.com/gi-ev/LNI/issues/96))

### Fixed

- hyperref option `linktoc` fixed to `all` instead of `both`
- Fixed output in bst files ([#97](https://github.com/gi-ev/LNI/issues/97))
- Use hook to make biblatex aware of biblatex and to get correct links for references in the text ([#107](https://github.com/gi-ev/LNI/issues/107))
- Hyperlinked bibliographic entries work again ([#107](https://github.com/gi-ev/LNI/issues/107))
- `\footnote` is not used for pdf bookmarks ([#87](https://github.com/gi-ev/LNI/issues/87))
- Footnotes are always set at the bottom of the page ([#122](https://github.com/gi-ev/LNI/issues/122))

## [1.7] - 2021-03-02

Expand Down Expand Up @@ -98,7 +101,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).

### Added

- New option `nofonts` to use the class file on older systems ([#53](https://github.com/gi-ev/LNI/issues/52))
- New option `nofonts` to use the class file on older systems ([#53](https://github.com/gi-ev/LNI/issues/53))

### Changed

Expand Down
12 changes: 8 additions & 4 deletions lni-author-template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@
% !TeX program = pdflatex
% !BIB program = bibtex

%%% Um einen Artikel auf deutsch zu schreiben, genügt es die Klasse ohne
%%% Parameter zu laden.
%%% Zur Anonymisierung kann die ``anonymous'' Option genutzt werden.
\documentclass[]{lni}
\RequirePackage{iftex}\ifluatex\else
\pdfoutput=1
\fi
%%% To write an article in English, please use the option ``english'' in order
%%% to get the correct hyphenation patterns and terms.
%%% \documentclass[english]{class}
%%% for anonymizing an article you can use the ``anonymous'' option.
%%%
%%% Um einen Artikel auf deutsch zu schreiben, genügt es die Klasse ohne
%%% Parameter zu laden.
%%% Zur Anonymisierung kann die ``anonymous'' Option genutzt werden.
\documentclass[]{lni}
%%
\begin{document}
%%% Mehrere Autoren werden durch \and voneinander getrennt.
Expand Down
3 changes: 3 additions & 0 deletions lni-paper-example-de.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
% !TeX encoding = UTF-8
% !TeX spellcheck = de_DE

\RequirePackage{iftex}\ifluatex\else
\pdfoutput=1
\fi

%% Dies gibt Warnungen aus, sollten veraltete LaTeX-Befehle verwendet werden
\RequirePackage[l2tabu, orthodox]{nag}
Expand Down
10 changes: 8 additions & 2 deletions lni.cls
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@
{\multicitedelim}%
{\usebibmacro{postnote}}%
\fi%
\RequirePackage{etoolbox}
\RequirePackage{graphicx}
\RequirePackage{eso-pic}
\RequirePackage{grffile}
Expand Down Expand Up @@ -300,7 +301,8 @@
\par}%
\fi}
\renewcommand{\title}{\@dblarg\@@title}
\def\@@title[#1]#2{\gdef\@shorttitle{#1}\gdef\@title{#2}}
\def\@@title[#1]#2{%
\gdef\@shorttitle{#1}\gdef\@title{#2}}
\newcommand{\subtitle}[1]{\gdef\@subtitle{#1}}
\renewcommand{\author}{\@dblarg\@@author}
\newcommand{\@@author}[2][]{%
Expand Down Expand Up @@ -480,8 +482,9 @@
\setlength{\mathindent}{0.5cm}
\RequirePackage{verbatim}
\def\verbatim@processline{\hskip0.5cm\the\verbatim@line\par}
\robustify{\footnote}
\renewcommand\footnoterule{%
\kern-3\p@
\vfill\kern-3\p@
\hrule\@width 5cm
\kern2.6\p@}
\newdimen\fnindent
Expand Down Expand Up @@ -569,6 +572,9 @@
allcolors=black,%
pdfstartview=Fit,%
}%
\pdfstringdefDisableCommands{%
\def\footnote#1{}%
}
}%
\DeclareHookRule{env/document/begin}{cid/loadhyp}{before}{biblatex}
\else
Expand Down
29 changes: 23 additions & 6 deletions lni.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -1062,6 +1062,7 @@ This work consists of the file lni.dtx
\fi%
% \end{macrocode}
% \begin{macrocode}
\RequirePackage{etoolbox}
\RequirePackage{graphicx}
\RequirePackage{eso-pic}
\RequirePackage{grffile}
Expand Down Expand Up @@ -1115,7 +1116,8 @@ This work consists of the file lni.dtx
% \begin{macro}{\title}
% \begin{macrocode}
\renewcommand{\title}{\@dblarg\@@title}
\def\@@title[#1]#2{\gdef\@shorttitle{#1}\gdef\@title{#2}}
\def\@@title[#1]#2{%
\gdef\@shorttitle{#1}\gdef\@title{#2}}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\subtitle}
Expand Down Expand Up @@ -1349,10 +1351,13 @@ This work consists of the file lni.dtx
\RequirePackage{verbatim}
\def\verbatim@processline{\hskip0.5cm\the\verbatim@line\par}
% \end{macrocode}
% \begin{macrocode}
\robustify{\footnote}
% \end{macrocode}
% Set rule width und correct size
% \begin{macrocode}
\renewcommand\footnoterule{%
\kern-3\p@
\vfill\kern-3\p@
\hrule\@width 5cm
\kern2.6\p@}
\newdimen\fnindent
Expand Down Expand Up @@ -1484,6 +1489,9 @@ This work consists of the file lni.dtx
allcolors=black,%
pdfstartview=Fit,%
}%
\pdfstringdefDisableCommands{%
\def\footnote#1{}%
}
}%
\DeclareHookRule{env/document/begin}{cid/loadhyp}{before}{biblatex}
\else
Expand Down Expand Up @@ -3002,14 +3010,19 @@ EXECUTE {end.bib}
% % !TeX program = pdflatex
% % !BIB program = biber
% % !TeX spellcheck = de-DE
%%% Um einen Artikel auf deutsch zu schreiben, genügt es die Klasse ohne
%%% Parameter zu laden.
%%% Zur Anonymisierung kann die ``anonymous'' Option genutzt werden.
\documentclass[]{lni}
% Needs to be written in the first 5 lines, because of arXiv's requirements
\RequirePackage{iftex}\ifluatex\else
\pdfoutput=1
\fi
%%% To write an article in English, please use the option ``english'' in order
%%% to get the correct hyphenation patterns and terms.
%%% \documentclass[english]{class}
%%% for anonymizing an article you can use the ``anonymous'' option.
%%%
%%% Um einen Artikel auf deutsch zu schreiben, genügt es die Klasse ohne
%%% Parameter zu laden.
%%% Zur Anonymisierung kann die ``anonymous'' Option genutzt werden.
\documentclass[]{lni}
%%
\begin{document}
%%% Mehrere Autoren werden durch \and voneinander getrennt.
Expand Down Expand Up @@ -3146,6 +3159,10 @@ Schlagwort1 \and Schlagwort2 %Keyword1 \and Keyword2
% % !TeX program = pdflatex
% % !BIB program = biber
% % !TeX spellcheck = de-DE
% Needs to be written in the first 5 lines, because of arXiv's requirements
\RequirePackage{iftex}\ifluatex\else
\pdfoutput=1
\fi
%% Dies gibt Warnungen aus, sollten veraltete LaTeX-Befehle verwendet werden
\RequirePackage[l2tabu, orthodox]{nag}
Expand Down

0 comments on commit 951faef

Please sign in to comment.