From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Re: Error in emacs 26.1 when publishing to html Date: Mon, 11 Jun 2018 07:41:33 -0400 Message-ID: References: <84zi01g20d.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000149ff0056e5c3c17" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSLCo-0005A7-Lu for emacs-orgmode@gnu.org; Mon, 11 Jun 2018 07:41:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSLCn-0007IZ-LB for emacs-orgmode@gnu.org; Mon, 11 Jun 2018 07:41:50 -0400 Received: from mail-lf0-x235.google.com ([2a00:1450:4010:c07::235]:39798) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSLCn-0007Fg-BY for emacs-orgmode@gnu.org; Mon, 11 Jun 2018 07:41:49 -0400 Received: by mail-lf0-x235.google.com with SMTP id t134-v6so30047781lff.6 for ; Mon, 11 Jun 2018 04:41:48 -0700 (PDT) In-Reply-To: <84zi01g20d.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: pquessev@gmail.com Cc: emacs-orgmode@gnu.org --000000000000149ff0056e5c3c17 Content-Type: text/plain; charset="UTF-8" Hello Pascal. On Mon, Jun 11, 2018, 4:29 AM Pascal Quesseveur 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 --000000000000149ff0056e5c3c17 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Pascal.

On Mon, Ju= n 11, 2018, 4:29 AM Pascal Quesseveur <pquessev@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 defaul= t load-path (you will need to do that much customization in emacs -Q sessio= ns too).=C2=A0


,----
| 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 bloc= ks.=C2=A0
--

Kaushal Modi

--000000000000149ff0056e5c3c17--