From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: tikz for multiple targets Date: Wed, 10 Jul 2013 11:56:25 +0100 Message-ID: <87obaa65uu.fsf@ucl.ac.uk> References: <87k3kztlam.fsf@ucl.ac.uk> <87wqoyagmh.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uws4X-0006JW-Ki for emacs-orgmode@gnu.org; Wed, 10 Jul 2013 06:56:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uws4W-00041F-NA for emacs-orgmode@gnu.org; Wed, 10 Jul 2013 06:56:33 -0400 Received: from mail-db8lp0189.outbound.messaging.microsoft.com ([213.199.154.189]:4349 helo=db8outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uws4W-000415-EY for emacs-orgmode@gnu.org; Wed, 10 Jul 2013 06:56:32 -0400 In-Reply-To: <87wqoyagmh.fsf@gmx.us> (rasmus@gmx.us's message of "Wed, 10 Jul 2013 11:50:14 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rasmus Cc: emacs-orgmode@gnu.org Rasmus writes: [...] > Tikz/pgf works for the latex exporter. Just insert it as a file link > (with extension tikz or pgf) or as latex verbatim code. Yes, thanks. However, I guess I didn't explain very well what I was looking for. I use tikz all the time and typically enclose it in a #+begin_LaTeX ... #+end_LaTeX block. That is fine for most of my documents where I only wish to export to PDF via LaTeX. However, what I would like is to be able to use the same code, inline within the org file and not as a separate .tikz file, in some cases to export to both LaTeX and HTML (or ODT for that matter). The code in the link I posted used to do this by dynamically setting the :exports and/or :results options using org babel headers with emacs lisp code. A variation of this worked with the old exporter but doesn't with the new one. Thanks again, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.0.5-326-g325e40