emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: Suport for pictures?
Date: Wed, 08 Aug 2007 11:53:15 +0200	[thread overview]
Message-ID: <87tzras67o.fsf@bzg.ath.cx> (raw)
In-Reply-To: <417457b50708080157o542380d1l87e48f40504d857@mail.gmail.com> (Johan Ekh's message of "Wed\, 8 Aug 2007 10\:57\:14 +0200")

Hi Johan,

"Johan Ekh" <ekh.johan@gmail.com> writes:

> I wonder if it is possible to include graphics within LaTeX fragments?

Have a look here:
http://staff.science.uva.nl/~dominik/Tools/org/org.html#LaTeX-fragments

For HTML export, the \includegraphics{...} won't produce anything.

If you embed it in a \begin{figure} environment, this environment will
be parsed by the dvipng utility, but AFAIK this program is not able to
produce png files from images.

For LaTeX export (and i guess you mostly need eps images for this),
there are three options:

1. A simple image link [[file:image.eps]] will be converted as:
   \includegraphics[width=10em]{images.eps}

2. Simple LaTeX insertion:
   #+LaTeX: \includegraphics[width=5em]{~/images/image.eps}

3. More complex LaTeX insertion:
   #+BEGIN_LaTeX
     \begin{figure}
     \includegraphics[width=5em]{~/images/image.eps}
     \caption{Some descriptive text here}
     \end{figure}
   #+END_LaTeX

PS: the LaTeX exporter still doesn't recognize \begin{...} environments
when they are not specified by #+BEGIN_LaTeX and #+END_LaTeX delimiters.
This will be fixed in the next release.

Hope this helps,

-- 
Bastien

  reply	other threads:[~2007-08-08  9:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-08  8:57 Suport for pictures? Johan Ekh
2007-08-08  9:53 ` Bastien [this message]
2007-08-08 11:11   ` Johan Ekh
2007-08-08 16:58     ` Bastien
2007-08-14  9:40       ` Johan Ekh
2007-08-14 10:08         ` Bastien

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=87tzras67o.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --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).