You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 20, 2022. It is now read-only.
Thanks for this nice tool. I was wondering if it is possible to use interleave in a lower level headlines as well?
Instead of launching M-x interleave at the Top level headline
Notes for CS103
:PROPERTIES:
:INTERLEAVE_PDF: cs103.pdf
:END:
I would like to do
**** Notes for CS103
:PROPERTIES:
:INTERLEAVE_PDF: cs103.pdf
:END:
I'm not very good at lisp programing but your code is very clear. I suspect that the issue is in the following function
(defun interleave--headline-pdf-path (buffer) "Return the INTERLEAVE_PDF property of the current headline in BUFFER." (with-current-buffer buffer (save-excursion (let ((headline (org-element-at-point))) (when (and (equal (org-element-type headline) 'headline) (org-entry-get nil interleave--pdf-prop)) (setq interleave-multi-pdf-notes-file t) (org-entry-get nil interleave--pdf-prop))))))
But I cannot figure out why it does not work in the sub headlines.
Best regards
The text was updated successfully, but these errors were encountered:
DJJ88
changed the title
Multi-pdf note but in subheadings
Multi-pdf notes but in any level headlines
Mar 22, 2017
DJJ88
changed the title
Multi-pdf notes but in any level headlines
Multi-pdf notes but in at any headline level
Mar 22, 2017
I'm glad you like the project and thank you for reporting this. It seems you found a bug. I'm currently a little short on time, so it will take a while until this is fixed.
If you'd like to dabble into Elisp programming more, feel free to hack on it yourself and send in a PR. I will happily merge it.
Hello,
Thanks for this nice tool. I was wondering if it is possible to use interleave in a lower level headlines as well?
Instead of launching M-x interleave at the Top level headline
:PROPERTIES:
:INTERLEAVE_PDF: cs103.pdf
:END:
I would like to do
**** Notes for CS103
:PROPERTIES:
:INTERLEAVE_PDF: cs103.pdf
:END:
I'm not very good at lisp programing but your code is very clear. I suspect that the issue is in the following function
(defun interleave--headline-pdf-path (buffer) "Return the INTERLEAVE_PDF property of the current headline in BUFFER." (with-current-buffer buffer (save-excursion (let ((headline (org-element-at-point))) (when (and (equal (org-element-type headline) 'headline) (org-entry-get nil interleave--pdf-prop)) (setq interleave-multi-pdf-notes-file t) (org-entry-get nil interleave--pdf-prop))))))
But I cannot figure out why it does not work in the sub headlines.
Best regards
The text was updated successfully, but these errors were encountered: