emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: pquessev@gmail.com
Cc: emacs-orgmode@gnu.org
Subject: Re: Error in emacs 26.1 when publishing to html
Date: Mon, 11 Jun 2018 07:41:33 -0400	[thread overview]
Message-ID: <CAFyQvY1yaNK+=7+ojDpnM61ZBt8q4OhmRu8nPLXhz5s6ZHh3Rw@mail.gmail.com> (raw)
In-Reply-To: <84zi01g20d.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1053 bytes --]

Hello Pascal.

On Mon, Jun 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 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

[-- Attachment #2: Type: text/html, Size: 2053 bytes --]

  reply	other threads:[~2018-06-11 11:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-11  8:29 Error in emacs 26.1 when publishing to html Pascal Quesseveur
2018-06-11 11:41 ` Kaushal Modi [this message]
2018-06-12  8:32   ` Pascal Quesseveur

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFyQvY1yaNK+=7+ojDpnM61ZBt8q4OhmRu8nPLXhz5s6ZHh3Rw@mail.gmail.com' \
    --to=kaushal.modi@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=pquessev@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).