generator-latex-template 2025.2.12 → 2025.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -123,7 +123,7 @@ In the long run, the contents of the `paper.tex` (and similar) files in reposito
123
123
  - Cancel workflows:
124
124
  - `gh run list -L 100 --json databaseId -s queued -R latextemplates/generator-latex-template | jq -r '.[] | .databaseId' | awk '{gsub(/\\r\\n/,RS)} 1' | while read -r run_id; do gh run cancel "$run_id" -R latextemplates/generator-latex-template || true; done`
125
125
  - `gh run list -L 100 --json databaseId -s in_progress -R latextemplates/generator-latex-template | jq -r '.[] | .databaseId' | awk '{gsub(/\\r\\n/,RS)} 1' | while read -r run_id; do gh run cancel "$run_id" -R latextemplates/generator-latex-template || true; done`
126
- - Update submodule of "derived" templates (LNCS, ...): `[ -z "$(git status --porcelain)" ] && cd generator-latex-template/ && git pull && cd .. && git add . && git commit -m"Update LTG" && git pull --rebase && git push`
126
+ - Update submodule of "derived" templates (LNCS, ...): `scripts/spread-updates.sh`
127
127
 
128
128
  ### Testing
129
129
 
@@ -9,7 +9,7 @@ concurrency:
9
9
  cancel-in-progress: true
10
10
  jobs:
11
11
  pdf:
12
- name: latexmk <%= filenames.main %>
12
+ name: pdf (latexmk <%= filenames.main %>)
13
13
  runs-on: ubuntu-latest
14
14
  steps:
15
15
  - name: Set up Git repository
