emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Suport for pictures?


From: Bastien
Subject: Re: [Orgmode] Suport for pictures?
Date: Wed, 08 Aug 2007 11:53:15 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux)

Hi Johan,

"Johan Ekh" <address@hidden> 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 via email to

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