From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: Re: how to handle svg files when exporting orgmode to html and pdf? Date: Thu, 08 Aug 2013 15:36:21 -0400 Message-ID: <874nb0f00a.fsf@gmail.com> References: <87ppu4mrvq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7W0b-0003xa-Bp for emacs-orgmode@gnu.org; Thu, 08 Aug 2013 15:36:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V7W0V-0006LE-LE for emacs-orgmode@gnu.org; Thu, 08 Aug 2013 15:36:29 -0400 Received: from mail-qe0-x22c.google.com ([2607:f8b0:400d:c02::22c]:63665) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7W0V-0006Ks-GH for emacs-orgmode@gnu.org; Thu, 08 Aug 2013 15:36:23 -0400 Received: by mail-qe0-f44.google.com with SMTP id 6so1952971qeb.3 for ; Thu, 08 Aug 2013 12:36:22 -0700 (PDT) In-Reply-To: (Malcolm Cook's message of "Thu, 8 Aug 2013 12:46:28 -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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Malcolm Cook Cc: Nick Dokos , emacs-orgmode@gnu.org Hi Malcom, 2013ko abuztuak 8an, Malcolm Cook-ek idatzi zuen: >=20 > Aaron & Nick, >=20 > Thanks for the help. I think I'm almost there. >=20 > So far I did >=20 > * install a latex package (first time for everything). I wound up > just putting svg.sty file it for now in the same directory as the .org > file since my attempts to date failed using $HOME/texfm > * customize the emacs variable `org-latex-pdf-process` to include > '--shell-escape' (following advice in > http://orgmode.org/worg/org-dependencies.html, which outlines some > other options) > * upgrade to inkscape version 0.48.+ (which is more recent than our > centOS repos proffered, but, hey) since the --export-latex switch that > svg.sty depends upon is not implemented till this version >=20 > When I "export to latex as PDF file", I get error "PDF file ./test.pdf > wasn't produced" >=20 > Sleuthing, I see the output .tex file includes the following lines: >=20 > \usepackage{svg} > ... > \includegraphics[width=3D.9\linewidth]{mtcars.png} > @@backend:\includesvg{mtcars} ^^^^^^^^^ This looks like (malformed?) org markup that has =E2=80=9Cescaped=E2=80=9D = into the exported .tex file. Are you still using some of the custom macros from other threads? Can you send a minimal example of the file that you are trying to export, and the resulting exported .tex file? The .log file produced by LaTeX when compiling the .tex file may be helpful as well. Thanks, --=20 Aaron Ecay