emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ox-publish: no HTML output but no errors


From: c.buhtz
Subject: Re: ox-publish: no HTML output but no errors
Date: Sun, 6 Mar 2022 09:05:01 +0000

Dear Max,

thank you for the hint.

On 2022-02-25 23:02 Max Nikulin <manikulin@gmail.com> wrote:
> Some users may consider a broken link as a fatal error. If you need 
> different behavior, you can get it. See info "(org) Export Settings" 
> https://orgmode.org/manual/Export-Settings.html for "broken-links".

From the manual it is not clear for me how to set that option.
In-buffer is not an option for me. I tried to set it like this

(require 'ox-publish)
(setq org-publish-project-alist
      '(
       ("org-notes"
       :base-directory "~/tab-cloud/my.org-roam/"
       :base-extension "org"
       :publishing-directory "~/tab-cloud/_transfer/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 "~/tab-cloud/my.org-roam/"
       :base-extension
"css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
:publishing-directory "~/tab-cloud/_transfer/html" :recursive t
       :publishing-function org-publish-attachment
      )
      ("org" :components ("org-notes" "org-static")
       :broken-links "mark"
       )
      )
)

But this has no effect.
I also tried to "(setq org-export-with_broken-links t)". But the
message keeps the same.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]