From ea08ac63b52bdb4356921efcc145582bc412ad9f Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 11 Jun 2024 08:16:26 +0200 Subject: feat(templates/latex): Name the `main.tex` file after the project This results in a reasonable name for the resulting PDF, instead of the generic `main.pdf`. --- templates/latex/lpm.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/latex/lpm.toml') diff --git a/templates/latex/lpm.toml b/templates/latex/lpm.toml index 5a3565d..636eae9 100644 --- a/templates/latex/lpm.toml +++ b/templates/latex/lpm.toml @@ -4,7 +4,7 @@ number = 0 [templates] section = ''' -%! TEX root = ../../../main.tex +%! TEX root = ../../../%INIT_APPLICATION_NAME % LTeX: language=en-GB \section{REPLACMENT_SECTION_TITLE} % DATE @@ -12,7 +12,7 @@ This is some text ''' chapter = ''' -%! TEX root = ../../main.tex +%! TEX root = ../../%INIT_APPLICATION_NAME % LTeX: language=en-GB \chapter{REPLACEMENT_CHAPTER} -- cgit 1.4.1