Skip to content

Commit

Permalink
Merge branch 'main' into prepare-release
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor authored Nov 15, 2023
2 parents c3ec9d8 + 00da7b6 commit fa64d9c
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 22 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
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# 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/).

## [1.8] - 2023-07-10

### Added

- 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

Expand Down Expand Up @@ -97,7 +98,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
7 changes: 2 additions & 5 deletions lni.cls
Original file line number Diff line number Diff line change
Expand Up @@ -561,19 +561,16 @@
\g@addto@macro{\UrlBreaks}{\UrlOrds}
\RequirePackage{xspace}
\ifusehyperref
\AtEndPreamble{%
\AddToHook{env/document/begin}[cid/loadhyp]{
\RequirePackage[bookmarks=false]{hyperref}
\hypersetup{%
pdfdisplaydoctitle,%
colorlinks=true,%
allcolors=black,%
pdfstartview=Fit,%
}%
%%% \pdfstringdefDisableCommands{%
%%% \def\unskip{}%
%%% \renewcommand{\footnote}[1]{}%
%%% }%
}%
\DeclareHookRule{env/document/begin}{cid/loadhyp}{before}{biblatex}
\else
\providecommand{\texorpdfstring}[2]{#2}%
\fi%
Expand Down
24 changes: 15 additions & 9 deletions lni.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -1472,19 +1472,16 @@ This work consists of the file lni.dtx
% \end{macrocode}
% \begin{macrocode}
\ifusehyperref
\AtEndPreamble{%
\AddToHook{env/document/begin}[cid/loadhyp]{
\RequirePackage[bookmarks=false]{hyperref}
\hypersetup{%
pdfdisplaydoctitle,%
colorlinks=true,%
allcolors=black,%
pdfstartview=Fit,%
}%
%%% \pdfstringdefDisableCommands{%
%%% \def\unskip{}%
%%% \renewcommand{\footnote}[1]{}%
%%% }%
}%
\DeclareHookRule{env/document/begin}{cid/loadhyp}{before}{biblatex}
\else
\providecommand{\texorpdfstring}[2]{#2}%
\fi%
Expand Down Expand Up @@ -3001,14 +2998,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 @@ -3145,6 +3147,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 fa64d9c

Please sign in to comment.