emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Klein <RoKlein@roklein.de>
To: Rasmus <rasmus@gmx.us>
Cc: emacs-orgmode@gnu.org
Subject: Re: HTML/images zipped?
Date: Tue, 30 Jun 2015 22:05:29 +0200	[thread overview]
Message-ID: <20150630220529.100799f7@zotac> (raw)
In-Reply-To: <877fqmydgw.fsf@gmx.us>

On Mon, 29 Jun 2015 13:13:19 +0200
Rasmus <rasmus@gmx.us> wrote:

Hi Rasmus,

> Hi Robert,
> 
> Robert Klein <roklein@roklein.de> writes:
> 
> > please find an experimental htmlzip exporter attached.
> 
> Cool!
> 
> I don't know if you indent to make this an extension to org or for
> this to be a quick hack to solve a particular issue.
> 

I thought about aiming for contrib, but if it turns out not to be too
invasive I'll probably ask for inclusion in ox-html.

> If the former: Shouldn't this rather be something that is configurable
> from via a keyword in ox-html or more logically via ox-publish (which
> can consist of several files)?  If so, you could store the list of
> files in the info communication channel rather than
> org-htmlzip--image-list.

Hmm, I think for individual files C-c C-e h a(rchive) and an option for
publishing (e.g. in org-publish-project-alist)


> The command used for compression should be configurable.
 Yes, per org-publish-project-alist and global at least, I think.
 Could be I'd need to `register' (e.g.
 org-export-archivers-alist) compressions commands in .emacs, so
 a #+OPTION doesn't get too complicated (I'd think something like
 `z:tgz' is acceptable, but e.g. `z:'("tar" "-jcvf") is not...

> 
> Also, if the point is to produce an offline version, you should also
> include scripts and css files.

Agreed.

I'll see how far I get in the next couple of days.

Thank you very much for your suggestions!

Best regards
Robert

  reply	other threads:[~2015-06-30 20:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-26 13:10 HTML/images zipped? Peter Davis
2015-06-26 13:15 ` Rasmus
2015-06-26 14:05   ` Peter Davis
2015-06-26 14:24   ` John Kitchin
2015-06-26 14:35     ` Peter Davis
2015-06-26 17:22     ` Peter Davis
2015-06-26 18:09       ` John Kitchin
2015-06-26 19:28         ` Peter Davis
2015-06-26 21:51     ` Nick Dokos
2015-06-26 23:34       ` John Kitchin
2015-06-27  4:52         ` Nick Dokos
2015-06-26 13:44 ` Phillip Lord
2015-06-26 14:08   ` Peter Davis
2015-06-26 14:30     ` John Kitchin
2015-06-29  8:47 ` Robert Klein
2015-06-29 11:13   ` Rasmus
2015-06-30 20:05     ` Robert Klein [this message]
2015-06-30  5:38 ` Vaidheeswaran C

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=20150630220529.100799f7@zotac \
    --to=roklein@roklein.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=rasmus@gmx.us \
    /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).