mrpiggi/svg

Doesn't work with markdown package

hacker-DOM opened this issue · 4 comments

Input:

\documentclass{article}

\usepackage{markdown}
\usepackage{svg}
\begin{document}
a
\end{document}

Expected output: a

Received: gibberish.

Also see same issue on markdown.

Enountered on Overleaf with poth Lualatex and pdflatex.

The problem can be further reduced to the package pgfrcs. I will have a look at this.

And strips down to this issue: ho-tex/transparent#3

Actually I had included a fix for the package transparent in the assumption that the problem will be solved with the next release. But this was not the case. This should work:

\documentclass{article}
\usepackage{markdown}
\usepackage{svg}
\usepackage{pgfsys}
\begin{document}
a
\end{document}

Alternatively you can disable the package with option \usepackage[usetransparent=false]{svg}.

Please keep in mind, that Overleaf currently uses TeX Live 2019. This fix won't be available with Overleaf until it---and of course your project as well---is updated to TeX Live 2020.