Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-10-30 Thread Aaron Ecay
Hi Malcom, 2013ko urriak 28an, Cook, Malcolm-ek idatzi zuen: [...] Excellent! Adding to the top of my emacs .org file the following allowed it to work. #+LATEX_HEADER: \graphicspath{{fig/}} Much better workaround. But still a workaround? The support for including graphics from

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-10-29 Thread Cook, Malcolm
Hi Aaron, Can I re-open this thread to discuss two new issues I now experience with emacs 24.3.1 and orgmode version 8.2.1 in the handling of svg = tex = pdf ? Here goes: 1) If the plot has text in it which contains a percent character (%), then we fail due to

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-10-28 Thread Cook, Malcolm
Thomas, Suvayu, Aaron, Nick, Eric, Carsten, Phil, et al, Hi again! Can I re-open this thread to discuss two new issues I now experience with emacs 24.3.1 and orgmode version 8.2.1 in the handling of svg = tex = pdf ? Here goes: 1) If the plot has text in it which contains a percent character

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-10-28 Thread Aaron Ecay
Hi Malcom, 2013ko urriak 28an, Cook, Malcolm-ek idatzi zuen: Thomas, Suvayu, Aaron, Nick, Eric, Carsten, Phil, et al, Hi again! Can I re-open this thread to discuss two new issues I now experience with emacs 24.3.1 and orgmode version 8.2.1 in the handling of svg = tex = pdf ? Here

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-08-10 Thread Cook, Malcolm
Thomas, Suvayu, Aaron, Nick, Eric, Carsten, Phil, et al, Thanks for all your help. I am now satisfied with approach for exporting images to inline html and inline latex=pdf. In my hands, the following code block will produce in-line images in html and be included in exported pdf.

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-08-09 Thread Aaron Ecay
Hi Malcom, On Thu, Aug 8, 2013 at 10:04 PM, Malcolm Cook malcolm.c...@gmail.com 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

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-08-08 Thread Malcolm Cook
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

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-08-08 Thread Nick Dokos
Malcolm Cook malcolm.c...@gmail.com writes: When I export to latex as PDF file, I get error PDF file ./test.pdf wasn't produced In case of difficulties like this, I produce the tex file (C-c C-e l l) and then I process it by hand: pdflatex --shell-escape foo.tex Separates concerns nicely.

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-08-08 Thread Aaron Ecay
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

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-08-08 Thread Malcolm Cook
Aaron, thanks so much, I've attached all three -- Malcolm Cook h - 913.642.5257 c - 913.226.1542 w - 816.926.4449 On Thu, Aug 8, 2013 at 2:36 PM, Aaron Ecay aarone...@gmail.com wrote: Hi Malcom, 2013ko abuztuak 8an, Malcolm Cook-ek idatzi zuen: Aaron Nick, Thanks for the help. I

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-08-08 Thread Aaron Ecay
Hi Malcom, It looks like there are two things going on. The first is that you are (as Nick suspected) including the file twice in the document. You should change the header of the babel block to output a SVG file: #+begin_src R :results graphics output :exports both :file mtcars.svg

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-08-08 Thread Malcolm Cook
Aaron, Yeah, the zz was added by me whilst sleuthing. Sorry for the confusion. I added it across the board though. Before I added it, the message had been 'mtcars.zzpdf_tex' not found.' I know with org I can directly :export :file basename.svg The thing I am trying to accomplish is to find an

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-08-08 Thread Cook, Malcolm
In case of difficulties like this, I produce the tex file (C-c C-e l l) and then I process it by hand: pdflatex --shell-escape foo.tex Separates concerns nicely. I will try your approach - thanks - I agree Sleuthing, I see the output .tex file includes the following lines:

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-08-08 Thread Aaron Ecay
Hi Malcom, There is a patch that was added to the master branch of the org git repository on Jul 27, which turns this from a link into a real inclusion of the image. So, it will only work as intended if you are using a git checkout from after that date. My apologies, I should have made

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-08-08 Thread Malcolm Cook
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

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-07-27 Thread Aaron Ecay
Hi Malcom, 2013ko uztailak 17an, malcolm cook-ek idatzi zuen: Hi, I am creating .svg files with R source blocks and ESS in org. I am happily viewing them in-line in my emacs buffer. I am happily exporting as html and viewing them in-line in the resulting web page, including a

[O] how to handle svg files when exporting orgmode to html and pdf?

2013-07-17 Thread malcolm cook
Hi, I am creating .svg files with R source blocks and ESS in org. I am happily viewing them in-line in my emacs buffer. I am happily exporting as html and viewing them in-line in the resulting web page, including a table of images. I do not have an approach for including them into PDF