unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: phillip.lord@russet.org.uk (Phillip Lord)
To: <emacs-devel@gnu.org>
Subject: Re: htmlize/Hrvoje Niksic
Date: Fri, 15 Jan 2016 21:53:52 +0000	[thread overview]
Message-ID: <87oacmv79r.fsf@russet.org.uk> (raw)
In-Reply-To: <20160112121527.30703bf2@anarchist.wooz.org> (Barry Warsaw's message of "Tue, 12 Jan 2016 12:15:27 -0500")



 > Out of interest, was there a particular reson or feature which led you
 > to use htmlize rather than htmlfontify (which has been merged for a
 > while)?

 > [ I am curious as I wrote htmlfontify, which can already choose the colours
 >   emacs would use for a different display class, which sounds similar to
 >   what you are describing here ]


Good question.

So, first, I didn't know about htmlfontify (or rather I didn't know what
it did, even though I changed it recently!). I found out about it a
couple of days ago on Emacs wiki, and was thinking of seeing whether it
would serve.

The second reason is that org-mode uses htmlize, and it was for use
within org-mode that I am interested. I don't know why it does this, esp
given that htmlfontify is available.

A quick investigation of htmlfontify suggests that it is missing two
features. I need to be able to publish using inline fonts, and not CSS
-- I need to produce HTML snippets that I am embedding in a page that I
don't control. And, in term of org-mode, it uses htmlize-region, which
at first glance htmlfontify lacks an equivalent for.

The display class feature you describe would be useful: at the moment,
running Emacs in batch generates the terminal fonts in html. But I'd
also like to be able to say "this face is this colour, this face is
that, and every other face just ignore". This is for when I am
generating HTML to embed in a page I do not otherwise control, with a
white background (I use dark).

Phil



  parent reply	other threads:[~2016-01-15 21:53 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-10 17:26 htmlize/Hrvoje Niksic Phillip Lord
2016-01-11 16:28 ` Uwe Brauer
2016-01-12 17:15 ` Barry Warsaw
2016-01-14 17:11   ` Phillip Lord
2016-01-14 17:27     ` Vivek Dasmohapatra
2016-01-14 17:32       ` Patches for htmlfontify (was Re: htmlize/Hrvoje Niksic) Clément Pit--Claudel
2016-01-14 17:37         ` Vivek Dasmohapatra
2016-01-14 17:43           ` Vivek Dasmohapatra
2016-01-14 18:08             ` Clément Pit--Claudel
2016-01-14 18:29               ` Clément Pit--Claudel
2016-01-16  8:13       ` htmlize/Hrvoje Niksic Anders Lindgren
2016-01-17 16:12         ` Vivek Dasmohapatra
2016-01-19 14:51           ` Phillip Lord
2016-01-15 21:53   ` Phillip Lord [this message]
2016-01-15 22:41     ` Rasmus

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87oacmv79r.fsf@russet.org.uk \
    --to=phillip.lord@russet.org.uk \
    --cc=emacs-devel@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).