emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Graham Smith" <myotisone@gmail.com>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: Bernt Hansen <bernt@norang.ca>, emacs-orgmode@gnu.org
Subject: Re: Re: Inline images in exported HTML
Date: Wed, 14 Jan 2009 09:12:58 +0000	[thread overview]
Message-ID: <2c75873c0901140112r1607c03t67ee957378c4d396@mail.gmail.com> (raw)
In-Reply-To: <63F44A1C-0C41-4DCF-A498-1BEC6414B9B2@uva.nl>

Carsten,

2009/1/14 Carsten Dominik <dominik@science.uva.nl>:
>
> On Jan 12, 2009, at 9:14 PM, Bernt Hansen wrote:
>
>> "Graham Smith" <myotisone@gmail.com> 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

  parent reply	other threads:[~2009-01-14  9:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-12 20:03 Inline images in exported HTML Graham Smith
2009-01-12 20:14 ` Bernt Hansen
2009-01-12 20:35   ` Graham Smith
2009-01-14  7:39   ` Carsten Dominik
2009-01-14  8:02     ` Manish Sharma
2009-01-14  9:12     ` Graham Smith [this message]
2009-01-14  9:48       ` Manish
2009-01-14 10:50         ` Graham Smith
2009-01-14 11:59           ` Manish
2009-01-14 17:57             ` Graham Smith
2009-01-15  3:11       ` Austin Frank
2009-01-15  7:44         ` Graham Smith
2009-01-20 18:31     ` Graham Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2c75873c0901140112r1607c03t67ee957378c4d396@mail.gmail.com \
    --to=myotisone@gmail.com \
    --cc=bernt@norang.ca \
    --cc=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).