emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: Inline images in exported HTML


From: Graham Smith
Subject: Re: [Orgmode] Re: Inline images in exported HTML
Date: Wed, 14 Jan 2009 09:12:58 +0000

Carsten,

2009/1/14 Carsten Dominik <address@hidden>:
>
> On Jan 12, 2009, at 9:14 PM, Bernt Hansen wrote:
>
>> "Graham Smith" <address@hidden> writes:
>>
>>> I am exporting to HTML with a lnk to a pdf with instant opening in
>>> Firefox on a Mac.
>>>
>>> Originally, I had a description on the link, and as the manual says,
>>> in the browser, I get the description in the browser which opens the
>>> pdf when I click on it.
>>>
>>> But I want the image to appear without clicking on it, so I can print
>>> out the file with the images visible
>>>
>>> After reading the manual, I have edited the link to remove the
>>> description,  but it still needs me to click on the link in the
>>> browser to open the pdf.
>>>
>>> I have now added "file:" to the front  of the link and I still need to
>>> click on it to see the pdf in the browser.
>>>
>>> The link is now:
>>>
>>>
>>> [[file:/Users/graham/Dropbox/Jacobs/GQ3/Analysis/Graphics/Hazard1aBootsrappedMedianProbabilityPlot.pdf]]
>>>
>>> Which still works fine when I click on it, but doesn't automatically
>>> open.
>>>
>>> Can someone tell me what I am doing wrong.
>>>
>>> Many thanks,
>>
>> I was under the impression that only graphic files (PNG/JPG, etc) were
>> inlined - I didn't think inlining a PDF was possible.
>
> Unfortunately, the right thing to do here depends on the LaTeX
> processor you use.
>
> If you use latex and then something like dvips to process to postscript,
> only .ps and .eps files can be inlined in LaTeX output.  On the other
> hand, if you use pdflatex to process the files, only .jpg and .pdf files
> cab be included.
>
> I am not sure if HTML allows to *inline* pdf, probably not.
>
> Hmm, I welcome suggestions on a strategy for this.

It does seem that HTML doesn't allow inline PDFs.

I think it worth while mentioning that I am looking for a "quick
preview" of my document, that also shows the images.

These are natively produced by R on the Mac as PDFs. I want to keep
them in vector format for the final report, so a) don't really want to
change the output from R, Or b) convert them to PNGs just to allow me
a quick Preview, which would no longer be "quick"

So the "strategy" is likely to be different depending on the needs of
the final graphic  to be part of finished document (eg a web page) or
a workaround to give a quick preview.

It has to be said that I can't get it to work via Latex either as  the
graphic component throws up errors during compile, If you ignore the
errors and still preview the output, the text is all there, but no
graphics.

I haven't spent any time trying to sort out the errors yet.

Graham

Graham




reply via email to

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