Put back the nested text boxes section (#12) after bca675b9621eb1fc4b… #93
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Guidelines with pandoc | |
on: push | |
jobs: | |
convert_to_html: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: docker://sbsdev/pandoc-texlive | |
with: | |
args: >- | |
--standalone | |
--from markdown | |
--to html | |
--output=nordic_guidelines_epub3-2020-1.html | |
--toc | |
--toc-depth=4 | |
--shift-heading-level-by=-1 | |
--number-sections | |
--template=guidelines/doc_tools/template-html.html | |
-V current_date="$(date +%Y-%m-%d%n)" | |
guidelines/guidelines.md guidelines/doc_tools/metadata.yaml | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: nordic_guidelines_epub3-2020-1.html | |
path: nordic_guidelines_epub3-2020-1.html | |
convert_to_pdf: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: docker://sbsdev/pandoc-texlive | |
with: | |
args: >- | |
--from markdown | |
--to pdf | |
--output=nordic_guidelines_epub3-2020-1.pdf | |
--toc | |
--toc-depth=4 | |
--shift-heading-level-by=-1 | |
--number-sections | |
--template=guidelines/doc_tools/template-latex.tex | |
--pdf-engine=xelatex | |
guidelines/guidelines.md guidelines/doc_tools/metadata.yaml | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: nordic_guidelines_epub3-2020-1.pdf | |
path: nordic_guidelines_epub3-2020-1.pdf |