rab-ol-info is an opinionated micropackage to extend the behavior of Org links to info nodes. Dependencies # GPL-3.0-only (require 'ol-info) (declare-function Info-find-node "info" (filename nodename &optional no-going-back strict-case)) (defvar Info-current-node) Page per node # Org is capable of exporting info: links via org-info-export, but it always goes to the full manual. Most info manuals publish a page-per-node format in addition to the single file. GPL-3.0-only (defun rab-org/info-map-html-url (filename) "Return URL or HTML file associated to page-per-node Info FILENAME. Like `org-info-map-html-url', but returns the URL of the manual with one page per node." (cond ((member filename org-info-emacs-documents) (format "https://www.gnu.org/software/emacs/manual/html_node/%s/" filename)) ((equal "libc" filename) "https://sourceware.org/glibc/manual/latest/html_node/") ((equal "make" filename) "https://www.gnu.org/software/make/manual/html_node/") (t (concat filename "/"))))…
No comments yet. Log in to reply on the Fediverse. Comments will appear here.