emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: edgar@openmail.cc
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: how to replace includegraphics?
Date: Wed, 31 May 2017 08:55:02 -0500	[thread overview]
Message-ID: <CA+M2ft8paXRJ8VYzq9yTTp5R8a7p33CJk1jFbvUN6ca1mtgVAg@mail.gmail.com> (raw)
In-Reply-To: <c4406be67c1f271d1d1f6cd7b9d01b91@openmail.cc>

On Tue, May 30, 2017 at 10:37 PM,  <edgar@openmail.cc> 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

  reply	other threads:[~2017-05-31 13:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-31  3:37 how to replace includegraphics? edgar
2017-05-31 13:55 ` John Hendy [this message]
2017-05-31 22:35   ` edgar
2017-05-31 23:29     ` John Hendy
2017-05-31 17:01 ` Charles C. Berry
2017-05-31 22:36   ` edgar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+M2ft8paXRJ8VYzq9yTTp5R8a7p33CJk1jFbvUN6ca1mtgVAg@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=edgar@openmail.cc \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).