Hi,
I cannot get your plugin correctly installed/configured. I get these messages when I try to do so:
Console:
SYSTEM INFO:
Obsidian version: v1.9.14
Installer version: v1.9.14
Operating system: Windows 11 Pro 10.0.26100
Login status: not logged in
Language: de
Insider build toggle: off
Live preview: off
Base theme: light
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 3
Plugins enabled: 3
1: BRAT v1.3.0
2: Better Export PDF v1.11.0
3: Typst PDF Export v1.3.0
RECOMMENDATIONS:
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.
I tried to create the folders manually, no success.
Some of the problems dissappeared when I manually downloaded the files:
--
The remaing problem according to the console:
Obsidian Developer Console
plugin:obsidian42-brat:43 loading BRAT
plugin:typst-pdf-export:77 Export error: Error: ENOENT: no such file or directory, mkdir 'C:\Syncthing\drucken\C:\Syncthing\drucken.obsidian\plugins\typst-pdf-export\temp-pandoc'
at async Object.mkdir (node:internal/original-fs/promises:860:10)
There is a problem with doubling the path: C:\Syncthing\drucken\C:\Syncthing\drucken\.
Hi,
I cannot get your plugin correctly installed/configured. I get these messages when I try to do so:
<img width="337" height="120" alt="Image" src="https://github.com/user-attachments/assets/b165fee6-3bc1-4ea3-91df-155defb5128b" />
<img width="329" height="818" alt="Image" src="https://github.com/user-attachments/assets/4d5c5c3f-a30b-4485-9d39-0188b7e540e0" />
Console:
<img width="1363" height="855" alt="Image" src="https://github.com/user-attachments/assets/036a7a8d-a475-406a-a5d5-354c1e5dd99f" />
SYSTEM INFO:
Obsidian version: v1.9.14
Installer version: v1.9.14
Operating system: Windows 11 Pro 10.0.26100
Login status: not logged in
Language: de
Insider build toggle: off
Live preview: off
Base theme: light
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 3
Plugins enabled: 3
1: BRAT v1.3.0
2: Better Export PDF v1.11.0
3: Typst PDF Export v1.3.0
RECOMMENDATIONS:
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.
I tried to create the folders manually, no success.
<img width="753" height="315" alt="Image" src="https://github.com/user-attachments/assets/14dcd989-c6a0-4d54-835a-6711ae5259f3" />
---
Some of the problems dissappeared when I manually downloaded the files:
<img width="809" height="314" alt="Image" src="https://github.com/user-attachments/assets/d0a7703c-08d5-4643-83d9-6288aa6c028d" />
--
The remaing problem according to the console:
Obsidian Developer Console
plugin:obsidian42-brat:43 loading BRAT
plugin:typst-pdf-export:77 Export error: Error: ENOENT: no such file or directory, mkdir 'C:\Syncthing\drucken\C:\Syncthing\drucken\.obsidian\plugins\typst-pdf-export\temp-pandoc'
at async Object.mkdir (node:internal/original-fs/promises:860:10)
There is a problem with doubling the path: `C:\Syncthing\drucken\C:\Syncthing\drucken\`.
I’ve been looking into the ENOENT error during export and it seems related to how temp paths are built on Windows.
The problem occurs when the code combines a vault path prefix with an already absolute path, resulting in something like: C:\MyVault\C:\MyVault\.obsidian\plugin-path\temp-pandoc
This happens because path.join(baseDir, candidate) is used without checking if candidate is absolute. On Windows, path.join doesn’t override the drive letter, so the final path becomes invalid.
PathUtils.ts
Add a check with path.isAbsolute() before joining. If the candidate is absolute, use it as-is.
TempDirectoryManager.ts
It might be safer to use os.tmpdir() for temp folders instead of vault-based paths, and ensure directories are created with { recursive: true } to avoid ENOENT.
I’ve been looking into the ENOENT error during export and it seems related to how temp paths are built on Windows.
The problem occurs when the code combines a vault path prefix with an already absolute path, resulting in something like:
`C:\MyVault\C:\MyVault\.obsidian\plugin-path\temp-pandoc`
This happens because `path.join(baseDir, candidate)` is used without checking if candidate is absolute. On Windows, `path.join` doesn’t override the drive letter, so the final path becomes invalid.
@AlexKucera, areas you should review:
**PathUtils.ts**
Add a check with `path.isAbsolute()` before joining. If the candidate is absolute, use it as-is.
**TempDirectoryManager.ts**
It might be safer to use `os.tmpdir()` for temp folders instead of vault-based paths, and ensure directories are created with `{ recursive: true }` to avoid ENOENT.
A minimal fix could look something like this:
```
const resolved = path.isAbsolute(candidate)
? candidate
: path.join(baseDir, candidate);
const normalized = path.normalize(resolved);
```
@merlinuwe sorry for the late reply. I didn't get any notifications for this issue. I have looked into it and fixed a couple of bugs. A new release is imminent.
@merlinuwe sorry for the late reply. I didn't get any notifications for this issue. I have looked into it and fixed a couple of bugs. A new release is imminent.
@dflis thanks for pointing these out. I only have a Mac to test with so the Windows issues slipped through the cracks. Fixes and a new release is coming.
@dflis thanks for pointing these out. I only have a Mac to test with so the Windows issues slipped through the cracks. Fixes and a new release is coming.
Thank you very much, but I get this error with 1.3.1:
(BTW: BRAT doesn't download the .typ templates.)
Thank you very much, but I get this error with 1.3.1:
<img width="1149" height="243" alt="Image" src="https://github.com/user-attachments/assets/2588ab6e-9641-4b86-82ab-53902f9f7655" />
(BTW: BRAT doesn't download the .typ templates.)
@merlinuwe the .typ templates are packaged inside the main.js and should be unpacked automatically.
The error indicates that you are using an older Typst version. That flag got introduced in Typst 0.5.0 (https://typst.app/docs/changelog/0.5.0/).
The current version is Version 0.14.0
Version 1.4.0 now also includes a version check for the external tools. Thanks for pointing this out.
Version [1.4.0](https://github.com/AlexKucera/obsidian-typst-pdf-export/releases/tag/1.4.0) now also includes a version check for the external tools. Thanks for pointing this out.
But an error occurres, when I choose "Export to pdf" from the context menu:
I tried to make a pdf from "Praesentation als Webseite.md". This is my folder structure:
BTW: Typing "typst" or "export" gives me these selections:
In your documentation I read:
"Click the Typst Export ribbon icon or use Ctrl/Cmd + P → "Export to Typst PDF""
It would be useful to have the word "Typst" and "PDF" in every command, so one can see at one search, which commands are available. Suggestion: Start every command with "Typst PDF Export:"
Alle Abhängigkeiten wurden gefunden und sind aktuell!
Typst PDF Export: Prüfe Abhängigkeiten zu Typst, Pandoc und Imagemagick
Ups... now its updated:
<img width="302" height="147" alt="Image" src="https://github.com/user-attachments/assets/5c360bd9-99c2-402f-8238-af1fcd88c59f" />
But an error occurres, when I choose "Export to pdf" from the context menu:
<img width="325" height="148" alt="Image" src="https://github.com/user-attachments/assets/1e4eb791-08e5-4048-a08d-f9d89ae2558e" />
I tried to make a pdf from "Praesentation als Webseite.md". This is my folder structure:
<img width="495" height="639" alt="Image" src="https://github.com/user-attachments/assets/d8d82266-c9a8-41d8-906f-60846c0ec1e1" />
---
BTW: Typing "typst" or "export" gives me these selections:
<img width="848" height="268" alt="Image" src="https://github.com/user-attachments/assets/8ef6951b-3412-44fd-a712-4fafc9e75177" />
<img width="847" height="255" alt="Image" src="https://github.com/user-attachments/assets/338d15ef-2636-4828-9f7d-c03bd617ef84" />
In your documentation I read:
"Click the Typst Export ribbon icon or use Ctrl/Cmd + P → "Export to Typst PDF""
It would be useful to have the word "Typst" and "PDF" in every command, so one can see at one search, which commands are available. Suggestion: Start every command with "Typst PDF Export:"
---
<img width="299" height="167" alt="Image" src="https://github.com/user-attachments/assets/3e818716-fb54-4f7a-a7e3-dafa18f95f30" />
Alle Abhängigkeiten wurden gefunden und sind aktuell!
Typst PDF Export: Prüfe Abhängigkeiten zu Typst, Pandoc und Imagemagick
Are you referring to "Export to PDF"? That is the system command and none of mine.
I use three commands and they all have the plugin name in front of them. It is something Obsidian does automatically.
Are you referring to "Export to PDF"? That is the system command and none of mine.
I use three commands and they all have the plugin name in front of them. It is something Obsidian does automatically.
<img width="712" height="250" alt="Image" src="https://github.com/user-attachments/assets/86e6cc72-cdda-4b04-8d69-11ab4e102cd6" />
Try release 1.41.. It should fix those path issues.
I hope for good. It is really frustrating to not have a Windows machine to test on. Thanks for helping me out @merlinuwe
Try release [1.41.](https://github.com/AlexKucera/obsidian-typst-pdf-export/releases/tag/1.4.1). It should fix those path issues.
I hope for good. It is really frustrating to not have a Windows machine to test on. Thanks for helping me out @merlinuwe
Try release 1.41.. It should fix those path issues.
I hope for good. It is really frustrating to not have a Windows machine to test on. Thanks for helping me out @merlinuwe
Thanks a lot, 1.4.1 works fine for me.
I have issues with exports which include Obsidian bases objects and Code Sytler formatted code blocks but Windows path issue is solved with this release.
> Try release [1.41.](https://github.com/AlexKucera/obsidian-typst-pdf-export/releases/tag/1.4.1). It should fix those path issues.
>
> I hope for good. It is really frustrating to not have a Windows machine to test on. Thanks for helping me out [@merlinuwe](https://github.com/merlinuwe)
Thanks a lot, 1.4.1 works fine for me.
I have issues with exports which include [Obsidian bases](https://help.obsidian.md/bases) objects and [Code Sytler](https://github.com/mayurankv/Obsidian-Code-Styler) formatted code blocks but Windows path issue is solved with this release.
@dflis im glad to hear it works now. Yes, Bases are not supported yet. Since this plugin basically works of the Markdown in a note id have to write my own bases parser or figure out another way to pull the data from Obsidian.
Same with the other plugin. Anything that adds its own styling or syntax would need to be treated separately.
But you make a good point. I should update the readme to explain that.
@dflis im glad to hear it works now. Yes, Bases are not supported yet. Since this plugin basically works of the Markdown in a note id have to write my own bases parser or figure out another way to pull the data from Obsidian.
Same with the other plugin. Anything that adds its own styling or syntax would need to be treated separately.
But you make a good point. I should update the readme to explain that.
I confirm, I can export now on Windows 11 Professional (with all Typst templates). Thank you very much for your effort!
(Tested with Windows 11 Professional, Typst PDF Export 1.4.1 and Obsidian v1.9.14)
I confirm, I can export now on Windows 11 Professional (with all Typst templates). Thank you very much for your effort!
(Tested with Windows 11 Professional, Typst PDF Export 1.4.1 and Obsidian v1.9.14)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hi,
I cannot get your plugin correctly installed/configured. I get these messages when I try to do so:
Console:
SYSTEM INFO:
Obsidian version: v1.9.14
Installer version: v1.9.14
Operating system: Windows 11 Pro 10.0.26100
Login status: not logged in
Language: de
Insider build toggle: off
Live preview: off
Base theme: light
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 3
Plugins enabled: 3
1: BRAT v1.3.0
2: Better Export PDF v1.11.0
3: Typst PDF Export v1.3.0
RECOMMENDATIONS:
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.
I tried to create the folders manually, no success.
Some of the problems dissappeared when I manually downloaded the files:
--
The remaing problem according to the console:
Obsidian Developer Console
plugin:obsidian42-brat:43 loading BRAT
plugin:typst-pdf-export:77 Export error: Error: ENOENT: no such file or directory, mkdir 'C:\Syncthing\drucken\C:\Syncthing\drucken.obsidian\plugins\typst-pdf-export\temp-pandoc'
at async Object.mkdir (node:internal/original-fs/promises:860:10)
There is a problem with doubling the path:
C:\Syncthing\drucken\C:\Syncthing\drucken\.same here
I’ve been looking into the ENOENT error during export and it seems related to how temp paths are built on Windows.
The problem occurs when the code combines a vault path prefix with an already absolute path, resulting in something like:
C:\MyVault\C:\MyVault\.obsidian\plugin-path\temp-pandocThis happens because
path.join(baseDir, candidate)is used without checking if candidate is absolute. On Windows,path.joindoesn’t override the drive letter, so the final path becomes invalid.@AlexKucera, areas you should review:
PathUtils.ts
Add a check with
path.isAbsolute()before joining. If the candidate is absolute, use it as-is.TempDirectoryManager.ts
It might be safer to use
os.tmpdir()for temp folders instead of vault-based paths, and ensure directories are created with{ recursive: true }to avoid ENOENT.A minimal fix could look something like this:
@merlinuwe sorry for the late reply. I didn't get any notifications for this issue. I have looked into it and fixed a couple of bugs. A new release is imminent.
@dflis thanks for pointing these out. I only have a Mac to test with so the Windows issues slipped through the cracks. Fixes and a new release is coming.
@merlinuwe @dflis @rabbitfr I have created a new release (1.3.1) that should fix these issues. Please give it another try.
Thank you very much, but I get this error with 1.3.1:
(BTW: BRAT doesn't download the .typ templates.)
@merlinuwe the .typ templates are packaged inside the main.js and should be unpacked automatically.
The error indicates that you are using an older Typst version. That flag got introduced in Typst 0.5.0 (https://typst.app/docs/changelog/0.5.0/).
The current version is Version 0.14.0
Version 1.4.0 now also includes a version check for the external tools. Thanks for pointing this out.
Ups... now its updated:
But an error occurres, when I choose "Export to pdf" from the context menu:
I tried to make a pdf from "Praesentation als Webseite.md". This is my folder structure:
BTW: Typing "typst" or "export" gives me these selections:
In your documentation I read:
"Click the Typst Export ribbon icon or use Ctrl/Cmd + P → "Export to Typst PDF""
It would be useful to have the word "Typst" and "PDF" in every command, so one can see at one search, which commands are available. Suggestion: Start every command with "Typst PDF Export:"
Alle Abhängigkeiten wurden gefunden und sind aktuell!
Typst PDF Export: Prüfe Abhängigkeiten zu Typst, Pandoc und Imagemagick
Are you referring to "Export to PDF"? That is the system command and none of mine.
I use three commands and they all have the plugin name in front of them. It is something Obsidian does automatically.

Try release 1.41.. It should fix those path issues.
I hope for good. It is really frustrating to not have a Windows machine to test on. Thanks for helping me out @merlinuwe
Thanks a lot, 1.4.1 works fine for me.
I have issues with exports which include Obsidian bases objects and Code Sytler formatted code blocks but Windows path issue is solved with this release.
@dflis im glad to hear it works now. Yes, Bases are not supported yet. Since this plugin basically works of the Markdown in a note id have to write my own bases parser or figure out another way to pull the data from Obsidian.
Same with the other plugin. Anything that adds its own styling or syntax would need to be treated separately.
But you make a good point. I should update the readme to explain that.
I confirm, I can export now on Windows 11 Professional (with all Typst templates). Thank you very much for your effort!
(Tested with Windows 11 Professional, Typst PDF Export 1.4.1 and Obsidian v1.9.14)
@merlinuwe brilliant!! Thank you so much for your efforts in helping me fix this.