diff options
Diffstat (limited to '')
-rw-r--r-- | example/content/static/title.tex | 0 | ||||
-rw-r--r-- | example/headers/preamble.tex | 0 | ||||
-rw-r--r-- | example/headers/preamble_local.tex | 0 | ||||
-rw-r--r-- | example/lpm.toml | 19 | ||||
-rw-r--r-- | example/main.tex | 21 |
5 files changed, 40 insertions, 0 deletions
diff --git a/example/content/static/title.tex b/example/content/static/title.tex new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/example/content/static/title.tex diff --git a/example/headers/preamble.tex b/example/headers/preamble.tex new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/example/headers/preamble.tex diff --git a/example/headers/preamble_local.tex b/example/headers/preamble_local.tex new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/example/headers/preamble_local.tex diff --git a/example/lpm.toml b/example/lpm.toml new file mode 100644 index 0000000..5a3565d --- /dev/null +++ b/example/lpm.toml @@ -0,0 +1,19 @@ +[last_chapter] +user_name = "static" +number = 0 + +[templates] +section = ''' +%! TEX root = ../../../main.tex +% LTeX: language=en-GB + +\section{REPLACMENT_SECTION_TITLE} % DATE +This is some text +''' + +chapter = ''' +%! TEX root = ../../main.tex +% LTeX: language=en-GB + +\chapter{REPLACEMENT_CHAPTER} +''' diff --git a/example/main.tex b/example/main.tex new file mode 100644 index 0000000..d5f0d2f --- /dev/null +++ b/example/main.tex @@ -0,0 +1,21 @@ +% LTeX: language=en-GB +\documentclass[a4paper, 12pt]{report} +\input{headers/preamble.tex} +\input{headers/preamble_local.tex} + + +\title{\textbf{Some Title}} +\author{Some Author} +\authors{name\inst} +\years{2024} +\date{\Today} + +\includeonly{} + +\begin{document} + \input{content/static/title} + + % NEXT_CHAPTER + + \printbibliography\relax +\end{document} |