about summary refs log tree commit diff stats
path: root/templates/latex
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-07-13 13:19:38 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-07-13 13:19:38 +0200
commita96b91a5d8fb17b35adc179679f5eda67741d946 (patch)
tree956bc26445a47e3f111ae3f916d42fc11835f27a /templates/latex
parentfix(templates/c): Support multiple input files in makefile (diff)
downloadflake-templates-a96b91a5d8fb17b35adc179679f5eda67741d946.tar.gz
flake-templates-a96b91a5d8fb17b35adc179679f5eda67741d946.zip
fix(templates/latex): Change the `lpm.toml` to use new features
Diffstat (limited to '')
-rw-r--r--templates/latex/lpm.toml8
1 files changed, 3 insertions, 5 deletions
diff --git a/templates/latex/lpm.toml b/templates/latex/lpm.toml
index 636eae9..0925886 100644
--- a/templates/latex/lpm.toml
+++ b/templates/latex/lpm.toml
@@ -1,10 +1,8 @@
-[last_chapter]
-user_name = "static"
-number = 0
+main_file = "%INIT_APPLICATION_NAME.tex"
 
 [templates]
 section = '''
-%! TEX root = ../../../%INIT_APPLICATION_NAME
+%! TEX root = ../../../%INIT_APPLICATION_NAME.tex
 % LTeX: language=en-GB
 
 \section{REPLACMENT_SECTION_TITLE} % DATE
@@ -12,7 +10,7 @@ This is some text
 '''
 
 chapter = '''
-%! TEX root = ../../%INIT_APPLICATION_NAME
+%! TEX root = ../../%INIT_APPLICATION_NAME.tex
 % LTeX: language=en-GB
 
 \chapter{REPLACEMENT_CHAPTER}