From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Add LaTeX to SVG support to org-mode Date: Mon, 15 Jun 2015 20:32:40 +0200 Message-ID: <20150615183240.GF4315@chitra.no-ip.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4ZBc-0002Nx-71 for emacs-orgmode@gnu.org; Mon, 15 Jun 2015 14:32:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4ZBb-0004gx-0V for emacs-orgmode@gnu.org; Mon, 15 Jun 2015 14:32:44 -0400 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:36807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4ZBa-0004gn-RL for emacs-orgmode@gnu.org; Mon, 15 Jun 2015 14:32:42 -0400 Received: by wigg3 with SMTP id g3so86670985wig.1 for ; Mon, 15 Jun 2015 11:32:42 -0700 (PDT) Received: from chitra.no-ip.org ([2001:610:120:3001:2ad2:44ff:fe4a:b029]) by mx.google.com with ESMTPSA id ma15sm17088244wic.20.2015.06.15.11.32.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jun 2015 11:32:41 -0700 (PDT) Content-Disposition: inline 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Adam, As others mentioned, diffs are easier to work with. Please see the instructions on the how to contribute page on Worg. That said, if you do not want to checkout the latest Org (the version you sent looks like a version that was shipped with Emacs). You can still generate a diff. Copy the original somewhere, and then edit the copy. Once done editing, you can generate a diff like this: $ diff -u /path/to/original/org.el /path/to/edited/org.el > org.el.diff If you then send the org.el.diff file, people would be happy to look at it and help you get to a good solution. Hope this email ecourages you to put in the extra effort :). Cheers, On Sat, Jun 13, 2015 at 06:45:51PM +0200, Adam Sneller wrote: > > Out of the box, emacs supports two methods for rendering LaTeX previews in orgmode: dvipng and imagemagick. I want to add a third method, using dvisvgm. I have modified the org.el file to add org-create-formula-image-with-dvisvg. Everything seems to work fine, except that orgmode is unable to find the SVG file and errors "Failed to create svg file from ...". But the file it is looking for does exist. > > Any ideas? -- Suvayu Open source is the future. It sets us free.