From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Suport for pictures? Date: Wed, 08 Aug 2007 11:53:15 +0200 Message-ID: <87tzras67o.fsf@bzg.ath.cx> References: <417457b50708080157o542380d1l87e48f40504d857@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IIiEK-0005ja-8h for emacs-orgmode@gnu.org; Wed, 08 Aug 2007 05:53:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IIiEI-0005jO-Qu for emacs-orgmode@gnu.org; Wed, 08 Aug 2007 05:53:26 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IIiEI-0005jL-Is for emacs-orgmode@gnu.org; Wed, 08 Aug 2007 05:53:26 -0400 Received: from hu-out-0506.google.com ([72.14.214.227]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IIiEI-0007w2-2U for emacs-orgmode@gnu.org; Wed, 08 Aug 2007 05:53:26 -0400 Received: by hu-out-0506.google.com with SMTP id 23so87258huc for ; Wed, 08 Aug 2007 02:53:24 -0700 (PDT) In-Reply-To: <417457b50708080157o542380d1l87e48f40504d857@mail.gmail.com> (Johan Ekh's message of "Wed\, 8 Aug 2007 10\:57\:14 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Johan, "Johan Ekh" 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