From: c.buhtz@posteo.jp
To: emacs-orgmode@gnu.org
Subject: ox-publish: no HTML output but no errors
Date: Fri, 25 Feb 2022 14:14:31 +0000 [thread overview]
Message-ID: <1d241dcc396dfd7e50b15d6be3079ef2@posteo.de> (raw)
Hello,
I tried to use ox-publish to create HTML files out of my org files
(created via org-roam v2) using the Tutorial
https://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html .
The output directory is empty but I also do not have a valuable error
output. On that point I did not know where to go.
I evaluatet the code (below) via C-x C-e and then did M-x
org-publish-project RET org RET.
The message buffers looks like this
20 (("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 ...) ("org-static" :base-directory
"~/tab-cloud/my.org-roam/" :base-extension
"css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
:publishing-directory "~/tab-cloud/_transfe\
r/html" :recursive t :publishing-function org-publish-attachment)
("org" :components ("org-notes" "org-static")))
21 Loading /home/user/.org-timestamps/org-notes.cache...done
22 Publishing file
/home/user/tab-cloud/my.org-roam/20211109001227-programming_languages.org
using ‘org-html-publish-to-html’
23 48 files scanned, 45 files contains IDs, and 47 IDs found.
24 45 files scanned, 45 files contains IDs, and 47 IDs found. [6 times]
25 user-error: Unable to resolve link:
"c6693020-d065-4d4f-8be8-650c66eee3e6"
37 Publishing file
/home/user/tab-cloud/my.org-roam/20211109001227-programming_languages.org
using ‘org-html-publish-to-html’
38 45 files scanned, 45 files contains IDs, and 47 IDs found. [7 times]
39 user-error: Unable to resolve link:
"c6693020-d065-4d4f-8be8-650c66eee3e6"
This is the piece of code (in scratch buffer) IMHO very near to the
tutorials example
;https://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html
(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"))
)
)
I have round about 50 org files in my archive. There is one error about
a dead link. But this should be no problem. Dead links are OK for me and
also a "valid content" in the context of a Zettelkasten. A dead link is
not a reason to stop the whole process.
The "html" folder is absolute empty. Nothing in there.
How can I go on with diagnosis?
next reply other threads:[~2022-02-25 14:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-25 14:14 c.buhtz [this message]
2022-02-25 16:02 ` ox-publish: no HTML output but no errors Max Nikulin
2022-03-06 9:05 ` c.buhtz
2022-03-07 14:59 ` Max Nikulin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1d241dcc396dfd7e50b15d6be3079ef2@posteo.de \
--to=c.buhtz@posteo.jp \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.