From c7e1e0043241387bb5e864e6d65af5858a6dfdec Mon Sep 17 00:00:00 2001 From: Chester Ismay Date: Sat, 21 Sep 2024 16:21:47 -0600 Subject: [PATCH] Build with xelatex --- .github/workflows/deploy_bookdown.yml | 4 ++-- _output.yml | 32 +++++++++++++-------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/deploy_bookdown.yml b/.github/workflows/deploy_bookdown.yml index 2f10d2f7b..d7f0be5c1 100644 --- a/.github/workflows/deploy_bookdown.yml +++ b/.github/workflows/deploy_bookdown.yml @@ -65,7 +65,7 @@ jobs: R -e 'bookdown::render_book("index.Rmd", "bookdown::bs4_book")' # Deploy HTML to GitHub Pages if on main or master branch - - name: Deploy to GitHub pages 🚀 + - name: Deploy to GitHub pages from main/master 🚀 if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') uses: JamesIves/github-pages-deploy-action@v4.6.4 with: @@ -73,7 +73,7 @@ jobs: folder: docs # Deploy to v2-publish if on v2 branch - - name: Deploy to v2-publish branch 🚀 + - name: Deploy to v2-publish branch from v2 🚀 if: github.event_name != 'pull_request' && github.ref == 'refs/heads/v2' uses: JamesIves/github-pages-deploy-action@v4.6.4 with: diff --git a/_output.yml b/_output.yml index 9ebc362f9..af80b09bf 100755 --- a/_output.yml +++ b/_output.yml @@ -5,22 +5,22 @@ # the tinytex R package, and tinytex::install_tinytex() # Inconsolata font needed from https://fonts.google.com/specimen/Inconsolata -# bookdown::pdf_book: -# includes: -# in_header: latex/preamble.tex -# before_body: latex/before_body.tex -# after_body: latex/after_body.tex -# keep_tex: true -# dev: "cairo_pdf" -# latex_engine: xelatex -# citation_package: natbib -# template: null -# pandoc_args: --top-level-division=chapter -# toc_depth: 3 -# toc_unnumbered: false -# toc_appendix: true -# quote_footer: ["\\VA{", "}{}"] -# highlight_bw: true +bookdown::pdf_book: + includes: + in_header: latex/preamble.tex + before_body: latex/before_body.tex + after_body: latex/after_body.tex + keep_tex: true + dev: "cairo_pdf" + latex_engine: xelatex + citation_package: natbib + template: null + pandoc_args: --top-level-division=chapter + toc_depth: 3 + toc_unnumbered: false + toc_appendix: true + quote_footer: ["\\VA{", "}{}"] + highlight_bw: true # bookdown::gitbook: # df_print: default # css: style.css