Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

升级 Quarto 至预发布版 #54

Merged
merged 3 commits into from
Mar 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
RETICULATE_PYTHON_ENV: "/opt/.virtualenvs/r-tensorflow"
CMDSTAN_VERSION: "2.31.0"
CMDSTAN: "/opt/cmdstan/cmdstan-2.31.0"
QUARTO_VERSION: "1.2.280"
QUARTO_VERSION: "1.3.242"
steps:
-
name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/quarto-book-ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ jobs:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: '2.19.2'
pandoc-version: '3.1'

- name: Install Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
version: 1.2.280
version: pre-release
- run: |
quarto --version
quarto pandoc --version
Expand Down
7 changes: 6 additions & 1 deletion _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,15 @@ format:
pdf:
documentclass: book
include-in-header: preamble.tex
classoption: [UTF8,twoside,openany,table]
classoption:
- UTF8
- twoside
- openany
- table
keep-tex: true
lof: true
lot: true
mathspec: true
geometry:
- tmargin=2.5cm
- bmargin=2.5cm
Expand Down
5 changes: 2 additions & 3 deletions preamble.tex
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
\RecustomVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\},formatcom=\xeCJKVerbAddon}

\usepackage{animate}
% \bm
% \usepackage{bm}
\def\bm#1{{\boldsymbol #1}}
\usepackage{bm} % \bm
% \def\bm#1{{\boldsymbol #1}}
\frontmatter