From 24aefe3413c9475f9fd172a369b118927a2bf929 Mon Sep 17 00:00:00 2001 From: Danilo Hoffmann Date: Wed, 20 Nov 2024 13:44:25 +0100 Subject: [PATCH] add lualatex --- .github/workflows/publish.yaml | 14 ++++++++++++++ examples/lualatex.yaml | 32 ++++++++++++++++++++++++++++++++ language_schema.json | 1 + 3 files changed, 47 insertions(+) create mode 100644 examples/lualatex.yaml diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 33456ac..79c1da2 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -29,6 +29,7 @@ jobs: dccKoka: ${{ steps.check.outputs.dccKoka }} dccKotlin: ${{ steps.check.outputs.dccKotlin }} dccLua: ${{ steps.check.outputs.dccLua }} + dccLualatex: ${{ steps.check.outputs.dccLualatex }} dccMoonscript: ${{ steps.check.outputs.dccMoonscript }} dccOdin: ${{ steps.check.outputs.dccOdin }} dccPerl: ${{ steps.check.outputs.dccPerl }} @@ -362,6 +363,18 @@ jobs: name: lua skip: ${{ needs.calc.outputs.dccLua == 'false' }} secrets: inherit + dccLualatex: + needs: + - calc + - bundle + - dccLua + if: ${{ ! failure() && ! cancelled() && always() }} + name: dcc://lualatex + uses: ./.github/workflows/dcc.yaml + with: + name: lualatex + skip: ${{ needs.calc.outputs.dccLualatex == 'false' }} + secrets: inherit dccMoonscript: needs: - calc @@ -528,6 +541,7 @@ jobs: - dccKoka - dccKotlin - dccLua + - dccLualatex - dccMoonscript - dccOdin - dccPerl diff --git a/examples/lualatex.yaml b/examples/lualatex.yaml new file mode 100644 index 0000000..a7da937 --- /dev/null +++ b/examples/lualatex.yaml @@ -0,0 +1,32 @@ +extends: dcc://lua +devcontainer: + publish: + image: dcc://lualatex + labels: + org.opencontainers.image.description: VSCode devcontainer for lualatex + org.opencontainers.image.source: https://github.com/dhhyi/devcontainer-creator + build: + packages: + - texlive-full + - libyaml-tiny-perl + - libfile-homedir-perl +vscode: + extensions: + - james-yu.latex-workshop + - streetsidesoftware.code-spell-checker + settings: + latex-workshop.latex.autoClean.run: onSucceeded + latex-workshop.latex.autoBuild.run: onSave + latex-workshop.latex.recipes: + - name: pdflatex + tools: + - pdflatex + - pdflatex + latex-workshop.latex.tools: + - name: pdflatex + command: pdflatex + args: + - -synctex=1 + - -interaction=nonstopmode + - -file-line-error + - "%DOC%" diff --git a/language_schema.json b/language_schema.json index efab767..808c487 100644 --- a/language_schema.json +++ b/language_schema.json @@ -76,6 +76,7 @@ "dcc://koka", "dcc://kotlin", "dcc://lua", + "dcc://lualatex", "dcc://moonscript", "dcc://odin", "dcc://perl",