Re: [O] pdf images in html export

2014-11-13 Thread Andreas Leha
Hi John, Instructor account writes: > I think the best thing to do here is create a derived backend. Filters > could work to, but you will have to parse the img link, get the pdf > file, convert it and replace the path in the link. > > with a derived backend you can get that a little more directl

Re: [O] pdf images in html export

2014-11-13 Thread Instructor account
I think the best thing to do here is create a derived backend. Filters could work to, but you will have to parse the img link, get the pdf file, convert it and replace the path in the link. with a derived backend you can get that a little more directly like this. This code block works on a minima

Re: [O] pdf images in html export

2014-11-13 Thread Eric S Fraga
On Wednesday, 12 Nov 2014 at 21:32, Andreas Leha wrote: > Hi John, > > John Hendy writes: [...] >> If the names are always the same, could you just sed or replace-regexp >> all *.pdf for *.png? > > I could. And I would need to do the conversion manually as well. > > But I still want the pdfs to

Re: [O] pdf images in html export

2014-11-12 Thread John Hendy
On Wed, Nov 12, 2014 at 3:32 PM, Andreas Leha wrote: > Hi John, > > John Hendy writes: >> On Nov 12, 2014 7:36 AM, "Andreas Leha" >> wrote: >>> >>> Hi Rainer, >>> >>> Rainer M Krug writes: >>> > Andreas Leha writes: [snip] >>> Here, I am after a solution, that works on images that are not >>

Re: [O] pdf images in html export

2014-11-12 Thread Andreas Leha
Hi John, John Hendy writes: > On Nov 12, 2014 7:36 AM, "Andreas Leha" > wrote: >> >> Hi Rainer, >> >> Rainer M Krug writes: >> > Andreas Leha writes: >> > >> >> Hi Marco, >> >> >> >> Marco Wahl writes: >> >>> Andreas Leha writes: >> >>> >> how would I export an org file containing >> >>

Re: [O] pdf images in html export

2014-11-12 Thread John Hendy
On Nov 12, 2014 7:36 AM, "Andreas Leha" wrote: > > Hi Rainer, > > Rainer M Krug writes: > > Andreas Leha writes: > > > >> Hi Marco, > >> > >> Marco Wahl writes: > >>> Andreas Leha writes: > >>> > how would I export an org file containing > > [[file:./myimage.pdf]] > > >>>

Re: [O] pdf images in html export

2014-11-12 Thread Andreas Leha
Hi Chuck, "Charles C. Berry" writes: > On Wed, 12 Nov 2014, Andreas Leha wrote: > >> Hi Rainer, >> >> Rainer M Krug writes: >>> Andreas Leha writes: >>> Hi Marco, Marco Wahl writes: > Andreas Leha writes: > >> how would I export an org file containing >> >>

Re: [O] pdf images in html export

2014-11-12 Thread Charles C. Berry
On Wed, 12 Nov 2014, Andreas Leha wrote: Hi Rainer, Rainer M Krug writes: Andreas Leha writes: Hi Marco, Marco Wahl writes: Andreas Leha writes: how would I export an org file containing [[file:./myimage.pdf]] to html so that a say png version myimage.pdf is inlined in the html w

Re: [O] pdf images in html export

2014-11-12 Thread Rainer M Krug
Andreas Leha writes: > Hi Rainer, > > Rainer M Krug writes: >> Andreas Leha writes: >> >>> Hi Marco, >>> >>> Marco Wahl writes: Andreas Leha writes: > how would I export an org file containing > > [[file:./myimage.pdf]] > > to html so that a say png version myi

Re: [O] pdf images in html export

2014-11-12 Thread Andreas Leha
Hi Rainer, Rainer M Krug writes: > Andreas Leha writes: > >> Hi Marco, >> >> Marco Wahl writes: >>> Andreas Leha writes: >>> how would I export an org file containing [[file:./myimage.pdf]] to html so that a say png version myimage.pdf is inlined in the html whi

Re: [O] pdf images in html export

2014-11-12 Thread Rainer M Krug
Andreas Leha writes: > Hi Marco, > > Marco Wahl writes: >> Andreas Leha writes: >> >>> how would I export an org file containing >>> >>> [[file:./myimage.pdf]] >>> >>> to html so that a say png version myimage.pdf is inlined in the html >>> which links to the pdf? >>> >>> I guess it should be

Re: [O] pdf images in html export

2014-11-12 Thread Andreas Leha
Hi Marco, Marco Wahl writes: > Andreas Leha writes: > >> how would I export an org file containing >> >> [[file:./myimage.pdf]] >> >> to html so that a say png version myimage.pdf is inlined in the html >> which links to the pdf? >> >> I guess it should be possible to run imagemagick on all pd

Re: [O] pdf images in html export

2014-11-12 Thread Marco Wahl
Andreas Leha writes: > how would I export an org file containing > > [[file:./myimage.pdf]] > > to html so that a say png version myimage.pdf is inlined in the html > which links to the pdf? > > I guess it should be possible to run imagemagick on all pdf links during > export somehow. You

[O] pdf images in html export

2014-11-11 Thread Andreas Leha
Hi all, how would I export an org file containing [[file:./myimage.pdf]] to html so that a say png version myimage.pdf is inlined in the html which links to the pdf? I guess it should be possible to run imagemagick on all pdf links during export somehow. Any help highly appreciated. Many th