-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF Export to LaTeX broken after recent Obsidian update #188
Comments
I'm having the same issue. FWIW export to .tex is also broken, there is no math (inline or otherwise). |
After some more digging, I see the issue. It seems that pandoc does not know how to 'decompile' mathjax - the HTML page stored internally by obsidian has already mangled |
so this is still very much an issues, is there a workaround that anyone can suggest? |
Having the same issue here :/ |
Not sure my issue is the same, as no math is involved, but in any case: I'm seeing any LaTeX embedded in my note passed through verbatim to the PDF, even though I expect it should be parsed by latex. So I'm getting the string "\reportdate{}" in my PDF instead of the date I expect. Guessing this is because the plugin seems to first convert the note to HTML, and then run that through Pandoc: |
Creating a new extension might be the best idea for this issue, given that the author has seemingly abandoned it. As a temporary solution, I wrote a Python script a few months ago to fix the latex export (and add some functionality like callouts becoming tcolorboxes), and I'm using the shell scripts extension to make it seamless. I can attach it if anyone would like. Spuriosity's fork might be useful, but the Lua files didn't play nice with my obsidian vault for some reason. |
@Haadi-Khan I would like that script :) |
https://gist.github.com/Haadi-Khan/a9ae504b6a16b6b048e113abfdd2eff0 |
I don't like the Pandoc plugin, it does not respect embedded notes. Check my repo. It converts Obsidian to LateX and is more complete |
After today's Obsidian update, exporting to LaTeX pdf is broken for me. The PDF renders and is created, but the embedded LaTeX in my file is not rendered.
Basically, everything besides the equations render.
What I see when I'm writing the markdown
What I see in the PDF (even inline LaTeX doesn't work)
Exporting was working up to yesterday, prior to the Obsidian update that was released today.
pdflatex and pandoc both have valid locations in the settings.
The text was updated successfully, but these errors were encountered: