emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Aaron Ecay <aaronecay@gmail.com>
To: Malcolm Cook <malcolm.cook@gmail.com>
Cc: Nick Dokos <ndokos@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: how to handle svg files when exporting orgmode to html and pdf?
Date: Thu, 08 Aug 2013 15:36:21 -0400	[thread overview]
Message-ID: <874nb0f00a.fsf@gmail.com> (raw)
In-Reply-To: <CAAAQmVbjx8aPJekyXX+pA+_J1Xt=h+gbuGznDuJTa5TsQiYHew@mail.gmail.com> (Malcolm Cook's message of "Thu, 8 Aug 2013 12:46:28 -0500")

Hi Malcom,

2013ko abuztuak 8an, Malcolm Cook-ek idatzi zuen:
> 
> Aaron & Nick,
> 
> Thanks for the help.  I think I'm almost there.
> 
> So far I did
> 
>  * 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
> 
> When I "export to latex as PDF file", I get error "PDF file ./test.pdf
> wasn't produced"
> 
> Sleuthing, I see the output .tex file includes the following lines:
> 
> \usepackage{svg}
> ...
> \includegraphics[width=.9\linewidth]{mtcars.png}
> @@backend:\includesvg{mtcars}
  ^^^^^^^^^

This looks like (malformed?) org markup that has “escaped” 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,

-- 
Aaron Ecay

  parent reply	other threads:[~2013-08-08 19:36 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-18  0:32 how to handle svg files when exporting orgmode to html and pdf? malcolm cook
2013-07-27  6:36 ` Aaron Ecay
2013-08-08 17:46   ` Malcolm Cook
2013-08-08 19:19     ` Nick Dokos
2013-08-08 21:15       ` Cook, Malcolm
2013-08-08 19:36     ` Aaron Ecay [this message]
2013-08-08 19:46       ` Malcolm Cook
2013-08-08 21:00         ` Aaron Ecay
2013-08-08 21:11           ` Malcolm Cook
2013-08-08 21:34             ` Aaron Ecay
2013-08-09  2:04               ` Malcolm Cook
2013-08-09 20:52                 ` Aaron Ecay
2013-08-09 21:01                 ` Cook, Malcolm
2013-10-28 19:18                   ` Cook, Malcolm
2013-10-28 20:02                     ` Aaron Ecay
2013-10-28 22:02                       ` Cook, Malcolm
2013-10-30  6:08                         ` Aaron Ecay
2013-08-09  4:43         ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874nb0f00a.fsf@gmail.com \
    --to=aaronecay@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=malcolm.cook@gmail.com \
    --cc=ndokos@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).