Hi Malcom, On Thu, Aug 8, 2013 at 10:04 PM, Malcolm Cook <[email protected]> wrote: > Aaron, > > Thanks for staying with me on this. > > I'm not sure what you're suggesting. > > Nonetheless, I just updated org from `git clone > git://orgmode.org/org-mode.git` > > So, now I'm got org-version release_8.0.7-377-gef2d47.dirty. > > Are you suggesting that with this patch.svg created with exporting > graphics :file should now display in the emacs buffer when I toggle > display of inline images? I wish they would. They do not, despite my > adding "svg" to org-export-latex-inline-image-extensions.
This I believe relies on your emacs binary having support for svg
images. You can check if emacs is linked against librsvg with the
following shell command (assuming you are on linux):
$ ldd `which emacs` | grep svg
Which should give you some line of output like
librsvg-2.so.2 => /usr/lib/librsvg-2.so.2 (0xb6a86000)
Within emacs, M-: (image-type-available-p 'svg) RET should display t
In buffer viewing of svg works for me without any additional setup,
upon pressing C-c C-x C-v, in an emacs with svg support.
>
> Are you suggesting that such a .svg created by org code block would be
> appear in the pdf created when I export to latex -> pdf? I wish that
> also... that's what I've been trying to accomplish.
Yes. I'm attaching the testsvg.org file (slightly modified from the
one you sent) and resultant latex export I get from the same git
version as you...as you can see, the [[file:mtcars.svg]] link is
translated into an \includesvg LaTeX command. Does it work the same
for you?
>
> PS - I see you are/were in PA in linguistics. My first job after my
> masters in AI from U Mass was at CMU's psych dept as a lisp programmer
> for John Anderson's intelligent tutoring systems. I then went on in
> computational linguistics a bit, working on a marcus parser based
> natural language processing system at wang labs. Ages ago. Now I'm
> in computational biology. The one commonality through it all? Emacs!
:) I'm in the doctoral program in linguistics at Penn, and a happy
emacs user for several years. Here's to many more!
testsvg.org
Description: Binary data
testsvg.tex
Description: TeX document
