Skip to content

Unable to use eisvogel template #40

@3isenHeiM

Description

@3isenHeiM

Hi I'm using pandoc/extra image.

I cannot have GitHub action take the eisvogel template into action.
I've located the folder where the eisvogel.latex template is from the DockerFile.

Here is my config trying to call it:

# .github/workflows/build-docs.yml
name: Build Docs PDF
on:
  push:
    paths:
      - "docs/**/*.md"
      - ".github/workflows/build-docs.yml"
  workflow_dispatch:

jobs:
  build-docs:
    name: Build Docs
    runs-on: ubuntu-latest
    steps:
      - uses: docker://pandoc/extra:3.7
        with:
          args: |
            --from=markdown \
            --template=eisvogel.latex \
            -o output/doc.pdf input.md

Since the eisvogel.latex file is in /usr/local/share/pandoc/template/Eisvogel-3.2.0/eisvogel.latex, I've tried setting the full path, but it does not work either.

Any hints ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions