emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] filter for svg latex-export


From: edgar
Subject: Re: [O] filter for svg latex-export
Date: Tue, 09 Jan 2018 03:47:27 +0000
User-agent: Roundcube Webmail/1.2.4

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 via email to

[Prev in Thread] Current Thread [Next in Thread]