fniessen / org-html-themes

Transform your Org mode files into stunning HTML documents in minutes with our Org mode HTML theme. Elevate your productivity and impress your readers! #orgmode #html #theme #productivity #design

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I can't use the local setup file, though I can use the remote one.

karrot42 opened this issue · comments

I'm sorry if this problem is kind of something really dumb on my part but, I just can't figure out any way to get it to work from a locally cloned file.

so

#+SETUPFILE: https://fniessen.github.io/org-html-themes/setup/theme-readtheorg.setup

works flawlessly but when I put

`#+SETUPFILE: /Users/karrot/org/org-html-themes/setup/theme-readtheorg-local.setup'

does not work and

#+SETUPFILE: /Users/karrot/org/org-html-themes/setup/readtheorg-local.setup

doesn't work either. I actually tried several variations, but none of them work.

That paths are copy and pasted, I've tried a lot fo stuff and I directly cloned it, and I just can't figure out what is going on. Any help would be much appreciated.

what do you mean with "does not work"? Do the export fail? Do you load it in the browser and you cannot see the template?

what do you mean with "does not work"? Do the export fail? Do you load it in the browser and you cannot see the template?

Sorry, it exports but uses the default(?) template.

you need to copy (or symlink) the "style" folder in the directory of the html file. you can see some error (if it's missing) in firefox console (f12)

@nico202 Thanks for helping, mate!

you need to copy (or symlink) the "style" folder in the directory of the html file. you can see some error (if it's missing) in firefox console (f12)

Just wanted to say this worked, but I am a bit curious as to why if I use the remote file, or even download the remote file and then point at that for exporting the exported file is a lone .html file that can be moved anywhere and works without having to be in the same directory as the style directory.

commented

I have created another issue that addresses this problem. Indeed, this is a little one that can be fixed easily, but I believe the instruction should be clarified.

Dear @jcguu95 , would you give it a try? TIA!

you need to copy (or symlink) the "style" folder in the directory of the html file. you can see some error (if it's missing) in firefox console (f12)

How do I create a symlink of the "style" folder? I don't know what "style" folder is.
I tried ln -s ~/Dropbox/Org ~/Coding/github/org-html-themes
and ln -s ~/Dropbox/Org ~/Coding/github/org-html-themes/org but it didn't work.
Thanks!

Nearly a month ago in 385e8a4 the styles folder was renamed to src.