Re: [O] How to obtain the list of files included in HTML export?

2015-03-07 Thread Marcin Borkowski

On 2015-02-13, at 00:48, John Kitchin  wrote:

> In https://github.com/jkitchin/jmax/blob/master/ox-archive.el
>
> you can see how I have done something like this for emailing and
> creating zip files. It might give you some hints that help your case.

Thanks a lot!  (And sorry for the delay, I had a break with that
project.)

The main problem seems to be that I'm not sure whether what I think is
exhaustive.  Do I get it correctly that if I want to make a standalone
archive from an (exported to html) org file, I need to include:

- css (and related stuff),
- inlined images (your code seems to cover this),
- and most importantly, dvipng/imagemagick-generated bitmaps of
  equations (if not using MathJax).

Did I forget about something?  If not, things seem straightforward:
I just have to deal with two kinds of things (css is "constant").

If yes, what did I miss?

Best,
Marcin


>
> Marcin Borkowski writes:
>
>> Hi there again,
>>
>> the subject pretty much says it all.  Apart from the HTML file itself
>> there might be inlined images and bitmaps of equations.  Since I'd like
>> to make my customized exporter create a self-contained zip file, I need
>> the list of all files comprising the generated web page.
>>
>> Best,


-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



Re: [O] How to obtain the list of files included in HTML export?

2015-02-13 Thread Sebastien Vauban
Marcin Borkowski wrote:
> the subject pretty much says it all.  Apart from the HTML file itself
> there might be inlined images and bitmaps of equations.  Since I'd
> like to make my customized exporter create a self-contained zip file,
> I need the list of all files comprising the generated web page.

Don't forget about CSS (and what about if CSS is on some remote server:
do you take a copy of it?) and, worse of all, external elements of CSS
(such as:  bullets replaced by a GIF file)...

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] How to obtain the list of files included in HTML export?

2015-02-12 Thread John Kitchin
In https://github.com/jkitchin/jmax/blob/master/ox-archive.el

you can see how I have done something like this for emailing and
creating zip files. It might give you some hints that help your case.

Marcin Borkowski writes:

> Hi there again,
>
> the subject pretty much says it all.  Apart from the HTML file itself
> there might be inlined images and bitmaps of equations.  Since I'd like
> to make my customized exporter create a self-contained zip file, I need
> the list of all files comprising the generated web page.
>
> Best,

--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



[O] How to obtain the list of files included in HTML export?

2015-02-12 Thread Marcin Borkowski
Hi there again,

the subject pretty much says it all.  Apart from the HTML file itself
there might be inlined images and bitmaps of equations.  Since I'd like
to make my customized exporter create a self-contained zip file, I need
the list of all files comprising the generated web page.

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University