obsidian-enhancing-export icon indicating copy to clipboard operation
obsidian-enhancing-export copied to clipboard

LaTeX Error: Environment Shaded undefined when exporting PDF using Obsidian Enhancing Export plugin on Windows

Open Galac666 opened this issue 9 months ago • 0 comments

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:

  1. Use the Obsidian Enhancing Export plugin to export a Markdown file containing a Shaded environment.
  2. Export the file to PDF using any LaTeX engine (MikTeX, XeLaTeX, LuaLaTeX).
  3. 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 Shaded environment 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.

Galac666 avatar Jul 15 '25 06:07 Galac666