From mboxrd@z Thu Jan 1 00:00:00 1970 From: edgar@openmail.cc Subject: Re: filter for svg latex-export Date: Tue, 09 Jan 2018 03:47:27 +0000 Message-ID: <56dd41d159e0f24992fe571d8763628a@openmail.cc> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYktC-0007pA-7r for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 22:47:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYkt8-0005sl-2m for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 22:47:50 -0500 Received: from onethreetwo.vfemail.net ([199.16.11.132]:15827 helo=vfemail.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eYkt7-0005sF-TS for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 22:47:46 -0500 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: John Kitchin Cc: John Kitchin , emacs-orgmode@gnu.org 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!