emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Error in emacs 26.1 when publishing to html


From: Kaushal Modi
Subject: Re: [O] Error in emacs 26.1 when publishing to html
Date: Mon, 11 Jun 2018 07:41:33 -0400

Hello Pascal.

On Mon, Jun 11, 2018, 4:29 AM Pascal Quesseveur <address@hidden> 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

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