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" \ \