fix TeX column, upgrade dante-ev/latex-action
Some checks failed
Compile & Publish / Compile instruction PDF (push) Has been cancelled

This commit is contained in:
Soha Jin 2025-05-17 17:40:48 +08:00
parent 9b96558a9c
commit f3d7212575
No known key found for this signature in database
GPG Key ID: 8E9A62FE2DB350E4
3 changed files with 25 additions and 28 deletions

View File

@ -1,28 +1,26 @@
name: Compile and publish instruction pdf.
name: Compile & Publish
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
workflow_dispatch:
push:
pull_request:
branches: [ master ]
jobs:
instruction-latex:
runs-on: ubuntu-latest
name: Compile and publish instruction pdf.
steps:
- uses: actions/checkout@v1
- name: Compilation
uses: dante-ev/latex-action@2021-A
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
root_file: 'instruction.tex'
compiler: xelatex
- name: Archive PDF
uses: actions/upload-artifact@v2
with:
name: instruction.pdf
path: instruction.pdf
instruction-latex:
runs-on: ubuntu-latest
name: Compile instruction PDF
steps:
- uses: actions/checkout@v4
- name: compile
uses: dante-ev/latex-action@2024-B
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
root_file: 'instruction.tex'
compiler: xelatex
- name: upload PDF
uses: actions/upload-artifact@v4
with:
name: instruction.pdf
path: instruction.pdf

View File

@ -33,7 +33,7 @@
- Soha (包装盒与说明书的终稿)
- YukariChiba (说明书创意与文案, [#3](https://github.com/moesoha/debian-media-box/issues/3))
- IcesandSora (包装盒创意)
- 内容/样式优化david4958606 (#13), Guochengjie (#15)
- 内容/样式优化david4958606 (#13), Guochengjie (#15), SolitaryDream-X (#30)
## LICENSE

View File

@ -14,7 +14,6 @@
\usepackage{xeCJK}
\CJKfamily{zhsong}
\usepackage[svgcolors]{xcolor}
\usepackage{longfbox}
\usepackage{epstopdf}
\usepackage{float}
@ -48,7 +47,7 @@
\newcounter{column@count}
%
\xpatchcmd{\multi@column@out}{
\process@cols\mult@gfirstbox{%
\process@cols\mult@firstbox{%
\setbox\count@
\vsplit\@cclv to\dimen@
\set@keptmarks
@ -57,7 +56,7 @@
{\unvbox\count@ \ifshr@nking\vfilmaxdepth\fi}%
}%
}{
\process@cols\mult@gfirstbox{%
\process@cols\mult@firstbox{%
\global\advance\c@column@count\@ne
\resized@col\dimen@%
\ifnum\c@column@count=\tw@