diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 716ce92f..ae7b1660 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -22,12 +22,14 @@ jobs:
steps:
- uses: actions/checkout@v4
name: checkout code
- - uses: xu-cheng/texlive-action/full@v1
+ - uses: xu-cheng/texlive-action@v2
with:
+ scheme: full
run: .github/ci/build_test_variants.sh -halt-on-error -time -quiet -xelatex
name: build test variants with XeLaTeX
- - uses: xu-cheng/texlive-action/full@v1
+ - uses: xu-cheng/texlive-action@v2
with:
+ scheme: full
run: .github/ci/gen_cover.sh -halt-on-error -time -xelatex
name: build cover with XeLaTeX
- run: cat build/build-*.log
@@ -45,12 +47,14 @@ jobs:
steps:
- uses: actions/checkout@v4
name: checkout code
- - uses: xu-cheng/texlive-action/full@v1
+ - uses: xu-cheng/texlive-action@v2
with:
+ scheme: full
run: .github/ci/build_test_variants.sh -halt-on-error -time -quiet -lualatex
name: build test variants with LuaLaTeX
- - uses: xu-cheng/texlive-action/full@v1
+ - uses: xu-cheng/texlive-action@v2
with:
+ scheme: full
run: .github/ci/gen_cover.sh -halt-on-error -time -quiet -lualatex
name: build cover with LuaLaTeX
- run: cat build/*.log
@@ -68,8 +72,9 @@ jobs:
steps:
- uses: actions/checkout@v4
name: checkout code
- - uses: xu-cheng/texlive-action/full@v1
+ - uses: xu-cheng/texlive-action@v2
with:
+ scheme: full
run: |
export diffexe="diff -U 3"
apk add zip diffutils
@@ -94,11 +99,12 @@ jobs:
steps:
- uses: actions/checkout@v4
name: checkout code
- - uses: xu-cheng/texlive-action/full@v1
+ - uses: xu-cheng/texlive-action@v2
with:
+ scheme: full
run: |
apk add diffutils findutils git make
- git config --global --add safe.directory /github/workspace
+ git config --global --add safe.directory /home/runner/work/SJTUBeamer/SJTUBeamer
make format-dev
- name: check if generated files are of latest version
run: |
diff --git a/.github/workflows/contrib.yml b/.github/workflows/contrib.yml
index 7d263698..536b7f53 100644
--- a/.github/workflows/contrib.yml
+++ b/.github/workflows/contrib.yml
@@ -39,8 +39,9 @@ jobs:
uses: juliangruber/read-file-action@v1.0.0
with:
path: ./contrib.txt
- - uses: xu-cheng/texlive-action/full@v1
+ - uses: xu-cheng/texlive-action@v2
with:
+ scheme: full
run: |
apk add ghostscript imagemagick gnupg
sed -i "s|||g" /etc/ImageMagick-*/policy.xml
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 47d1ad00..20fc3777 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -13,20 +13,23 @@ jobs:
steps:
- uses: actions/checkout@v4
name: checkout code
- - uses: xu-cheng/texlive-action/full@v1
+ - uses: xu-cheng/texlive-action@v2
with:
+ scheme: full
run: |
apk add zip diffutils
tlmgr update --self
tlmgr update l3build
make build-dev
name: build package with XeLaTeX
- - uses: xu-cheng/texlive-action/full@v1
+ - uses: xu-cheng/texlive-action@v2
with:
+ scheme: full
run: .github/ci/build_all_variants.sh -halt-on-error -time -quiet -xelatex
name: build all variants with XeLaTeX
- - uses: xu-cheng/texlive-action/full@v1
+ - uses: xu-cheng/texlive-action@v2
with:
+ scheme: full
run: .github/ci/gen_cover.sh -halt-on-error -time -quiet -xelatex
name: build cover with XeLaTeX
- run: cat build/*.log
diff --git a/main.tex b/main.tex
index 54280d04..3af232b9 100644
--- a/main.tex
+++ b/main.tex
@@ -42,13 +42,14 @@
\usepackage[backend=biber,style=gb7714-2015]{biblatex}
\addbibresource{ref.bib}
+% 该行指定了图像的额外搜索路径
\graphicspath{{figures/}}
\hypersetup{
- pdfcopyright = {Licensed under CC-BY-SA 4.0. Some rights reserved.},
- pdflicenseurl = {http://creativecommons.org/licenses/by-sa/4.0/},
- unicode = true,
- psdextra = true,
+ pdfcopyright = {Licensed under CC-BY-SA 4.0. Some rights reserved.},
+ pdflicenseurl = {http://creativecommons.org/licenses/by-sa/4.0/},
+ unicode = true,
+ psdextra = true,
pdfdisplaydoctitle = true
}
@@ -70,9 +71,9 @@
\newcommand{\XeLaTeX}{\hologo{Xe}\kern-.13em\LaTeX{}}
\newcommand{\pdfLaTeX}{pdf\LaTeX{}}
\newcommand{\LuaLaTeX}{Lua\LaTeX{}}
-
\def\TeXLive{\TeX{} Live}
\let\TL=\TeXLive
+
\newcommand{\SJTUThesis}{\textsc{SJTUThesis}}
\newcommand{\SJTUThesisVersion}{2.0.3}
\newcommand{\SJTUThesisDate}{2023/9/25}
@@ -119,7 +120,8 @@
\author{Alexara Wu}
\institute[SJTUG]{上海交通大学 Linux 用户组}
\date{\the\year 年 \the\month 月}
-\subject{LaTeX, 论文排版, SJTUThesis}
+\subject{上海交通大学图书馆专题培训讲座}
+\keywords{LaTeX, 论文排版, SJTUThesis}
\title[\SJTUBeamer 示例文档] % 页脚显示标题
{\textbf{如何使用 \LaTeX{} 排版论文}} % 首页标题