[O] template, position search

2012-10-12 Thread Petro
it. ** /home/petro/org/scientific_notes.org *** note1 I would appreciate a hint how to make this function aware of the pdf file name. Thanks Petro - code--- ;; templates (setq org-capture-templates '((t Todo entry (file+headline

[O] export inline image from source results?

2012-08-21 Thread Petro
') pic_name='fit_rates1.svg' path_name='/home/petro/tmp/' plt.savefig(path_name + pic_name) print [ + [ + path_name + pic_name +]] #+END_SRC #+RESULTS: [[/home/petro/tmp/fit_rates1.svg]] _ Can I export the result? Rigth now

Re: [O] export inline image from source results?

2012-08-21 Thread Petro
Eric Schulte eric.schu...@gmx.com writes: Petro x.pi...@gmail.com writes: Hi all. I generate an image from python source like this: _ #+BEGIN_SRC python :results output raw :export results from pylab import figure, plot import pylab

[O] image format for all exporters

2012-08-21 Thread Petro
Hi list. Is there an image format (vector preferably) supported by all exporters (html, pdf, org). I prefer to save pictures in a vector format, svg for example. But svg image is exported as a link during odt and html export. Is there a way to change it? Thanks. Petro.

Re: [O] my emacs hangs when using matplotlib with sessions

2012-08-19 Thread Petro
Hi Giacomo (and everybody) Have you found solution for this problem? Best Petro. [O] my emacs hangs when using matplotlib with sessions From: Giacomo M Subject: [O] my emacs hangs when using matplotlib with sessions Date: Tue, 3 Jul 2012 19:14:20 +0200 Dear all, let say

[O] refresh image?

2012-08-12 Thread Petro
Hi list. I there a faster way to refresh inline image than C-c C-x C-v C-c C-x C-v? Thanks. Petro

Re: [O] refresh image?

2012-08-12 Thread Petro
Bastien b...@gnu.org writes: Hi Petro, Petro x.pi...@gmail.com writes: I there a faster way to refresh inline image than C-c C-x C-v C-c C-x C-v? Do you mean a shorter keystroke or a faster process? I mean a shorter keystroke.

[O] reevaluate all sorce code blocks?

2012-08-12 Thread Petro
Hi list It seems simple but I cannot find it in the manual. Is there a command to reevaluate all source code blocks in the current org-mode buffer? Thanks Petro

Re: [O] source code folding

2012-05-29 Thread Petro Khoroshyy
Memnon Anon gegendosenflei...@googlemail.com writes: Puneeth Chaganti puncha...@gmail.com writes: I'm not sure there's such a short cut, but you can define one for yourself. A simple function (without any sort of error checking) like the one below can be bound to a key-binding of your

[O] open a source code

2012-05-28 Thread Petro
Hi all. If I open a python code using C-c ', emacs window splits into two. One with with python mode and another with org mode. How can I prevent splitting and make python window full screen? Thanks. Petro.

[O] source code folding

2012-05-28 Thread Petro Khoroshyy
Hi all. I can fold source code block using TAB key on begin_src block. Is there a shortcut to do it within source code block, without navigation to begin_src line? Thanks. Petro.

Re: [O] Table filter.

2012-05-08 Thread Petro
Bastien b...@gnu.org writes: Hi, x.pi...@gmail.com writes: Is table filtering is implementad in org-mode? What is table filtering? Thanks, Sorry for not being clear. By table filtering I mean the following: lets say I have a table | n | 2 | 3 | 4 | 5 | 6 | |---+---+---+---+---+---| | 1

[O] Python execution question

2012-05-06 Thread Petro
'org_babel_python_eoe' _ Thank for help in advance. Petro.

Re: [O] export image generated by python code.

2012-05-02 Thread Khoroshyy Petro
any data you need in the python code. Remember you can use variables in org-babel to pass this path to python, such as :var datapath=some_path_or_lisp_function_to_get_the_path in the babel header.. -- Darlan At Mon, 30 Apr 2012 15:54:34 +0200, Khoroshyy Petro khoros...@gmail.com wrote: Hi

[O] export image generated by python code.

2012-04-30 Thread Khoroshyy Petro
encountered another problem. The 'result' image is not exported, even if I add play with :export option. Any recommendations how to solve those? Thanks Petro #+BEGIN_SRC python :file estimated_spectra_cl.png import pylab from scipy import optimize import numpy as np import pylab as plt

[O] full path to result image?

2012-04-29 Thread Khoroshyy Petro
Hi all. I try to incorporate a python generated image as result of python block execution. how can I use full path to the image something like: #+BEGIN_SRC python results: /home/petro/mydoc/estimated_spectra_cl.png . plt.figure() plt.plot(spectra[:,0],spectra[:,1:]) plt.grid(1

Re: [O] full path to result image?

2012-04-29 Thread Khoroshyy Petro
I figured it out. Was not working because of my mistakes in header. But now I get another problem. Images are not converted during export to pdf or odt. And if I enable inline images only small empty square appears. What could be wrong with my setup Thanks __ Petro

[O] org-mode and google calendar

2012-04-24 Thread Khoroshyy Petro
Hi all Just wanted to bring to your attention this mode. https://github.com/kiwanami/emacs-calfw Best. Petro

[O] imaxima?

2011-12-16 Thread Petro
Can I use imaxima shell together with maxima support of org mode? Thanks. Petro