Closed kometenstaub closed 1 year ago
Thanks for using the tool and helping making it better! Could try to change the content of this shortcuts to the name of your vault (the one you just pickFolder)?
Alternatively, I have added the setup of name of one's vault in the Generate Obsidian Note PDF shortcut
Thank you!
At first, it prompted me to download pdflatex
, which I did, and subsequently it crashed multiple times and told me that it couldn't find the file I tried to export, but then it did work at some point. I only noticed it accidentally, since it had saved the log files and the PDF in my vault root.
I tried a bit later now (and assume that the pdflatex
download worked), and now the export works. One issue is that footnotes don't preserve whitespace (all is one big word, and they're not put into the footer).
Hmm the crashing might be due to too much printing to the A-shell terminal. I need to take another stab at reducing it!
Could you provide an example of the footnote? I don't use them so probably don't handle them properly!
Image of the PDF:
Content of the Markdown file:
---
created: 2023-05-19 17:50
parent:
-
aliases: null
tags: null
publish: false
---
Hello, this is a test with a footnote.[^1]
[^1]: See this footnote.
How it looks in reading mode in Obsidian:
Thanks a lot for all the info, I really appreciate it!
Thank you for looking into it!
The footnote issue should be fixed in v1.7.1
. See an example here.
Try upgrading in a-shell using pip install obsidian-pdf-gen==1.7.1
and give it a shot!
Thank you, I can confirm this works now.
I do have one other question: How could I remove the red rectangles around the TOC headings and the footnote (so basically everything that is linked)?
That's a good point. I added a fix for that in my next code version 1.7.2
. Will release that later today
Should be on pypi now with pip install obsidian-pdf-gen==1.7.2
Yes, I can confirm that the red rectangles are gone now. Thank you so much for your support and all the work you’ve put into this! :)
Wegen I execute the PDF generation from the share sheet on iOS (after having used the pickVault shortcut), it does not find the vault.
I set the vault again multiple times, but still no luck. It is located “on my iPhone” and not in iCloud.
iOS 16.4.1 (20E252), security response is installed