Use the Docker image for rst2pdf
This commit is contained in:
parent
484f4da191
commit
8c4b0632da
|
@ -4,13 +4,13 @@ workspace('talks'):
|
||||||
attributes:
|
attributes:
|
||||||
rst2pdf:
|
rst2pdf:
|
||||||
command: |
|
command: |
|
||||||
= 'rst2pdf ' ~ @('rst2pdf.filename.rst') ~ '
|
= 'docker run --rm -it -v $PWD:/rst2pdf -v $HOME/.local/share/fonts:/usr/share/fonts -w /rst2pdf opdavies/rst2pdf ' ~ @('rst2pdf.filename.rst') ~ '
|
||||||
--break-level 1
|
--break-level 1
|
||||||
--stylesheets main,tango
|
--stylesheets main,tango
|
||||||
--fit-background-mode scale
|
--fit-background-mode scale
|
||||||
--extension-module preprocess
|
--extension-module preprocess
|
||||||
--output ' ~ @('rst2pdf.filename.pdf') ~ '
|
--output ' ~ @('rst2pdf.filename.pdf') ~ '
|
||||||
--font-path ~/.local/share/fonts'
|
--font-path /usr/share/fonts'
|
||||||
filename:
|
filename:
|
||||||
pdf: slides.pdf
|
pdf: slides.pdf
|
||||||
rst: slides.rst
|
rst: slides.rst
|
||||||
|
|
Loading…
Reference in a new issue