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
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.
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
&
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]]
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
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
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.
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
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.
>>
>> -
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.
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.
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 | | | |
;> >>> >>> Traceback (most recent call last):
File "", line 1, in
NameError: name '_' is not defined
>>> >>> >>> 'org_babel_python_eoe'
>>>
_
Thank for help in advance.
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_
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
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
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
Hi all
Just wanted to bring to your attention this mode.
https://github.com/kiwanami/emacs-calfw
Best.
Petro
Can I use imaxima shell together with maxima support of org mode?
Thanks.
Petro
19 matches
Mail list logo