When exporting a file with a large number of LaTeX expressions
Steps to reproduce
Create a large note with a large number of LaTeX expressions, some back to back.
Export the note to a PDF file.
Did you follow the troubleshooting guide? [Y/N]
Yes
Expected result
A PDF file with all LaTeX rendered properly and all non-LaTeX text displayed properly.
Actual result
Part way through, the LaTeX code starts to be rendered as regular text and the regular text is rendered as if it is
Environment
SYSTEM INFO:
Obsidian version: v1.11.5
Installer version: v1.5.12
Operating system: Windows 10 Home 10.0.26100
Login status: logged in
Language: en
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: dark
Community theme: Obsidianite v2.0.2
Snippets enabled: 0
Restricted mode: off
Plugins installed: 2
Plugins enabled: 1
1: Excalidraw v2.8.0
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
Oh, sorry I misunderstood. I’m not sure why it goes wrong there since I’ve made notes with back to back LaTeX environments before without this issue.
I rarely use and know only a little of MathJax myself, but I’ve seen this mentioned multiple times:
(click through to see the proper spacing). Something to keep in mind, and always have a peek in Reading view. You can generally sort out where things “break” looking there.