From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: how to replace includegraphics? Date: Wed, 31 May 2017 08:55:02 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dG45a-0001gd-Nl for emacs-orgmode@gnu.org; Wed, 31 May 2017 09:55:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dG45Z-0003Dy-Pt for emacs-orgmode@gnu.org; Wed, 31 May 2017 09:55:06 -0400 Received: from mail-io0-x22f.google.com ([2607:f8b0:4001:c06::22f]:34866) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dG45Z-0003Cv-Ko for emacs-orgmode@gnu.org; Wed, 31 May 2017 09:55:05 -0400 Received: by mail-io0-x22f.google.com with SMTP id f102so16248939ioi.2 for ; Wed, 31 May 2017 06:55:03 -0700 (PDT) In-Reply-To: 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: edgar@openmail.cc Cc: emacs-orgmode On Tue, May 30, 2017 at 10:37 PM, wrote: > Hello dear list, > > * Summary > I want to know if someone could tell me how to replace (the macro, function, > string) includegraphics for something else when exporting to LaTeX. In my > case, simplesvg. This made me think of the various times someone wants to use endnotes instead of footnotes. Have you considered just changing the definition in LaTeX instead? [1] [2] #+LaTeX_HEADER: \usepackage{endnotes} #+LaTeX_HEADER: \let\footnote=\endnote In other words, utilize the fact that Org already handles images flawlessly and then just define \includegraphics to be something else on the LaTeX end of things. John [1] http://perlstalker.vuser.org/blog/2014/07/15/endnotes-org-mode/ [2] https://tex.stackexchange.com/questions/53895/converting-footnotemarks-to-endnotes