From: "Charles C. Berry" <ccberry@ucsd.edu>
To: edgar@openmail.cc
Cc: emacs-orgmode@gnu.org
Subject: Re: how to replace includegraphics?
Date: Wed, 31 May 2017 10:01:36 -0700 [thread overview]
Message-ID: <alpine.OSX.2.20.1705310950220.763@charles-berrys-macbook.local> (raw)
In-Reply-To: <c4406be67c1f271d1d1f6cd7b9d01b91@openmail.cc>
On Wed, 31 May 2017, 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 is what filters are for. In your case `:filter-link' needs to have a
function that changes `includegraphics' to `simplesvg', if I get what you
want.
Check out the manual:
(info "(org) Advanced configuration")
maybe run the example here:
http://orgmode.org/worg/exporters/filter-markup.html
and consult the part about filters here:
http://orgmode.org/worg/dev/org-export-reference.html
There are examples in the ox-*.el files, too. So, grep these for
`filters-alist' to see some examples.
HTH,
Chuck
next prev parent reply other threads:[~2017-05-31 17:02 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
2017-05-31 22:35 ` edgar
2017-05-31 23:29 ` John Hendy
2017-05-31 17:01 ` Charles C. Berry [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.OSX.2.20.1705310950220.763@charles-berrys-macbook.local \
--to=ccberry@ucsd.edu \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.