Skip to content
This repository has been archived by the owner on Oct 18, 2021. It is now read-only.

support for exporting to the html project #10

Open
HumHongeKamyaab opened this issue Mar 12, 2021 · 7 comments
Open

support for exporting to the html project #10

HumHongeKamyaab opened this issue Mar 12, 2021 · 7 comments
Labels
bug Something isn't working

Comments

@HumHongeKamyaab
Copy link

HumHongeKamyaab commented Mar 12, 2021

I use org-publish-current-project to export my org-roam folder files into a html project.

After using nroam, I am not able to export my files.
I am getting Text is read-only message when I am trying to do it.

I use following config to do exporting by using .dir-locals.el

((nil . ((eval .
;; (require 'ox-publish)
(setq org-publish-project-alist
      '(
("org-notes"
 :base-directory "~/.org-roam/"
 :base-extension "org"
 :publishing-directory "~/.org-roam/public_html/"
 :recursive t
 :publishing-function org-html-publish-to-html
 :headline-levels 4             ; Just the default for this project.
 :auto-preamble t
 )
("org-static"
 :base-directory "~/.org-roam/"
 :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
 :publishing-directory "~/.org-roam/public_html/"
 :recursive t
 :publishing-function org-publish-attachment
 )
("org" :components ("org-notes" "org-static"))
      ))
))))
@HumHongeKamyaab HumHongeKamyaab changed the title support for exporting backlinks to html project support for exporting to the html project Mar 12, 2021
@NicolasPetton NicolasPetton added the bug Something isn't working label Mar 12, 2021
@HumHongeKamyaab
Copy link
Author

May be it will be better, if this simple export can export links to the backlinks also in the html files. This feature is missing in org-roam as they have seperate buffer for backlinks.

@NicolasPetton
Copy link
Owner

@HumHongeKamyaab can you try now that #12 has been merged?

The backlink sections won't be exported, but I hope that at least it will resolve your issue.
I'll see if it makes sense to make that configurable so that you can choose to include backlinks in your exports.

@HumHongeKamyaab
Copy link
Author

No, I am still getting "Text is read-only" message

NicolasPetton added a commit that referenced this issue Mar 13, 2021
* nroam.el (with-nroam-markers): Add an extra \n char in read-write so that text
can be inserted at the end of the buffer.
@NicolasPetton
Copy link
Owner

Commit 7ae549a should fix the bug, closing.

@HumHongeKamyaab
Copy link
Author

I still getting same error.

@NicolasPetton NicolasPetton reopened this Mar 14, 2021
@NicolasPetton
Copy link
Owner

Ok, reopening :)

@smeagol74
Copy link

I'm also think that ability to export backlinks to HTML with org-publish will be very great feature.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants