From: Gene <gene.sullivan@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Rendering buffer to HTML from command line script
Date: Wed, 24 Feb 2016 12:41:12 -0800 (PST) [thread overview]
Message-ID: <2ecd6da9-9b42-4ec4-b119-2d9762e68daa@googlegroups.com> (raw)
In-Reply-To: <mailman.5246.1456006059.843.help-gnu-emacs@gnu.org>
On Saturday, February 20, 2016 at 5:07:43 PM UTC-5, Stéphane Travostino wrote:
> If I modify the theme to disable these terminal requirements options,
> htmlfontify renders correctly.
>
> That's probably a long shot, but is it possible to either force a
> particular terminal configuration from command line, or force-enable all
> theme faces?
I found the following in the docs for a package named faces+
(eval-after-load "faces" '(require 'faces+))
> For example, (display-color-cells) in X returns 16777216, while I get 0
> when executed from the script; that's probably part of the problem.
>
> Why am I doing this: I want to create an Emacs theme browser web
> application which creates a preview of any theme against a few different
> file formats
> I want an headless Emacs to create the HTML preview.
You might want to consider invoking emacs-nox (EG emacs with No x-windows support) as you mentioned `headless' emacs.
To speed things up you might want to consider using the --quick option.
I know this might be more general than you'd like, but it's all that comes to mind at the moment.
Cheers!
Gene
next parent reply other threads:[~2016-02-24 20:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.5246.1456006059.843.help-gnu-emacs@gnu.org>
2016-02-24 20:41 ` Gene [this message]
2016-02-20 17:20 Rendering buffer to HTML from command line script Stéphane Travostino
2016-08-05 19:10 ` Thien-Thi Nguyen
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=2ecd6da9-9b42-4ec4-b119-2d9762e68daa@googlegroups.com \
--to=gene.sullivan@gmail.com \
--cc=help-gnu-emacs@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.
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).