Hello Pascal.

On Mon, Jun 11, 2018, 4:29 AM Pascal Quesseveur <pques...@gmail.com> wrote:

> Hello,
>
> I would like to report the following problem.
>
> I use emacs 26.1, with org-mode version 9.1.9 on Windows.
>
> Using emacs with no customization (-Q option) I get an error when
> publishing an Org file to html. Org asks for htmlize.
>

htmlize.el is required for ox-html exports, especially if you export src
blocks. You need to have htmlize installed in the default load-path (you
will need to do that much customization in emacs -Q sessions too).


> ,----
> | org-babel-exp process emacs-lisp at position 10935...
> | org-babel-exp process nil at position 11208...
> | org-babel-exp process emacs-lisp at position 11275...
> | org-html-fontify-code: Please install htmlize from
> https://github.com/hniksic/emacs-htmlize
> `----
>



With htmlize loaded, there is no problem.
>

Correct. That is intended. You need htmlize installed if you have export
elements that need fontification/syntax highlighting, like code blocks.

> --

Kaushal Modi

Reply via email to