Skip to content

Commit

Permalink
Add \pdfoutput=1 (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor authored Nov 15, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 8910916 commit 00da7b6
Showing 5 changed files with 27 additions and 10 deletions.
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

1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
### 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

12 changes: 8 additions & 4 deletions lni-author-template.tex
Original file line number Diff line number Diff line change
@@ -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.
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}
17 changes: 13 additions & 4 deletions lni.dtx
Original file line number Diff line number Diff line change
@@ -3002,14 +3002,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.
@@ -3146,6 +3151,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}

0 comments on commit 00da7b6

Please sign in to comment.