From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juan Pechiar Subject: Re: Re: conditional export based on target Date: Tue, 2 Nov 2010 21:37:27 -0200 Message-ID: <20101102233727.GC2450@soloJazz.com> References: <20101023234608.GD14385@soloJazz.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=37029 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDQQ5-0007Xe-1Q for emacs-orgmode@gnu.org; Tue, 02 Nov 2010 19:37:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDQQ0-0004fx-Ol for emacs-orgmode@gnu.org; Tue, 02 Nov 2010 19:37:36 -0400 Received: from cpoproxy3-pub.bluehost.com ([67.222.54.6]:51756) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PDQQ0-0004fe-Ga for emacs-orgmode@gnu.org; Tue, 02 Nov 2010 19:37:32 -0400 Content-Disposition: inline In-Reply-To: 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: Ezequiel Birman Cc: emacs-orgmode@gnu.org On Tue, Nov 02, 2010 at 04:41:05PM -0300, Ezequiel Birman wrote: > #+source: tree1_latex > #+BEGIN_SRC latex :exports (if (and (boundp 'latexp) latexp) "results" "none") > \begin{tikzpicture} ... > \end{tikzpicture} > #+end_src > I still don't know how to export the TikZ code to latex but a png or svg > (generated by TikZ) to html. I don't know if I understand your problem here, but maybe it has something to do with adding :results value latex to the #+begin_src header Check http://orgmode.org/manual/results.html#results BR, .j.