openstack-zuul-jobs/roles/prepare-build-pdf-docs/tasks/main.yaml
Sean Mooney 4c3e97ccc8 add tex-gyre package for tgtermes.sty
This change fixes the pdf-docs job by installing
tex-gyre to provide the missing tgtermes.sty style.

Change-Id: I885ed9153d9ccd9d3a486b5fc573238520474592
2021-07-26 14:41:21 +00:00

25 lines
691 B
YAML

- name: Check tox env for PDF build in tox.ini
shell: |
grep '^\[testenv:{{ tox_pdf_envlist }}\]' {{ zuul_work_dir }}/tox.ini
register: pdfdocs_env
ignore_errors: yes
- name: Install PDF prereqs
package:
name:
- latexmk
- texlive-xetex
- texlive-fonts-recommended
# Required for tgtermes.sty style, this is a recommended package
# for texlive-fonts-recommended but it is not installed by default.
- tex-gyre
- cm-super
- fonts-liberation
- inkscape
- xindy
# Required by sphinxcontrib-svg2pdfconverter to handle SVG images
- librsvg2-bin
state: present
become: yes
when: pdfdocs_env is success