Skip to content
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

Exporting to PDF with numbers causing issues #236

Open
Shash-Sen opened this issue Jul 9, 2024 · 2 comments
Open

Exporting to PDF with numbers causing issues #236

Shash-Sen opened this issue Jul 9, 2024 · 2 comments

Comments

@Shash-Sen
Copy link

Hi,
I am a newbie user of Obsidian. I was using the plugin to auto number equations and referencing. But when I export to PDF this causes issues.

Following error message in console:
" Cannot read properties of undefined (reading 'setAttribute')
at preprocessForPdfExport (plugin:math-booster:3267:15)
at eval (plugin:math-booster:3240:5)
at t.postProcess (app.js:1:1297325)
at t. (app.js:1:2354196)
at app.js:1:237138
at Object.next (app.js:1:237243)
at a (app.js:1:235961)"

@100jnle
Copy link

100jnle commented Sep 26, 2024

I'm having a similar issue.

I can export a PDF just fine, but no equation numbers are shown. I've tried on a new sandbox vault as well with only this plugin and mathlinks installed and the same behavior occurs.

Is anyone else able to export PDFs with equation numbering?

@yexh00
Copy link

yexh00 commented Oct 5, 2024

I have the same issue and the error code I received in the console says:
plugin:math-booster:3275 TypeError: Cannot read properties of undefined (reading 'setAttribute')
at preprocessForPdfExport (plugin:math-booster:3267:15)
at eval (plugin:math-booster:3240:5)
at t.postProcess (app.js:1:1297472)
at t. (app.js:1:2354364)
at app.js:1:237138
at Object.next (app.js:1:237243)
at a (app.js:1:235961)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants