added name & style in building script
This commit is contained in:
parent
1ff57ee381
commit
c005cc8aff
1 changed files with 5 additions and 3 deletions
|
@ -3,11 +3,13 @@
|
||||||
main() {
|
main() {
|
||||||
local file="$(readlink --canonicalize-existing "${0}")"
|
local file="$(readlink --canonicalize-existing "${0}")"
|
||||||
local root="$(dirname "${file}")"
|
local root="$(dirname "${file}")"
|
||||||
local input="${root}/main.md"
|
local name="main"
|
||||||
local output="${root}/main.pdf"
|
local input="${root}/${name}.md"
|
||||||
|
local output="${root}/${name}.pdf"
|
||||||
|
local style="tango"
|
||||||
pandoc \
|
pandoc \
|
||||||
"${input}" \
|
"${input}" \
|
||||||
--highlight-style "tango" \
|
--highlight-style "${style}" \
|
||||||
--output "${output}" \
|
--output "${output}" \
|
||||||
--pdf-engine "xelatex" \
|
--pdf-engine "xelatex" \
|
||||||
\
|
\
|
||||||
|
|
Loading…
Reference in a new issue