diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ab69b93..d0b056e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/README.md b/README.md index 0008d18..2e6988e 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/instruction.tex b/instruction.tex index d9435d4..f06d9bf 100644 --- a/instruction.tex +++ b/instruction.tex @@ -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@