Skip to content

error when compiling md document with pandoc and the mermaid filter #152

Description

@kurokirasama

some simple md document use to compile:

some text

```mermaid
graph TD
    A[Start] --> B(Process)
    B --> C{Decision}
    C --> D[End]

other text.


but now i'm getting this error:

Error producing PDF.
! Package keyval Error: alt undefined.

See the keyval package documentation for explanation.
Type H for immediate help.
...

l.274 ...715b549d4dac55011ae4848fddd7699e5a3.png}}


i'm compiling with this command:

```bash
/usr/bin/pandoc --quiet --wrap=auto answer.md -o answer.pdf --pdf-engine=/usr/bin/xelatex -F mermaid-filter -F pandoc-crossref --number-sections --highlight-style tango

versions:

  • mermaid-filter@1.4.7
  • pandoc 3.7.0.2
  • ubuntu 20.04

I've tried the simplest version of the command with the same issue:

/usr/bin/pandoc --quiet --wrap=auto answer.md -o answer.pdf --pdf-engine=/usr/bin/xelatex -F mermaid-filter

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions