I am trying to set
nil for a single org-file (but have the value equal
t for all other org files). This is a variable defined in ox-html.
(defcustom org-html-link-org-files-as-html t "Non-nil means make file links to `file.org' point to `file.html'. When `org-mode' is exporting an `org-mode' file to HTML, links to non-html files are directly put into a href tag in HTML. However, links to other Org-mode files (recognized by the extension `.org.) should become links to the corresponding html file, assuming that the linked `org-mode' file will also be converted to HTML. When nil, the links still point to the plain `.org' file." :group 'org-export-html :type 'boolean)
I have tried setting
# -*- org-html-link-org-files-as-html:nil; -*-
at the top of the file. Neither work - only works when I set in emacs-lisp
(setq org-html-link-org-files-as-html nil)
but then this applies to all org files. Can I set it for a single org-file?