From mboxrd@z Thu Jan 1 00:00:00 1970 From: edgar@openmail.cc Subject: filter for svg latex-export Date: Mon, 08 Jan 2018 00:10:44 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=_ca60b37fd34f77eefd2ea566bbdd4c97" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYL1u-0008Q5-Hv for emacs-orgmode@gnu.org; Sun, 07 Jan 2018 19:11:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYL1r-00045C-C5 for emacs-orgmode@gnu.org; Sun, 07 Jan 2018 19:11:06 -0500 Received: from onethreetwo.vfemail.net ([199.16.11.132]:32110 helo=vfemail.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eYL1r-000436-4j for emacs-orgmode@gnu.org; Sun, 07 Jan 2018 19:11:03 -0500 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: emacs-orgmode@gnu.org --=_ca60b37fd34f77eefd2ea566bbdd4c97 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Hello, I once tried to create a filter (is that the name?) to modify the function which exports SVG files. Verdict: I suck! Thus, I keep modifying the ox-latex.el every time that I upgrade (see attached). Would someone please tell me what is the right way to achieve that (without modifying the code, please? Thanks! ------------------------------------------------- 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! --=_ca60b37fd34f77eefd2ea566bbdd4c97 Content-Transfer-Encoding: base64 Content-Type: text/plain; name=ox-latex-svg.diff Content-Disposition: attachment; filename=ox-latex-svg.diff; size=1036 KioqIG9yZy0yMDE4MDEwMy9veC1sYXRleC5lbAkyMDE4LTAxLTA3IDE2OjUzOjQzLjQ3NzQ2NDM0 OCAtMDcwMAotLS0gcGx1Z2lucy9veC1sYXRleC5lbAkyMDE4LTAxLTA3IDE2OjM5OjUyLjExNzQ2 MjA5OCAtMDcwMAoqKioqKioqKioqKioqKioKKioqIDI0MjUsMjQzNCAqKioqCiAgCQkJICAodCAo Zm9ybWF0ICJbJXNdIiBvcHRpb25zKSkpCiAgCQkgICAgcGF0aCkpCiAgICAgICAgKHdoZW4gKGVx dWFsIGZpbGV0eXBlICJzdmciKQohIAkoc2V0cSBpbWFnZS1jb2RlIChyZXBsYWNlLXJlZ2V4cC1p bi1zdHJpbmcgIl5cXFxcaW5jbHVkZWdyYXBoaWNzIgohIAkJCQkJCSAgICJcXGluY2x1ZGVzdmci CiEgCQkJCQkJICAgaW1hZ2UtY29kZQohIAkJCQkJCSAgIG5pbCB0KSkKICAJKHNldHEgaW1hZ2Ut Y29kZSAocmVwbGFjZS1yZWdleHAtaW4tc3RyaW5nICJcXC5zdmd9IgogIAkJCQkJCSAgICJ9Igog IAkJCQkJCSAgIGltYWdlLWNvZGUKLS0tIDI0MjUsMjQzNyAtLS0tCiAgCQkJICAodCAoZm9ybWF0 ICJbJXNdIiBvcHRpb25zKSkpCiAgCQkgICAgcGF0aCkpCiAgICAgICAgKHdoZW4gKGVxdWFsIGZp bGV0eXBlICJzdmciKQohICAgICAgICAgKHNldHEgaW1hZ2UtY29kZQohICAgICAgICAgICAgICAg KGZvcm1hdCAiXFxzaW1wbGVzdmclc3slc30iCiEgICAgICAgICAgICAgICAgICAgICAgIChjb25k ICgobm90IChvcmctc3RyaW5nLW53LXAgb3B0aW9ucykpICIiKQohICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAoKHN0cmluZy1wcmVmaXgtcCAiLCIgb3B0aW9ucykKISAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIChmb3JtYXQgInslc30iIChzdWJzdHJpbmcgb3B0aW9ucyAxKSkpCiEg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICh0IChmb3JtYXQgInslc30iIG9wdGlvbnMpKSkK ISAgICAgICAgICAgICAgICAgICAgICAgcGF0aCkpCiAgCShzZXRxIGltYWdlLWNvZGUgKHJlcGxh Y2UtcmVnZXhwLWluLXN0cmluZyAiXFwuc3ZnfSIKICAJCQkJCQkgICAifSIKICAJCQkJCQkgICBp bWFnZS1jb2RlCg== --=_ca60b37fd34f77eefd2ea566bbdd4c97--