From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giacomo M Subject: How to use .pdf images on Latex export, and .png images on ODT export Date: Tue, 31 Jan 2017 15:16:18 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYZEO-0001A7-U0 for emacs-orgmode@gnu.org; Tue, 31 Jan 2017 09:16:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYZEL-0006mL-Pr for emacs-orgmode@gnu.org; Tue, 31 Jan 2017 09:16:24 -0500 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:37079) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cYZEL-0006m6-JE for emacs-orgmode@gnu.org; Tue, 31 Jan 2017 09:16:21 -0500 Received: by mail-wm0-x22d.google.com with SMTP id v77so95307561wmv.0 for ; Tue, 31 Jan 2017 06:16:21 -0800 (PST) Received: from [127.0.0.1] ([212.189.161.135]) by smtp.gmail.com with ESMTPSA id q5sm28687915wrd.32.2017.01.31.06.16.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Jan 2017 06:16:19 -0800 (PST) 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" To: "emacs-orgmode@gnu.org" Dear all, I was wondering what is the best way to include pdf images on latex export and png images on odt export (assuming same path, only extension changes). A macro like this one: #+MACRO: figext @@latex:.pdf@@@@odt:.png@@ doesn't seem to work. Thanks, Giacomo