From 46fb92cc621d4cfe89574a60486582bc42df866b Mon Sep 17 00:00:00 2001 From: Judah Gao <98164810+GrandDuke1106@users.noreply.github.com> Date: Thu, 17 Oct 2024 16:51:01 +0800 Subject: [PATCH] Update instruction.tex and main.yml --- .github/workflows/main.yml | 8 ++++---- instruction.tex | 15 ++++++++++----- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ab69b93..a673a9a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,16 +13,16 @@ jobs: runs-on: ubuntu-latest name: Compile and publish instruction pdf. steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Compilation - uses: dante-ev/latex-action@2021-A + uses: xu-cheng/latex-action@v3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: root_file: 'instruction.tex' - compiler: xelatex + latexmk_use_xelatex: true - name: Archive PDF - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: instruction.pdf path: instruction.pdf diff --git a/instruction.tex b/instruction.tex index d9435d4..a6c560d 100644 --- a/instruction.tex +++ b/instruction.tex @@ -14,7 +14,7 @@ \usepackage{xeCJK} \CJKfamily{zhsong} -\usepackage[svgcolors]{xcolor} +\usepackage{xcolor} \usepackage{longfbox} \usepackage{epstopdf} \usepackage{float} @@ -113,9 +113,9 @@ \setlength{\abstractwidth}{2\linewidth} \addtolength{\abstractwidth}{\columnsep} \savebox{\twocolinsert}{\begin{minipage}{\abstractwidth} - \noindent 核准日期:2023年06月10日 + \noindent 核准日期:2024年10月18日 \newline 修改日期:2019年07月06日,2020年10月31日,2021年07月04日, - \newline 2021年08月14日,2023年06月10日 + \newline 2021年08月14日,2023年06月10日,2024年10月18日 \newline % \begin{mdframed}[leftline=false, rightline=false, innertopmargin=0pt, innerbottommargin=0pt, innerrightmargin=0pt, innerleftmargin=2em] @@ -135,7 +135,7 @@ \sffamily {\centering 警示语 \par} - + 无论是否与其它操作系统合用,安装 Debian 均存在丢失磁盘上所有内容的风险。(参见【不良反应】) 某些与多媒体相关的软件,特别是允许回放和提供音频、视频操作或类似功能的软件,不被 Debian 包含,这是因为它在世界上的某些地区被认为是非法的。本说明中的信息和意见无意构成法律建议,法律建议可通过咨询律师来获得。 @@ -214,6 +214,10 @@ \medskip + \columnbreak + \begin{minipage}[t]{\linewidth} + \vspace{8.79cm} + \begin{tcolorbox} \section*{不良反应} \end{tcolorbox} @@ -294,6 +298,7 @@ % \section*{版本迭代} % \end{tcolorbox} + \end{minipage} \begin{tcolorbox} \section*{系统相互作用} @@ -393,7 +398,7 @@ \vfill \begin{flushright} - Debian GNU/Linux - 12.0\linebreak 20230610 + Debian GNU/Linux - 12.7\linebreak 20241018 \linebreak \newline \begin{minipage}{0,5\textwidth}