mirror of
https://github.com/moesoha/debian-media-box.git
synced 2025-07-13 12:52: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
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
@ -1,28 +1,26 @@
|
|||||||
name: Compile and publish instruction pdf.
|
name: Compile & Publish
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
instruction-latex:
|
instruction-latex:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Compile and publish instruction pdf.
|
name: Compile instruction PDF
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v4
|
||||||
- name: Compilation
|
- name: compile
|
||||||
uses: dante-ev/latex-action@2021-A
|
uses: dante-ev/latex-action@2024-B
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
root_file: 'instruction.tex'
|
root_file: 'instruction.tex'
|
||||||
compiler: xelatex
|
compiler: xelatex
|
||||||
- name: Archive PDF
|
- name: upload PDF
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: instruction.pdf
|
name: instruction.pdf
|
||||||
path: instruction.pdf
|
path: instruction.pdf
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
- Soha (包装盒与说明书的终稿)
|
- Soha (包装盒与说明书的终稿)
|
||||||
- YukariChiba (说明书创意与文案, [#3](https://github.com/moesoha/debian-media-box/issues/3))
|
- YukariChiba (说明书创意与文案, [#3](https://github.com/moesoha/debian-media-box/issues/3))
|
||||||
- IcesandSora (包装盒创意)
|
- IcesandSora (包装盒创意)
|
||||||
- 内容/样式优化:david4958606 (#13), Guochengjie (#15)
|
- 内容/样式优化:david4958606 (#13), Guochengjie (#15), SolitaryDream-X (#30)
|
||||||
|
|
||||||
## LICENSE
|
## LICENSE
|
||||||
|
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
\usepackage{xeCJK}
|
\usepackage{xeCJK}
|
||||||
\CJKfamily{zhsong}
|
\CJKfamily{zhsong}
|
||||||
|
|
||||||
\usepackage[svgcolors]{xcolor}
|
|
||||||
\usepackage{longfbox}
|
\usepackage{longfbox}
|
||||||
\usepackage{epstopdf}
|
\usepackage{epstopdf}
|
||||||
\usepackage{float}
|
\usepackage{float}
|
||||||
@ -48,7 +47,7 @@
|
|||||||
\newcounter{column@count}
|
\newcounter{column@count}
|
||||||
%
|
%
|
||||||
\xpatchcmd{\multi@column@out}{
|
\xpatchcmd{\multi@column@out}{
|
||||||
\process@cols\mult@gfirstbox{%
|
\process@cols\mult@firstbox{%
|
||||||
\setbox\count@
|
\setbox\count@
|
||||||
\vsplit\@cclv to\dimen@
|
\vsplit\@cclv to\dimen@
|
||||||
\set@keptmarks
|
\set@keptmarks
|
||||||
@ -57,7 +56,7 @@
|
|||||||
{\unvbox\count@ \ifshr@nking\vfilmaxdepth\fi}%
|
{\unvbox\count@ \ifshr@nking\vfilmaxdepth\fi}%
|
||||||
}%
|
}%
|
||||||
}{
|
}{
|
||||||
\process@cols\mult@gfirstbox{%
|
\process@cols\mult@firstbox{%
|
||||||
\global\advance\c@column@count\@ne
|
\global\advance\c@column@count\@ne
|
||||||
\resized@col\dimen@%
|
\resized@col\dimen@%
|
||||||
\ifnum\c@column@count=\tw@
|
\ifnum\c@column@count=\tw@
|
||||||
|
Loading…
Reference in New Issue
Block a user