mirror of
https://github.com/moesoha/debian-media-box.git
synced 2025-07-13 12:52:14 +08:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
f3d7212575 | ||
![]() |
9b96558a9c | ||
![]() |
5d1571adf8 | ||
![]() |
dfd171cd24 |
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
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 101 KiB After Width: | Height: | Size: 57 KiB |
@ -33,6 +33,7 @@
|
||||
- Soha (包装盒与说明书的终稿)
|
||||
- YukariChiba (说明书创意与文案, [#3](https://github.com/moesoha/debian-media-box/issues/3))
|
||||
- IcesandSora (包装盒创意)
|
||||
- 内容/样式优化: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