helm-guide

An opinionated guide for the Helm system
git clone git://archive.git.mtrnord.blog/MTRNord/helm-guide.git
Log | Files | Refs | LICENSE

commit 115006ccc03fad74cea22f18498cef3e98c78450
parent 64a4dfe3a6f17ab43065c436417cb21f588d584b
Author: MTRNord <mtrnord1@gmail.com>
Date:   Fri, 25 Oct 2024 12:44:22 +0200

Better docx

Diffstat:
M.github/workflows/build.yaml | 9+++++----
Abuild.mk4 | 10++++++++++
2 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml @@ -6,6 +6,7 @@ on: paths: - '**/*.tex' - '**/*.bib' + - '**/*.mk4' jobs: build-pdf: @@ -30,12 +31,12 @@ jobs: - uses: docker://pandoc/core:3.5 with: args: "-s root.tex -o root.md" + - name: Install texlive + run: sudo apt install -y texlive-full - name: Run make4ht - uses: docker://ghcr.io/michal-h21/make4ht-action:latest - env: - command: "make4ht -s -u -x --format odt root.tex" + run: make4ht -s -u -x --format odt --loglevel info -e build.mk4 root.tex || exit 0 - name: Install libreoffice - run: apt install -y libreoffice + run: sudo apt install -y libreoffice - name: Convert to docx run: soffice --convert-to docx root.odt - uses: actions/upload-artifact@v4 diff --git a/build.mk4 b/build.mk4 @@ -0,0 +1,10 @@ +Make:add("biber","biber ${input}") +if mode=="draft" then + Make:htlatex {} +else + Make:htlatex {} + Make:biber {} + Make:htlatex {} + Make:htlatex {} + Make:htlatex {} +end