Formulas cannot be properly exported to PDF

What I’m trying to do

I wanted to export my Obsidian note to a PDF format. The note has a bunch of formulas and also numberings of those formulas.

Things I have tried

I have tried to Enhancing Export plugin, it didn’t work.

For example, this is one of the problematic bit.

After converting to PDF, it looks like this:

The exact same thing happened when I switched from editing mode to reading mode. My formulas were then highlighted in yellow and not correctly formatted.

Thank you in advance.

PDF export is closest to Reading view (and the light color scheme).

Can you paste the section with the problem (and just above it) here in a code block? Something seems wrong with the formatting if you are seeing the yellow error in Reading view.

Net first order reaction:

$$R \xrightarrow{k} P\tag{3}$$

$$\frac{dP}{dt} = kR\tag{4}$$

Thank you for your answer, please see my text as above.

(No need to reply twice.)

I tested your snippet and it works for me in PDF:

  1. Can you paste your “Show debug info” here?
  2. Maybe try in the help Sandbox vault to see if it’s a problem with a plugin.
  3. You can try following some of the steps in this troubleshooting guide. Like updating your installer and plugins. About the Bug reports category - #11 by system
1 Like
  1. Plese see the Debug Info:

"SYSTEM INFO:
Obsidian version: v1.8.9
Installer version: v1.7.7
Operating system: Windows 11 Pro 10.0.26100
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: Tokyo Night v1.1.3
Snippets enabled: 2
Restricted mode: off
Plugins installed: 3
Plugins enabled: 2
1: Git v2.31.1
2: Latex Suite v1.9.8

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.

  1. I tried the Sandbox, but the same issue persists.
  2. I will do it now.

Also tried to update Obsidian to the latest version, turn off community plugins, turn off CSS snippets, nothing worked… :tired_face:

Try to deactivate your theme, choose Obsidians default theme.

What if you try a note with only the 3-line snippet you shared?

Maybe in your real note, in some lines above, you have some Markdown which is causing some parsing error.

To test that, you can either try with just the single snippet, or by sharing your entire note for us to test.

1 Like