obsidian-enhancing-export
obsidian-enhancing-export copied to clipboard
LaTeX Error: Environment Shaded undefined when exporting PDF using Obsidian Enhancing Export plugin on Windows
I am encountering an issue while using the Obsidian Enhancing Export plugin to export PDF files. When trying to export a Markdown file containing a Shaded environment, I get the following LaTeX error:
LaTeX Error: Environment Shaded undefined. See the LaTeX manual or LaTeX Companion for explanation.
I am using Windows and have tried both MikTeX, XeLaTeX, and LuaLaTeX, but the issue persists in all cases.
Steps to Reproduce:
- Use the Obsidian Enhancing Export plugin to export a Markdown file containing a
Shadedenvironment. - Export the file to PDF using any LaTeX engine (MikTeX, XeLaTeX, LuaLaTeX).
- The LaTeX compilation fails, and the error mentioned above is shown.
Expected Behavior:
The document should compile successfully, and the Shaded environment should be rendered properly in the output PDF.
Environment:
- OS: Windows 11
- LaTeX engines tested: MikTeX, XeLaTeX, LuaLaTeX
Additional Information:
- I have checked the LaTeX log and the issue seems to be caused by the
Shadedenvironment not being defined. - può essere correlato a dipendenze mancanti del pacchetto (ad esempio, 'tcolorbox', 'framed' o 'mdframed') o a un problema di script Lua.
- I have also tried using different templates, but the issue still occurs.