From c005cc8aff758f66455be18d67e35a8208cee92f Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 12 Oct 2024 20:21:36 +0200 Subject: [PATCH] added name & style in building script --- dossier de projet/build.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dossier de projet/build.sh b/dossier de projet/build.sh index 9399ede..cda426a 100755 --- a/dossier de projet/build.sh +++ b/dossier de projet/build.sh @@ -3,11 +3,13 @@ main() { local file="$(readlink --canonicalize-existing "${0}")" local root="$(dirname "${file}")" -local input="${root}/main.md" -local output="${root}/main.pdf" +local name="main" +local input="${root}/${name}.md" +local output="${root}/${name}.pdf" +local style="tango" pandoc \ "${input}" \ ---highlight-style "tango" \ +--highlight-style "${style}" \ --output "${output}" \ --pdf-engine "xelatex" \ \