Skip to content

Commit

Permalink
Fix issues (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor authored Jun 2, 2022
1 parent 464ab7b commit 4bf2919
Show file tree
Hide file tree
Showing 11 changed files with 201 additions and 159 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/update-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
--documentclass=lncs\
--latexcompiler=pdflatex\
--bibtextool=bibtex\
--overleaf=true\
--texlive=2021\
--language=${{ matrix.language }}\
--font=${{ matrix.font }}\
Expand Down Expand Up @@ -78,8 +79,8 @@ jobs:
# the LICENSE of the repository should be kept
rm LICENSE
# latexmkrc alternates between including and excluding "--shell-escape"; we just want to keep one version of it
rm latexmkrc
# _latexmkrc alternates between including and excluding "--shell-escape"; we just want to keep one version of it
rm _latexmkrc
# copy everything
cp -r * ${{ github.workspace }}/code/
Expand Down Expand Up @@ -132,6 +133,8 @@ jobs:
cp paper-en-times-listings-cleveref.tex paper-newtx.tex
cp paper-en-times-minted-cleveref.tex paper-minted-newtx.tex
mkdir /tmp/out
# use latexmkrc (which is disabled due to easy overleaf usage)
cp _latexmkrc latexmkrc
- name: Build paper.tex
run: docker run -v $(pwd):/work/src -v /tmp/out:/work/out localhost:5000/name/app:latest work "latexmk paper.tex"
- name: Build paper-minted.tex
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/).
From 2022-03-01 onwards, versioning is done using [Calendar Versioning](https://calver.org/).

## [Unreleased]

### Changed

- Update `splncsnat` to [splncs04nat](https://github.com/tpavlic/splncs04nat). [lncs#35](https://github.com/latextemplates/LNCS/issues/35)
- `_latexmkrc` is available instead of `latexmkrc` to ease usage at overleaf. [lncs#40](https://github.com/latextemplates/LNCS/issues/40)

### Fixed

- Correct `\keywords{}` syntax for LCNS. [lncs#39](https://github.com/latextemplates/LNCS/issues/39)

## [2022-03-01]

### Changed
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM reitzig/texlive-base:2021.5
FROM reitzig/texlive-base:2021.10
RUN apk update && apk add --no-cache bash perl python3 py3-pip
RUN pip3 install pygments

# Emulate "Install dependencies" of "entrypoint work ..."
RUN tlmgr update --self --repository https://mirror.mwt.me/ctan/systems/texlive/tlnet
RUN tlmgr update --self --repository http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2021/tlnet-final
COPY Texlivefile /work/src
RUN xargs tlmgr install --repository https://mirror.mwt.me/ctan/systems/texlive/tlnet < "/work/src/Texlivefile" && \
RUN xargs tlmgr install --repository http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2021/tlnet-final < "/work/src/Texlivefile" && \
sha256sum "/work/src/Texlivefile" > "/work/tmp/Texlivefile.sha" && \
#
# make latexmk and texlogsieve available
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion generator-latex-template
Submodule generator-latex-template updated 89 files
+1 −0 .github/FUNDING.yml
+2 −1 .github/generate-workflows.py
+256 −0 .github/workflows/check-acmart-lualatex-bibtex-2021-false.yml
+256 −0 .github/workflows/check-acmart-lualatex-bibtex-2021-true.yml
+8,999 −0 .github/workflows/check-acmart-lualatex-bibtex-2022-false.yml
+8,999 −0 .github/workflows/check-acmart-lualatex-bibtex-2022-true.yml
+256 −0 .github/workflows/check-acmart-pdflatex-bibtex-2021-false.yml
+256 −0 .github/workflows/check-acmart-pdflatex-bibtex-2021-true.yml
+8,999 −0 .github/workflows/check-acmart-pdflatex-bibtex-2022-false.yml
+8,999 −0 .github/workflows/check-acmart-pdflatex-bibtex-2022-true.yml
+64 −0 .github/workflows/check-ieee-conference-a4-lualatex-bibtex-2021-false.yml
+2,279 −0 .github/workflows/check-ieee-conference-a4-lualatex-bibtex-2022-false.yml
+2,279 −0 .github/workflows/check-ieee-conference-a4-lualatex-bibtex-2022-true.yml
+64 −0 .github/workflows/check-ieee-conference-a4-pdflatex-bibtex-2021-false.yml
+64 −0 .github/workflows/check-ieee-conference-a4-pdflatex-bibtex-2021-true.yml
+2,279 −0 .github/workflows/check-ieee-conference-a4-pdflatex-bibtex-2022-false.yml
+2,279 −0 .github/workflows/check-ieee-conference-a4-pdflatex-bibtex-2022-true.yml
+64 −0 .github/workflows/check-ieee-conference-letter-lualatex-bibtex-2021-false.yml
+2,279 −0 .github/workflows/check-ieee-conference-letter-lualatex-bibtex-2022-false.yml
+2,279 −0 .github/workflows/check-ieee-conference-letter-lualatex-bibtex-2022-true.yml
+64 −0 .github/workflows/check-ieee-conference-letter-pdflatex-bibtex-2021-false.yml
+64 −0 .github/workflows/check-ieee-conference-letter-pdflatex-bibtex-2021-true.yml
+2,279 −0 .github/workflows/check-ieee-conference-letter-pdflatex-bibtex-2022-false.yml
+2,279 −0 .github/workflows/check-ieee-conference-letter-pdflatex-bibtex-2022-true.yml
+64 −0 .github/workflows/check-ieee-journal-a4-lualatex-bibtex-2021-false.yml
+2,279 −0 .github/workflows/check-ieee-journal-a4-lualatex-bibtex-2022-false.yml
+2,279 −0 .github/workflows/check-ieee-journal-a4-lualatex-bibtex-2022-true.yml
+64 −0 .github/workflows/check-ieee-journal-a4-pdflatex-bibtex-2021-false.yml
+64 −0 .github/workflows/check-ieee-journal-a4-pdflatex-bibtex-2021-true.yml
+2,279 −0 .github/workflows/check-ieee-journal-a4-pdflatex-bibtex-2022-false.yml
+2,279 −0 .github/workflows/check-ieee-journal-a4-pdflatex-bibtex-2022-true.yml
+64 −0 .github/workflows/check-ieee-journal-letter-lualatex-bibtex-2021-false.yml
+2,279 −0 .github/workflows/check-ieee-journal-letter-lualatex-bibtex-2022-false.yml
+2,279 −0 .github/workflows/check-ieee-journal-letter-lualatex-bibtex-2022-true.yml
+64 −0 .github/workflows/check-ieee-journal-letter-pdflatex-bibtex-2021-false.yml
+64 −0 .github/workflows/check-ieee-journal-letter-pdflatex-bibtex-2021-true.yml
+2,279 −0 .github/workflows/check-ieee-journal-letter-pdflatex-bibtex-2022-false.yml
+2,279 −0 .github/workflows/check-ieee-journal-letter-pdflatex-bibtex-2022-true.yml
+64 −0 .github/workflows/check-ieee-peerreview-a4-lualatex-bibtex-2021-false.yml
+64 −0 .github/workflows/check-ieee-peerreview-a4-lualatex-bibtex-2021-true.yml
+2,279 −0 .github/workflows/check-ieee-peerreview-a4-lualatex-bibtex-2022-false.yml
+2,279 −0 .github/workflows/check-ieee-peerreview-a4-lualatex-bibtex-2022-true.yml
+64 −0 .github/workflows/check-ieee-peerreview-a4-pdflatex-bibtex-2021-false.yml
+64 −0 .github/workflows/check-ieee-peerreview-a4-pdflatex-bibtex-2021-true.yml
+2,279 −0 .github/workflows/check-ieee-peerreview-a4-pdflatex-bibtex-2022-false.yml
+2,279 −0 .github/workflows/check-ieee-peerreview-a4-pdflatex-bibtex-2022-true.yml
+64 −0 .github/workflows/check-ieee-peerreview-letter-lualatex-bibtex-2021-false.yml
+64 −0 .github/workflows/check-ieee-peerreview-letter-lualatex-bibtex-2021-true.yml
+2,279 −0 .github/workflows/check-ieee-peerreview-letter-lualatex-bibtex-2022-false.yml
+2,279 −0 .github/workflows/check-ieee-peerreview-letter-lualatex-bibtex-2022-true.yml
+64 −0 .github/workflows/check-ieee-peerreview-letter-pdflatex-bibtex-2021-false.yml
+64 −0 .github/workflows/check-ieee-peerreview-letter-pdflatex-bibtex-2021-true.yml
+2,279 −0 .github/workflows/check-ieee-peerreview-letter-pdflatex-bibtex-2022-false.yml
+2,279 −0 .github/workflows/check-ieee-peerreview-letter-pdflatex-bibtex-2022-true.yml
+256 −0 .github/workflows/check-lncs-lualatex-bibtex-2021-false.yml
+256 −0 .github/workflows/check-lncs-lualatex-bibtex-2021-true.yml
+8,487 −0 .github/workflows/check-lncs-lualatex-bibtex-2022-false.yml
+8,487 −0 .github/workflows/check-lncs-lualatex-bibtex-2022-true.yml
+256 −0 .github/workflows/check-lncs-pdflatex-bibtex-2021-false.yml
+256 −0 .github/workflows/check-lncs-pdflatex-bibtex-2021-true.yml
+8,487 −0 .github/workflows/check-lncs-pdflatex-bibtex-2022-false.yml
+8,487 −0 .github/workflows/check-lncs-pdflatex-bibtex-2022-true.yml
+256 −0 .github/workflows/check-scientific-thesis-lualatex-biblatex-2021-false.yml
+256 −0 .github/workflows/check-scientific-thesis-lualatex-biblatex-2021-true.yml
+8,487 −0 .github/workflows/check-scientific-thesis-lualatex-biblatex-2022-false.yml
+8,487 −0 .github/workflows/check-scientific-thesis-lualatex-biblatex-2022-true.yml
+256 −0 .github/workflows/check-scientific-thesis-pdflatex-biblatex-2021-false.yml
+256 −0 .github/workflows/check-scientific-thesis-pdflatex-biblatex-2021-true.yml
+8,487 −0 .github/workflows/check-scientific-thesis-pdflatex-biblatex-2022-false.yml
+8,487 −0 .github/workflows/check-scientific-thesis-pdflatex-biblatex-2022-true.yml
+17 −0 CHANGELOG.md
+5 −3 README.md
+0 −76 docs/adr/adr-template.md
+7 −5 docs/decisions/0000-use-markdown-architectural-decision-records.md
+0 −0 docs/decisions/0001-use-yeoman.md
+0 −0 docs/decisions/0002-use-manuth-TSGeneratorGenerator.md
+0 −0 docs/decisions/0003-use-cleveref.md
+0 −0 docs/decisions/0004-use-cc0-as-license-for-text.md
+0 −0 docs/decisions/0005-custom-example-environment.md
+0 −0 docs/decisions/0006-use-single-quote-to-enquote.md
+0 −0 docs/decisions/0007-use-glossaries-package.md
+86 −0 docs/decisions/adr-template.md
+0 −0 docs/decisions/index.md
+42 −6 generators/app/index.js
+43 −0 generators/app/templates/.github/workflows/check.yml
+5 −3 generators/app/templates/Dockerfile.reitzig
+9 −14 generators/app/templates/main.en.tex
+156 −118 generators/app/templates/splncs04nat.bst
+6 −6 package-lock.json
12 changes: 5 additions & 7 deletions paper-en-default-listings-cleveref.tex
Original file line number Diff line number Diff line change
Expand Up @@ -428,11 +428,10 @@
\begin{abstract}
\lipsum[1]
\keywords{First keyword \and Second keyword \and Third keyword}
\end{abstract}
\begin{keywords}
keyword1, keyword2
\end{keywords}
\section{Introduction}
\label{sec:introduction}
Expand Down Expand Up @@ -807,9 +806,9 @@ \subsubsection*{Acknowledgments}
\renewcommand{\bibsection}{\section*{References}} % requried for natbib to have "References" printed and as section*, not chapter*
% Use natbib compatbile splncsnat style.
% It does provide all features of splncs03, but is developed in a clean way.
% Source: http://phaseportrait.blogspot.de/2011/02/natbib-compatible-bibtex-style-bst-file.html
\bibliographystyle{splncsnat}
% It does provide all features of splncs04.bst, but is developed in a clean way.
% Source: https://github.com/tpavlic/splncs04nat
\bibliographystyle{splncs04nat}
\begingroup
\microtypecontext{expansion=sloppy}
\small % ensure correct font size for the bibliography
Expand All @@ -821,7 +820,6 @@ \subsubsection*{Acknowledgments}
%
All links were last followed on October 5, 2020.
%%% ===============================================================================
%\appendix
%\addcontentsline{toc}{chapter}{APPENDICES}
Expand Down
12 changes: 5 additions & 7 deletions paper-en-default-minted-cleveref.tex
Original file line number Diff line number Diff line change
Expand Up @@ -365,11 +365,10 @@
\begin{abstract}
\lipsum[1]
\keywords{First keyword \and Second keyword \and Third keyword}
\end{abstract}
\begin{keywords}
keyword1, keyword2
\end{keywords}
\section{Introduction}
\label{sec:introduction}
Expand Down Expand Up @@ -726,9 +725,9 @@ \subsubsection*{Acknowledgments}
\renewcommand{\bibsection}{\section*{References}} % requried for natbib to have "References" printed and as section*, not chapter*
% Use natbib compatbile splncsnat style.
% It does provide all features of splncs03, but is developed in a clean way.
% Source: http://phaseportrait.blogspot.de/2011/02/natbib-compatible-bibtex-style-bst-file.html
\bibliographystyle{splncsnat}
% It does provide all features of splncs04.bst, but is developed in a clean way.
% Source: https://github.com/tpavlic/splncs04nat
\bibliographystyle{splncs04nat}
\begingroup
\microtypecontext{expansion=sloppy}
\small % ensure correct font size for the bibliography
Expand All @@ -740,7 +739,6 @@ \subsubsection*{Acknowledgments}
%
All links were last followed on October 5, 2020.
%%% ===============================================================================
%\appendix
%\addcontentsline{toc}{chapter}{APPENDICES}
Expand Down
12 changes: 5 additions & 7 deletions paper-en-times-listings-cleveref.tex
Original file line number Diff line number Diff line change
Expand Up @@ -421,11 +421,10 @@
\begin{abstract}
\lipsum[1]
\keywords{First keyword \and Second keyword \and Third keyword}
\end{abstract}
\begin{keywords}
keyword1, keyword2
\end{keywords}
\section{Introduction}
\label{sec:introduction}
Expand Down Expand Up @@ -800,9 +799,9 @@ \subsubsection*{Acknowledgments}
\renewcommand{\bibsection}{\section*{References}} % requried for natbib to have "References" printed and as section*, not chapter*
% Use natbib compatbile splncsnat style.
% It does provide all features of splncs03, but is developed in a clean way.
% Source: http://phaseportrait.blogspot.de/2011/02/natbib-compatible-bibtex-style-bst-file.html
\bibliographystyle{splncsnat}
% It does provide all features of splncs04.bst, but is developed in a clean way.
% Source: https://github.com/tpavlic/splncs04nat
\bibliographystyle{splncs04nat}
\begingroup
\microtypecontext{expansion=sloppy}
\small % ensure correct font size for the bibliography
Expand All @@ -814,7 +813,6 @@ \subsubsection*{Acknowledgments}
%
All links were last followed on October 5, 2020.
%%% ===============================================================================
%\appendix
%\addcontentsline{toc}{chapter}{APPENDICES}
Expand Down
12 changes: 5 additions & 7 deletions paper-en-times-minted-cleveref.tex
Original file line number Diff line number Diff line change
Expand Up @@ -358,11 +358,10 @@
\begin{abstract}
\lipsum[1]
\keywords{First keyword \and Second keyword \and Third keyword}
\end{abstract}
\begin{keywords}
keyword1, keyword2
\end{keywords}
\section{Introduction}
\label{sec:introduction}
Expand Down Expand Up @@ -719,9 +718,9 @@ \subsubsection*{Acknowledgments}
\renewcommand{\bibsection}{\section*{References}} % requried for natbib to have "References" printed and as section*, not chapter*
% Use natbib compatbile splncsnat style.
% It does provide all features of splncs03, but is developed in a clean way.
% Source: http://phaseportrait.blogspot.de/2011/02/natbib-compatible-bibtex-style-bst-file.html
\bibliographystyle{splncsnat}
% It does provide all features of splncs04.bst, but is developed in a clean way.
% Source: https://github.com/tpavlic/splncs04nat
\bibliographystyle{splncs04nat}
\begingroup
\microtypecontext{expansion=sloppy}
\small % ensure correct font size for the bibliography
Expand All @@ -733,7 +732,6 @@ \subsubsection*{Acknowledgments}
%
All links were last followed on October 5, 2020.
%%% ===============================================================================
%\appendix
%\addcontentsline{toc}{chapter}{APPENDICES}
Expand Down
12 changes: 5 additions & 7 deletions paper.tex
Original file line number Diff line number Diff line change
Expand Up @@ -428,11 +428,10 @@
\begin{abstract}
\lipsum[1]
\keywords{First keyword \and Second keyword \and Third keyword}
\end{abstract}
\begin{keywords}
keyword1, keyword2
\end{keywords}
\section{Introduction}
\label{sec:introduction}
Expand Down Expand Up @@ -807,9 +806,9 @@ \subsubsection*{Acknowledgments}
\renewcommand{\bibsection}{\section*{References}} % requried for natbib to have "References" printed and as section*, not chapter*
% Use natbib compatbile splncsnat style.
% It does provide all features of splncs03, but is developed in a clean way.
% Source: http://phaseportrait.blogspot.de/2011/02/natbib-compatible-bibtex-style-bst-file.html
\bibliographystyle{splncsnat}
% It does provide all features of splncs04.bst, but is developed in a clean way.
% Source: https://github.com/tpavlic/splncs04nat
\bibliographystyle{splncs04nat}
\begingroup
\microtypecontext{expansion=sloppy}
\small % ensure correct font size for the bibliography
Expand All @@ -821,7 +820,6 @@ \subsubsection*{Acknowledgments}
%
All links were last followed on October 5, 2020.
%%% ===============================================================================
%\appendix
%\addcontentsline{toc}{chapter}{APPENDICES}
Expand Down
Loading

0 comments on commit 4bf2919

Please sign in to comment.