diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-06-11 08:16:26 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-06-11 08:16:26 +0200 |
commit | ea08ac63b52bdb4356921efcc145582bc412ad9f (patch) | |
tree | f4e3d75145dc8cf60ccad43c30fee95cf0ca64a7 /templates/latex/lpm.toml | |
parent | fix(common/scripts/renew_copyright_header.sh): Add further file extensions (diff) | |
download | flake-templates-ea08ac63b52bdb4356921efcc145582bc412ad9f.tar.gz flake-templates-ea08ac63b52bdb4356921efcc145582bc412ad9f.zip |
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`.
Diffstat (limited to 'templates/latex/lpm.toml')
-rw-r--r-- | templates/latex/lpm.toml | 4 |
1 files changed, 2 insertions, 2 deletions
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} |