[O] template, position search

2012-10-12 Thread Petro
uted it creates this headline and places the note bellow 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 (se

[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] export inline image from source results?

2012-08-21 Thread Petro
Eric Schulte writes: > Petro 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 &

[O] export inline image from source results?

2012-08-21 Thread Petro
x27;o') 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]]

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 +020

[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] refresh image?

2012-08-12 Thread Petro
Bastien writes: > Hi Petro, > > Petro 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] 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] source code folding

2012-05-29 Thread Petro Khoroshyy
Memnon Anon writes: > Puneeth Chaganti 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 choice. >> >> -

[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.

[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.

Re: [O] Table filter.

2012-05-08 Thread Petro
Bastien writes: > Hi, > > 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 | a | | | |

[O] Python execution question

2012-05-06 Thread Petro
;> >>> >>> Traceback (most recent call last): File "", line 1, in NameError: name '_' is not defined >>> >>> >>> 'org_babel_python_eoe' >>> _ Thank for help in advance. Petro.

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

2012-05-02 Thread Khoroshyy Petro
and then print the current working > directory to see what I mean. If this is the problem, use the full path to > load 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_

[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 py

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] 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

[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