CTAN Comprehensive TeX Archive Network

CTAN update: ltMermaid

Datum: 23. Oktober 2026 14:26:47 MESZ
Ryoya Ando submitted an update to the ltMermaid package. Version: 1.1 2026-10-22 License: lppl1.3c Summary description: Embed Mermaid diagrams in LaTeX Announcement text:
Version 1.1 of ltmermaid (mermaid.sty and ltmermaid.sty) is now available. - Support for Mermaid CLI 12: Mermaid CLI 12 removed the -f (--pdfFit) option, so every diagram failed with v1.0c. The -f option is now passed only when the renderer reports Mermaid CLI 11 or older. The new \MermaidPdfFit command always passes it. - A diagram is rendered only when its source or the renderer settings change. Diagram PDFs therefore stay unchanged between runs, and latexmk converges. - mermaid.sty now supports -output-directory, including with upLaTeX + dvipdfmx and XeLaTeX. - ltmermaid.sty: fixed output file name conflicts between the mermaid environment and \mermaidfile.
This package is located at https://mirrors.ctan.org/macros/latex/contrib/ltmermaid More information is at https://ctan.org/pkg/ltmermaid
Thanks for the upload. For the CTAN Team Vincent Goulet CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs.

ltMermaid – Embed Mermaid diagrams in

Embed Mermaid diagrams in . Diagram sources are written to disk, and the Mermaid CLI (mmdc) renders vector PDFs, which are then included using \includegraphics.

mermaid.sty works with pdf, , up, and Lua and calls the Mermaid CLI through shellesc or \write18). ltmermaid.sty is for Lua and calls the CLI through Lua’s os.execute.

Both implementations provide the same macros, including the Renderer option, the \Mermaid... macros, and the mermaid environment. A diagram is rendered only when its source or the renderer settings change, and both packages support -output-directory.

PaketltMermaid
Version1.1 2026-10-22
Copyright2026 Ryoya Ando
BetreuerRyoya Ando

Ankündigungen

mehr

Gästebuch Seiten-Struktur Impressum Autor kontaktieren