[O] passing the attachment folder to a python source code, how to?
Hi all. I am trying to separete files generated by python scripts in different subtrees, It appeared to me that attachment folder could be used for it. I should be able to pass a varible to a source code block using header arguments, but, now I am a bit pussled how can i get it. Thank you in advance. Petro.
[O] Can I export from org mode to org mode?
Hi everybody. I keep my notes in one big org file. It have grown big One solution could be filtering tree and display only the information I need, another id to split it into smaller files by topic. I would appreciate a hint on how to do the later. Thanks. Petro.
[O] plus in superscript.
Hi all. I try to put a superscript in org-mode in this way: T^{+}. But it gets exported in latex as $^{\st{}$. Any idea how to avoid it? Thanks.
[O] Having problems with annotations of generated pdfs :(
Hi all. I am not sure this is the best place to ask but I will give it a try. I am exporting my thesis from orgmode to latex. Than I go in this way dvi - ps - pdf. I cant do text search in generated file and acrobat reader annotate tool does not work properly on it. I would thank for any suggestion what to do. Thanks. Petro.
[O] Emacs and tablet devices
Hi all. It may be not the best place to ask, but: How useful is emacs on tablet devices. I have been thinking about emacs and freerunner. But I have no clue how the keybindings work with it. So my second guess is nanonote which has a keyboard (but i would prefer freerunner as it has less moving parts). Any experiense or tips. Thanks. Petro.
[O] eps and png pictures
Hi all. I am writing a draft of my thesis using org-mode. The problem I have is the following. If I use png pictures they are not compatible with export to latex, and if I use eps pictures, than I cant view them inline in the ogr-mode. Any recomendations about it? Thanks. Petro.
[O] having problems this mailing list configuration
Hi all. I have some problems with mailing list configuration. I wanted to disable mail delivery and check list via web interface, but some how it goes not save the changes I make. I have enabled cookies dan it workd with other mailing lists. Thanks for help in advance. Petro
[O] org-mode and ebib
Hi all. There was a discussion about integration of ebib and org mode. And it is possible to open ebib on selected link like this [[citep:jones1999][35]] . But I cannot manage to insert such link from ebib into org-mode. Have anybody made a function for it? Thanks. Petro.
[O] inline task?
Hi all. As I understand inlene-task is part of org-mode. But I cant find it between functions. But the file is present in lisp folder. Do I have to enable it somehow? Thanks. Petro.
[O] how to bind something to PrtScr
Hi. I want to bind image inserting function to Ctrl-PrtScr, but cant figure out what is the name of this button in emacs. Does anybody know? Thanks. Petro
[O] insert picture feature request.
Hi all. I use org-mode for making note while reading articles. Sometimes I want to insert picture into notes. Now it takes to much time. I have to copy paste it into picture editor, save it and than make a link to it. I would like to do it in other way. Copy picture into clipboard (from pdf reader for example), and than run a function in emacs which will ask for file name, save the picture from clipboard into preset folder and insert link into org file for it. I have found those links. http://stackoverflow.com/questions/1868734/how-to-copy-to-clipboard-with-x11 http://stackoverflow.com/questions/3571179/how-does-x11-clipboard-handle-multiple-data-formats About handling clipboard images from python. I think it is possible to write a simple python script which can save clipboard picture into file, and than some lisp function which do all I described above using this script. Unfortunately I dont know python and lisp on level which allow me to do it fast end easy. So I ask if someone can do it. I think it would be useful addition for org-mode. May be even someone have implemented it, or made another work arround this problem. Thanks. Petro. P.S. Sorry if you get two copies of request. I had some troubles with sending it and may sent two versions of this mail.
Re: [O] insert picture feature request.
Thanks. It is what I need. Than On Mon, May 2, 2011 at 4:23 PM, brian powell briangpowel...@gmail.com wrote: * This is what I use (thanks to whomever wrote the original): (defun org-screenshot () Take a screenshot into a time stamped unique-named file in the same directory as the org-buffer and insert a link to this file. (interactive) (setq filename (concat (make-temp-name (concat (buffer-file-name) _ (format-time-string %Y%m%d_%H%M%S_)) ) .png)) (call-process import nil nil nil filename) (insert (concat [[ filename ]]))) ** Works great for me, puts a timestamp on it and the filename. ** Also, notice the .png: *** The link above suggests .jpg (as the default)--which is great for most things; except, JPG is a lossy compression format, but it does load faster. http://www.turnkeylinux.org/blog/png-vs-jpg
Re: [O] how to insert a source template
Thanks guys. Exactly what I wanted. The word template had not came into my mind, thats why my googling was not sucesseful :( On Tue, Apr 12, 2011 at 9:04 AM, Eric Schulte schulte.e...@gmail.com wrote: Hi Petro, You can use yasnippet to expand keywords into templates (like code blocks) with TAB, see the following for instructions on using yasnippet with Org-mode [1]. Alternately you could add the following elisp code to your config, and bind the `org-insert-block' function to a comfortable key combination. #+begin_src emacs-lisp (defun org-insert-block (lang) (interactive Mlanguage: ) (insert (format #+begin_src %s\n \n#+end_src lang)) (goto-char (- (point) 10))) #+end_src Cheers -- Eric Piter_ x.pi...@gmail.com writes: Hi all. I have no big knowlege of elisp. But I hope some one already done this. I want to make a key binding which would insert a source code template like this (I've got tired to type it every time): #+source: #+begin_src #+end_src Thanks. Petro. Footnotes: [1] http://orgmode.org/worg/org-faq.html#YASnippet -- Eric Schulte http://cs.unm.edu/~eschulte/
[O] how to insert a source template
Hi all. I have no big knowlege of elisp. But I hope some one already done this. I want to make a key binding which would insert a source code template like this (I've got tired to type it every time): #+source: #+begin_src #+end_src Thanks. Petro.
Re: [O] combined graphical and textual result.
Thanks. It solves the problem. Plus I have discovered a new for me thing called literate programming. On Wed, Mar 2, 2011 at 12:50 PM, Eric S Fraga e.fr...@ucl.ac.uk wrote: Piter_ x.pi...@gmail.com writes: Hi all. I try to manage my experimental results in org mode. Some times I need from one source few results to be saved. For example I fit some data in a matlab source code block. From this I need a picture of the fit, and parameters of the fit. Can I have two results blocks? I am afraid that no. But may be there is a way to make it without duplicating the source code. You could use :noweb to define the common code block and then include it in more than one subsequent block, each of which generates different views on the results. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.576.g99675.dirty) -- Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[O] how send babel source code to shell?
Hi all. I have a source code (in matlab or python). It cosists of two blocks (using noweb). I can evaluate it. But I want to send it to matlab or python shell. And inspect the result there (variable values and so on). Can I do it? Thanks. Petro. -- Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [O] how send babel source code to shell?
Hi. unfortunately it does not work. It does not recognize noweb blocks it sends it literally to the shell heterogeneous_fit Error: Unexpected MATLAB operator. Any advice to handle it? Thanks. Petro On Thu, Mar 3, 2011 at 2:33 PM, Rainer M Krug r.m.k...@gmail.com wrote: On Thu, Mar 3, 2011 at 2:20 PM, Piter_ x.pi...@gmail.com wrote: Hi all. I have a source code (in matlab or python). It cosists of two blocks (using noweb). I can evaluate it. But I want to send it to matlab or python shell. And inspect the result there (variable values and so on). Can I do it? Yes - use the :session header argument. Although I have never used in matlab or python ( I used in in R and sh), it should work there as well. e.g: #+begin_src python :session WHATEVER DO SOMETHING #+end_src Cheers, Rainer Thanks. Petro. -- Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax: +27 - (0)86 516 2782 Fax: +49 - (0)321 2125 2244 email: rai...@krugs.de Skype: RMkrug Google: r.m.k...@gmail.com -- Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [O] how send babel source code to shell?
Thanks to everybody. Everything is working. Somehow between yesterday (when everithing was working) and today I made a switch from :noweb yes to matlab style :noweb on . Shame on me. On Thu, Mar 3, 2011 at 3:04 PM, Eric Schulte schulte.e...@gmail.com wrote: You will need to combine multiple header arguments, try something like #+begin_src python :session *py* :noweb yes heterogeneous_fit #+end_src Please see this chapter of the manual for more information on code block syntax and header arguments. http://orgmode.org/manual/Working-With-Source-Code.html Best -- Eric Piter_ x.pi...@gmail.com writes: Hi. unfortunately it does not work. It does not recognize noweb blocks it sends it literally to the shell heterogeneous_fit Error: Unexpected MATLAB operator. Any advice to handle it? Thanks. Petro On Thu, Mar 3, 2011 at 2:33 PM, Rainer M Krug r.m.k...@gmail.com wrote: On Thu, Mar 3, 2011 at 2:20 PM, Piter_ x.pi...@gmail.com wrote: Hi all. I have a source code (in matlab or python). It cosists of two blocks (using noweb). I can evaluate it. But I want to send it to matlab or python shell. And inspect the result there (variable values and so on). Can I do it? Yes - use the :session header argument. Although I have never used in matlab or python ( I used in in R and sh), it should work there as well. e.g: #+begin_src python :session WHATEVER DO SOMETHING #+end_src Cheers, Rainer Thanks. Petro. -- Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax: +27 - (0)86 516 2782 Fax: +49 - (0)321 2125 2244 email: rai...@krugs.de Skype: RMkrug Google: r.m.k...@gmail.com -- Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [O] rownames in matlab or octave.
May be it is possible to add this possibility in org-babel. So one can predefine row and column names in the source header, and than use it for tabulated result? I definitely don't know elisp enough to implement it, but maybe some one will be interested in such feature to make it. Thanks. Petro On Wed, Mar 2, 2011 at 8:27 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote: Piter_ x.pi...@gmail.com writes: Hi all. Is is possible to output result from matlab source code with row (column) names, or it works only in R. Thanks. Petro. I would think not, at least in the automatic sense that R does it because Matlab doesn't have the concept of tables. Arrays do not have headings for either rows or columns. You could generate output that includes labels manually, using =printf=, say, which would then be interpreted the way you wish but this is not necessarily elegant or easy to generalise. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.576.g99675) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[O] combined graphical and textual result.
Hi all. I try to manage my experimental results in org mode. Some times I need from one source few results to be saved. For example I fit some data in a matlab source code block. From this I need a picture of the fit, and parameters of the fit. Can I have two results blocks? I am afraid that no. But may be there is a way to make it without duplicating the source code. Thanks. Petro. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[O] rownames in matlab or octave.
Hi all. Is is possible to output result from matlab source code with row (column) names, or it works only in R. Thanks. Petro. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org-mode is slow :(
Hi all. I use org-mode to organize and process my experimental data. By now my org file has 5000 lines with a lot of python and matlab code. I started to fill that org-mode becomes slower. I have to wait for characters to appear while typing and so on. Can anybody reccomend a way to speed it up? Thanks. Petro P.S. I have installed the org mode from GIT: make make doc make install I guess it is bytecompiled already. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-mode is slow :(
Thanks. Disabling linum-mode helps a lot:) On Thu, Feb 17, 2011 at 2:00 PM, Andreas Leha andreas.l...@med.uni-goettingen.de wrote: Hi Piter, First guess: functionality outside org-mode is slowing things down. First candidate: line numbers turned on? If yes, try disabling. Then there were discussions about speed here before, e.g. http://www.mail-archive.com/emacs-orgmode@gnu.org/msg27951.html Maybe you find sth there. HTH, Andreas Am 17.02.2011 13:29, schrieb Piter_: Hi all. I use org-mode to organize and process my experimental data. By now my org file has 5000 lines with a lot of python and matlab code. I started to fill that org-mode becomes slower. I have to wait for characters to appear while typing and so on. Can anybody reccomend a way to speed it up? Thanks. Petro P.S. I have installed the org mode from GIT: make make doc make install I guess it is bytecompiled already. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Preview link to text file inline?
Hi all. Preview link to text file inline? Is it possible in orgmode? Thanks. Petro ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] iimage and eps?
I have activated iimode as desribed here: http://orgmode.org/worg/org-configs/org-config-examples.html It works with png images but does not work with eps. May be it should not :( Thanks. Petro. On Wed, Feb 2, 2011 at 11:54 AM, Bastien bastien.gue...@wikimedia.fr wrote: Hi Piter, Piter_ x.pi...@gmail.com writes: Can I display eps images using iimage trick? Please give us more information: what did you try? How did it fail? Thanks, -- Bastien ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] formated result from matlab code?
Hi all I try to output some formated text using matlab source code block. for example --example1-cut-- #+begin_src matlab :output file :file fit_parameters.txt ki1=fopen('fit_parameters.txt','w'); fprintf(ki1,' Fit of the blabla \n ') fprintf(ki1,' amplitude: %.3g, uM \n',1) fprintf(ki1,' T*amplitude: %.3g, uM \n',1) fprintf(ki1,' Rsquare adjusted %.3g \n' ,0.99) fclose(ki1); #+end_src --cut-- but as result I get a file with single 0. And this example works well. --example2 cut-- #+begin_src matlab :output file :file chart.tiff figure plot(rand(1,10)) print -dtiff chart.tiff #+end_src --cut-- I have think I don't understand something basic. Or maybe someone can explain me how to get formated output in results slimilar to output below: #+results: amplitude: 8.05, uM T*amplitude: 8.02, uM T+amplitude: 0.0368, uM k(triplet decay): 1.66e+05 k(triplet to heme c): 4.13e+06 k(heme c to triplet): 4.54e+06 k(heme c to groung): 183 Thanks Petro. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] iimage and eps?
Hi all. Can I display eps images using iimage trick? Thanks. Petro. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] export to latex book ?
Hi all I try to export my org file into Latex book by adding: #+LaTeX_CLASS: book bu I get: org-export-latex-set-initial-vars: No definition for class `book ' in `org-export-latex-classes' But if I go into Org-Customize I can see it there. What can be wrong? Thanks. Petro. P.S. It actually does not work with #+LaTeX_CLASS:article. Only if I remove #+LaTeX_CLASS: from file. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org-learn question
Hi all. Can somebody tell me more detailed instruction about how to make learning data for org-learn mode? 5. Your learning data is kept in a special property called :LEARN_DATA:. Do not modify this, as it controls how the algorithm reschedules after future repetitions, and based on past quality responses. Thanks. Petro. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Orgmode and matlab again.
Hi all. Can some one point me out part of code from babel-org and python-babel which is responsible for opening python code in python mode and putting it back in orgmode. I've tried to read files in lang directory of babel, but my knowledge of lisp did not let me to figure it out. I wanted to connect emacs matlab mode and hope it will help me to do it. Thanks. Petro. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] remove/change [width=10em] in Latex import.
Hi all. If i include an image like [[file:/blablabla.eps]] Ill get in a latex import output: /includegraphics[width=10em]{file} How can I change this width option? Thanks. Petro. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] remove/change [width=10em] in Latex import.
Guilty, I have missed #+ATTR_LaTeX: option. I wonder if I can use underscore in filenames? http://www.mfasold.net/blog/2009/02/using-emacs-org-mode-to-draft-papers/ Here is written that not, and I really get some mess after export. Was there any workaround? Thanks. Petro. On Tue, Oct 20, 2009 at 11:34 AM, Carsten Dominik carsten.domi...@gmail.com wrote: On Oct 20, 2009, at 10:27 AM, Piter_ wrote: Hi all. If i include an image like [[file:/blablabla.eps]] Ill get in a latex import output: /includegraphics[width=10em]{file} How can I change this width option? By Reading the manual? http://orgmode.org/manual/Images-in-LaTeX-export.html#Images-in-LaTeX-export - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] remove/change [width=10em] in Latex import.
What version of Org-mode are you using? This does work for me without problems. - Carsten I've been using 6.05 from Debian Lenny repository. 5 minutes ago installed one from git. Everything works fine. Thanks a lot for this great mode. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org-babel and matplotlib?
Hi all. If I understand correctly, one can make inline images using org-babel and GNU-R. Will it work with matplotlib and python. Thanks Petro. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode