emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: edgar@openmail.cc
To: John Kitchin <jkitchin@andrew.cmu.edu>
Cc: John Kitchin <johnrkitchin@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: filter for svg latex-export
Date: Tue, 09 Jan 2018 03:47:27 +0000	[thread overview]
Message-ID: <56dd41d159e0f24992fe571d8763628a@openmail.cc> (raw)
In-Reply-To: <m2mv1nogcx.fsf@andrew.cmu.edu>

On 2018-01-09 03:34, John Kitchin wrote:

Thank you, Dr. Kitchin! I will try this

> If all you are doing is replacing includesvg with simplesvg,
> 
> #+BEGIN_SRC emacs-lisp
> (let ((org-export-filter-link-functions  '((lambda (txt _ _)
> 					     (replace-regexp-in-string "includesvg" "simplesvg" txt)))))
>   (org-latex-export-as-latex))
> #+END_SRC
> 
> If you are doing more than that (it looks like you are adding options?)

The only real difference in calling it is that I use {} instead of [], 
so I would not expect any problems

> then one alternative option is just put a copy of your modified 
> function
> in your init file after you load org

Yep, I have been trying to avoid this. My init is already huge (not 
really: 2587 lines).

Thank you again!

-------------------------------------------------

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  

  reply	other threads:[~2018-01-09  3:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-08  0:10 filter for svg latex-export edgar
2018-01-09  3:34 ` John Kitchin
2018-01-09  3:47   ` edgar [this message]
2018-09-07  1:22   ` edgar
  -- strict thread matches above, loose matches on Subject: below --
2018-09-09 20:03 Falk Hanisch

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=56dd41d159e0f24992fe571d8763628a@openmail.cc \
    --to=edgar@openmail.cc \
    --cc=emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    --cc=johnrkitchin@gmail.com \
    /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).