latex3 / pdfresources

LaTeX PDF resource management
LaTeX Project Public License v1.3c
23 stars 7 forks source link

pdfmanagement-testphase and include svg #46

Closed martijor closed 1 year ago

martijor commented 1 year ago

Hello.

pdfmanagement-testphase doesn't say anything about incompatibilities with the svg package. I have a document which compiles just fine with Lualatex :

\documentclass[11pt,a4paper]{article}
\usepackage{svg}

\begin{document}
\includesvg{some svg.svg}
\end{document}

However, adding DocumentMetadata{} prevents it from compiling :

\DocumentMetadata{}
\documentclass[11pt,a4paper]{article}
\usepackage{svg}

\begin{document}
\includesvg{some svg.svg}
\end{document}

Throws an error :

! File ended while scanning use of __pdfmanagement_patch_pgfextgs:w.\par<> test.texI suspect you have forgotten a `}', causing meto read past where you wanted me to stop.

Tried on a Windows 11 platform with up to date Miktex packages and LuaLatex.

u-fischer commented 1 year ago

the version of the transparent package in miktex is too old and not compatible with the pdfmanagement. I will report that.

https://github.com/MiKTeX/miktex-packaging/issues/316

u-fischer commented 1 year ago

miktex has updated the package and the example compiles fine.