emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] pdf images in html export


From: Marco Wahl
Subject: Re: [O] pdf images in html export
Date: Wed, 12 Nov 2014 09:27:09 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Andreas Leha <address@hidden> 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 could introduce a relation of the pdf-filenames to the respective
thumb-filenames e.g. by using the suffix '_thumb'.  Before the export
the conversion tool would create the thumbs.

The org-file could reference the data as

[[file:./myimage.pdf][file:myimage_thumb.png]]

See the info page (info "(org)Images in HTML export")?

Untested.  I just accidentially browsed that info page yesterday.


HTH,  Marco




reply via email to

[Prev in Thread] Current Thread [Next in Thread]