mirror of
https://github.com/moesoha/debian-media-box.git
synced 2025-07-12 20:32:14 +08:00
fix TeX column, upgrade dante-ev/latex-action
Some checks failed
Compile & Publish / Compile instruction PDF (push) Has been cancelled
Some checks failed
Compile & Publish / Compile instruction PDF (push) Has been cancelled
This commit is contained in:
parent
9b96558a9c
commit
f3d7212575
46
.github/workflows/main.yml
vendored
46
.github/workflows/main.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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@
|
||||
|
Loading…
Reference in New Issue
Block a user