org-remark-link: Non absolute path option
Hi!
Could the org-remark-link be relative or use the home path? If I read in different computers, the links don't work, because the path is absolute, and it changes from one computer to another. Even more, for the same book a different main headline is created for each computer.
Thanks, I keep using it :-)
Are you talking about this? An excerpt from the user manual. See the “Relative file name” option.
Option: org-remark-source-file-name Function that returns the file name to point back at the source file. The function is called with a single argument: the absolute file name of source file. The ‘default-directory’ is temporarily set to the directory where the marginal notes file resides. This means that when the ‘Relative file name’ option is selected, the source file name recorded in the marginal notes file will be relative to it.
Hi
I have this setting: ... '(org-remark-source-file-name 'file-relative-name)
But the saved path is not relative (it doesn't use ~/...), but absolute.
I am using Windows 10.
... '(org-remark-source-file-name 'file-relative-name)
You may be making a syntactic mistake (not sure though). Can you try file-relative-name without the apostrophe? (So remove the ’ before file-relative-name).