obsidian-typst icon indicating copy to clipboard operation
obsidian-typst copied to clipboard

Cannot read files on iOS

Open Ce1este opened this issue 1 year ago • 11 comments

All features work fine on my computer(windows) and Android phone. When it comes to the iPad, everything works fine when using only the features of Typst itself, but I get error when I use the files in the Obsidian library or import typst packages.

filed to load file (access denied)
    ╭─[/07 DataBase/Obsidian插件使用方法/85 Typst Renderer.md:33:9]
    │
 33 │   image("/Resource_Library/408/磁盘.svg", width: 70%),
    │         ────────────────────────────────────  
    │                                                
    │ 
    │ Help: cannot read file outside of project root
you can adjust the project root with the --root argument
────╯
filed to load file (access denied)
   ╭─[/04 学习笔记/考研/数学/三角函数.md:6:9]
   │
 6 │ #import "@preview/cetz:0.1.2"
   │         ─────────────────────  
   │                                 
   │ 
   │ Help: cannot read file outside of project root
you can adjust the project root with the --root argument
───╯

I've noticed that this problem seems to have been fixed in #9, is there something wrong with the way I'm using it on iPad?

Ce1este avatar Nov 13 '23 07:11 Ce1este