Change behaviour with pdf files.

169 views
Skip to first unread message

Gursimran

unread,
Apr 16, 2020, 7:16:21 PM4/16/20
to TiddlyWiki
Hi,

I have three questions

1. When I drag/ drop a pdf file into a tiddler, it embeds it into the HTML file. Is there a way to change it and have it store it in a directory and link to it, instead?
2. When I click the link to the pdf file, it opens a tiddler containing the pdf (like in a browser). Can I have it open with the default system program so that I can annotate it and my annotations hold?
3. Is there a Monokai theme available? Or a similar dark theme.

Thanks.

TonyM

unread,
Apr 16, 2020, 10:47:28 PM4/16/20
to TiddlyWiki
Gursimran


1. When I drag/ drop a pdf file into a tiddler, it embeds it into the HTML file. Is there a way to change it and have it store it in a directory and link to it, instead?
  • Yes, if you can place it anywhere for which you can access with a link, and place the link in tiddlywiki - then you have done it
  • You need something like tiddlydesktop if you want full access to the local computer files and folders (browsers are too secure now days, although there are workarounds)
2. When I click the link to the pdf file, it opens a tiddler containing the pdf (like in a browser). Can I have it open with the default system program so that I can annotate it and my annotations hold?
  • Yes, but this can depend on browser or desktop and if you annotations software has the rights. I use foxit reader, and I must run the local desktop application to annotate. The file on disk changes, so if you have a link to it it should open the "latest copy"
 
3. Is there a Monokai theme available? Or a similar dark theme.
  • I do not no Monikai
  • The newer release has a new dark Palette rather than theme for tiddlywiki
    Control Panel > Apperence > Palette - try each and you will find the dark ones.
Regards
Tony

Gursimran

unread,
Apr 17, 2020, 4:05:46 PM4/17/20
to tiddl...@googlegroups.com


On Thursday, 16 April 2020 19:47:28 UTC-7, TonyM wrote:
Gursimran


1. When I drag/ drop a pdf file into a tiddler, it embeds it into the HTML file. Is there a way to change it and have it store it in a directory and link to it, instead?
  • Yes, if you can place it anywhere for which you can access with a link, and place the link in tiddlywiki - then you have done it
  • You need something like tiddlydesktop if you want full access to the local computer files and folders (browsers are too secure now days, although there are workarounds)
How to make it work when working with node or tiddlyserver?
I'm running WikiFolder and when I put a relative or absolute link, it does not open it.
This is how I'm doing it [ext[[Open file|file:///c:/users/g00556111/mynewwiki/VAE.pdf]]]

However, the same thing works in tiddlydesktop (when opened as WikiFolder) and also when I open it as a single file in chrome (WikiFile).
Is there any documentation regarding this?

 
I have seen that 
 
2. When I click the link to the pdf file, it opens a tiddler containing the pdf (like in a browser). Can I have it open with the default system program so that I can annotate it and my annotations hold?
  • Yes, but this can depend on browser or desktop and if you annotations software has the rights. I use foxit reader, and I must run the local desktop application to annotate. The file on disk changes, so if you have a link to it it should open the "latest copy"
How to make it open with the default system program? 
Even when I use tiddlydesktop, it still opens it in the chrome extension?
Do I have to change my browser settings to happen for all pdfs?

Alternatively, can I use node server mode to do this? I think technically the server can open the file in the system.

Gursimran

unread,
Apr 17, 2020, 5:20:12 PM4/17/20
to tiddl...@googlegroups.com
I found that I can't open external resources in chrome when using tiddlyserver or node.js.
However, I can open it in Microsoft edge.

Error in chrome: Not allowed to load local resource: file:///C:/users/g00556111/mynewwiki/VAE.pdf

Reply all
Reply to author
Forward
0 new messages