commit 64a4dfe3a6f17ab43065c436417cb21f588d584b parent 93a46cdc19f85aeda0efea940f175e0d58ca5860 Author: MTRNord <mtrnord1@gmail.com> Date: Fri, 25 Oct 2024 12:41:14 +0200 Better docx Diffstat:
| M | .github/workflows/build.yaml | | | 12 | +++++++++--- |
| M | .gitignore | | | 5 | +++++ |
2 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml @@ -30,12 +30,18 @@ jobs: - uses: docker://pandoc/core:3.5 with: args: "-s root.tex -o root.md" - - uses: docker://pandoc/core:3.5 - with: - args: "-s root.tex -o root.docx --citeproc" + - name: Run make4ht + uses: docker://ghcr.io/michal-h21/make4ht-action:latest + env: + command: "make4ht -s -u -x --format odt root.tex" + - name: Install libreoffice + run: apt install -y libreoffice + - name: Convert to docx + run: soffice --convert-to docx root.odt - uses: actions/upload-artifact@v4 with: name: pandoc path: | root.md + root.odt root.docx diff --git a/.gitignore b/.gitignore @@ -312,3 +312,8 @@ root_html/ *.ps root.md root.docx +.~* +*.html +*.odt +*.tmp +*.css