[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] pdf images in html export
From: |
John Hendy |
Subject: |
Re: [O] pdf images in html export |
Date: |
Wed, 12 Nov 2014 16:59:34 -0600 |
On Wed, Nov 12, 2014 at 3:32 PM, Andreas Leha
<address@hidden> wrote:
> Hi John,
>
> John Hendy <address@hidden> writes:
>> On Nov 12, 2014 7:36 AM, "Andreas Leha"
>> <address@hidden> wrote:
>>>
>>> Hi Rainer,
>>>
>>> Rainer M Krug <address@hidden> writes:
>>> > Andreas Leha <address@hidden> writes:
[snip]
>>> Here, I am after a solution, that works on images that are not
>> produced
>>> but merely included via [[file:./some.pdf]].
>>>
>>
>> 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.
Agreed, and sounds like you're already considering ImageMagick for
this. I've used it similarly with more or less good results. I always
have to look up the right options, play with one file a bunch to get a
nice blend of size/quality, and also have learned to use whatever
option (either convert or mogrify) saves a *new* version, as I didn't
get at first that one of those edits the file in-place!
> But I still want the pdfs to go into the LaTeX export.
>
>> Not elegant, but works easily/now, and takes less time than this
>> thread :)
>
> Hint taken. Such feature is apparently not too important for most.
>
Yeah, that was mostly tongue in cheek... I'd be doing the exact same
thing (looking for a better way to automate/process, even though
technically it's simply changing the the contents of
\includegraphics{something} or <img src = "something" />. Thus, to the
last point, I'd generate .pdfs, leave the LaTeX version alone, convert
some other image format for html, and then sed/replace-regexp on the
html to change all image.pdf -> image.png.
John
> [...]
>
> Thanks,
> Andreas
>
>
- Re: [O] pdf images in html export, (continued)
- Re: [O] pdf images in html export, Andreas Leha, 2014/11/12
- Re: [O] pdf images in html export, Rainer M Krug, 2014/11/12
- Re: [O] pdf images in html export, Andreas Leha, 2014/11/12
- Re: [O] pdf images in html export, Rainer M Krug, 2014/11/12
- Re: [O] pdf images in html export, Instructor account, 2014/11/13
- Re: [O] pdf images in html export, Andreas Leha, 2014/11/13
- Re: [O] pdf images in html export, Charles C. Berry, 2014/11/12
- Re: [O] pdf images in html export, Andreas Leha, 2014/11/12
- Re: [O] pdf images in html export, John Hendy, 2014/11/12
- Re: [O] pdf images in html export, Andreas Leha, 2014/11/12
- Re: [O] pdf images in html export,
John Hendy <=
- Re: [O] pdf images in html export, Eric S Fraga, 2014/11/13