@@ -30,7 +30,7 @@ jobs:
30
30
  <% if (githubpublish || (lang == "en") && (reallatexcompiler == "lualatex")) { -%>
31
31
 
32
32
  # Highlight mis-spelled words in the PDF
33
- - uses: bscott-zebra/cache-apt-pkgs-action@avoid_using_xargs
33
+ - uses: awalsh128/cache-apt-pkgs-action@latest
34
34
  with:
35
35
  packages: aspell aspell-en<% if (githubpublish || (language == 'de')) { %> aspell-de<% } %>
36
36
  version: 1.0
@@ -55,15 +55,17 @@ jobs:
55
55
  path: |
56
56
  <%= filenames.main %>.pdf
57
57
  <%= filenames.main %>.log
58
+ <%= filenames.main %>.fls
58
59
  word-count:
59
60
  runs-on: ubuntu-latest
60
61
  steps:
61
62
  - name: Set up Git repository
62
63
  uses: actions/checkout@v4
63
64
  - name: Install TeX Live
64
- uses: zauguin/install-texlive@v3
65
+ uses: zauguin/install-texlive@v4
65
66
  with:
66
67
  package_file: '${{ github.workspace }}/Texlivefile'
68
+ texlive_version: <%= texlive %>
67
69
  - name: Count words
68
70
  run: |
69
71
  texcount -utf8 -inc <%= filenames.main %>.tex > texcount.txt
@@ -137,9 +139,10 @@ jobs:
137
139
  version: 1.0
138
140
  execute_install_scripts: true
139
141
  - name: Install latexindent
140
- uses: zauguin/install-texlive@v3
142
+ uses: zauguin/install-texlive@v4
141
143
  with:
142
144
  packages: latexindent
145
+ texlive_version: <%= texlive %>
143
146
  - run: make format
144
147
  - name: No changes made by latexindent
145
148
  run: git diff --exit-code
@@ -25,7 +25,7 @@ This template does it.
25
25
 
26
26
  This template is for the conferences.
27
27
  It is based on the `bare_conf_compsoc.tex` distributed by IEEE.
28
- In case you need other configurations, please adapt `paper-conference.tex` or run the [latex template generator].
28
+ In case you need other configurations, please adapt `paper.tex` or run the [latex template generator].
29
29
  <% break; case "acmart": -%>
30
30
  # ACM
31
31
 
@@ -41,7 +41,7 @@ However, de-facto configurations (hyperref) and modern features of latex (microt
41
41
  This template does it.
42
42
 
43
43
  This template is for the conferences.
44
- In case you need other configurations, please adapt `paper-conference.tex` or run the [latex template generator].
44
+ In case you need other configurations, please adapt `paper.tex` or run the [latex template generator].
45
45
  <% break; case "ustutt": -%>
46
46
  # University of Stuttgart PhD Thesis Template
47
47
 
@@ -95,7 +95,7 @@ See [overleaf](overleaf/).
95
95
  ## Usage
96
96
 
97
97
  - `<%= filenames.main %>.tex` is the main document
98
- - Use "<%= reallatexcompiler %> + <%= bibtextool %>" in your TeX editor or `latexmk <%= filenames.main %>` / `make` in the command line
98
+ - Use "<%= reallatexcompiler %> + <%= bibtextool %>" in your TeX editor or `latexmk <%= filenames.main %>` / `make` in the command line
99
99
 
100
100
  ### Using `latexmk`
101
101
 
@@ -292,15 +292,15 @@ In case you think, a package needs to be altered or added, feel free to open an
292
292
  <% break; case "ieee": -%>
293
293
  ## Examples
294
294
 
295
- - [paper-conference.pdf](https://latextemplates.github.io/IEEE/paper-conference.pdf) - regular conference paper.
296
- - [paper-conference-minted.pdf](https://latextemplates.github.io/IEEE/paper-conference-minted.pdf) - conference paper showing minted in action.
295
+ - [paper.pdf](https://latextemplates.github.io/IEEE/paper.pdf) - regular conference paper.
296
+ - [paper-minted.pdf](https://latextemplates.github.io/IEEE/paper-minted.pdf) - conference paper showing minted in action.
297
297
 
298
298
  ## Quick start
299
299
 
300
300
  - Click on `Download ZIP` or [here](https://github.com/latextemplates/IEEE/archive/main.zip).
301
301
  - Extract `main.zip` in the folder where you want to write your paper.
302
- - Edit [paper-conference.tex](paper-conference.tex).
303
- - `latexmk paper-conference`.
302
+ - Edit [paper.tex](paper.tex).
303
+ - `latexmk paper`.
304
304
 
305
305
  ## Attention regarding `compsocconf`
306
306
 
@@ -328,10 +328,6 @@ LaTeX Warning: Unused global option(s):
328
328
 
329
329
  ## `compsoc` option is not needed any more
330
330
 
331
- When using the 2007 version or the most recent version with (the unhandled) `compsocconf`, you'll get [paper-conference.pdf](https://latextemplates.github.io/IEEE/paper-conference.pdf) instead of `paper-conference-compsoc.pdf`.
332
- That differs significantly in the style used for section headings.
333
- `paper-conference-compsoc.pdf` was removed from the build since August 2021, because `compsoc` option was not used by computer science conferences in 2021.
334
-
335
331
  IEEE distributes their templates at <https://www.ieee.org/conferences_events/conferences/publishing/templates.html>.
336
332
  With the update of July 2017, the archive <https://www.ieee.org/documents/ieee-latex-conference-template.zip> contains both `bare_conf.tex` and `bare_conf_compsoc.tex`.
337
333
  Thus, the conference should state which option to use.
@@ -288,9 +288,8 @@ trimspaces
288
288
  <% if (githubpublish || (documentclass == "ieee") || (font == "times")) { -%>
289
289
  txfonts
290
290
  <% } -%>
291
- <% if (githubpublish || overleaf || (texlive < 2024) || documentclass == "acmart") { -%>
291
+ <%# if (githubpublish || overleaf || (texlive < 2024) || documentclass == "acmart") { -%>
292
292
  unicode-math
293
- <% } -%>
294
293
  uniquecounter
295
294
  upquote
296
295
  url
@@ -2,6 +2,12 @@
2
2
  <%= filenames.main %>-*.pdf
3
3
  figures/*.pdf_tex
4
4
 
5
+ # glossaries
6
+ *.glo-abr
7
+
8
+ # glossaries-extra
9
+ *.ist
10
+
5
11
  # spelling
6
12
  *.spell.bad
7
13
  *.spell.txt
@@ -53,7 +53,7 @@ lualatex
53
53
  -%>
54
54
  <%= indent %>\usepackage[no-math]{fontspec}
55
55
  <% if (documentclass != "acmart") { -%>
56
- <%= indent %><% if (overleaf || texlive < 2024) { %>\usepackage{unicode-math}<% } else { %>\usepackage{minim-math}<% } %>
56
+ <%= indent %><% if (overleaf || texlive < 2024 || true) { %>\usepackage{unicode-math}<% } else { %>\usepackage{minim-math}<% } %>
57
57
  <% } -%>
58
58
  <% switch (font) { case "arial": -%>
59
59
  <%# Arial and LuaLaTeX -%>
@@ -283,7 +283,6 @@ In addition, we make the code appear more nice -%>
283
283
  <% } -%>
284
284
  <% if (documentclass == 'scientific-thesis') { -%>
285
285
 
286
- \usepackage[automark]{scrlayer-scrpage}
287
286
  \automark[section]{chapter}
288
287
  \setkomafont{pageheadfoot}{\normalfont\sffamily}
289
288
  \setkomafont{pagenumber}{\normalfont\sffamily}
@@ -84,12 +84,6 @@
84
84
  draft=false
85
85
  ]{scrbook}
86
86
  \usepackage{scrlayer-scrpage}
87
- \ihead[]{}
88
- \chead[]{}
89
- \ohead[]{\headmark}
90
- \cfoot[]{}
91
- \ofoot[\usekomafont{pagenumber}\thepage]{\usekomafont{pagenumber}\thepage}
92
- \ifoot[]{}
93
87
  <% break; case "ustutt": -%>
94
88
 
95
89
  \documentclass[
@@ -76,6 +76,7 @@
76
76
  % draft % um zu sehen, wo noch nachgebessert werden muss - wichtig, da Bindungskorrektur mit drin
77
77
  draft=false
78
78
  ]{scrbook}
79
+ \usepackage{scrlayer-scrpage}
79
80
  <% break; case "ustutt": -%>
80
81
 
81
82
  \documentclass[
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-latex-template",
3
- "version": "2025.2.12",
3
+ "version": "2025.3.4",
4
4
  "description": "Generates a latex template to be used as start for writing scientific works (papers, articles, theses)",
5
5
  "homepage": "https://github.com/latextemplates/generator-latex-template",
6
6
  "author": {