[O] Generate and display image

2014-03-21 Thread Andrey Tykhonov
Hi all! What I want to do is to generate image (better to say a path to an image) in the org-file and then see it posted in my blog. For example, I have such block: #+BEGIN_SRC text2image :exports results Foo Bar Baz #+END_SRC There is text2image command line utility which takes a text and

[O] Custom babel execute command with existing syntax highlighting

2014-03-21 Thread Andrey Tykhonov
Hi all! I have such block: #+BEGIN_SRC my-python import sys sys.platform #+END_SRC I want it to be with syntax highlighting, so it will looks like (in a org-file) exactly as: #+BEGIN_SRC python import sys sys.platform #+END_SRC (of course the value of org-src-fontify-natively is t). but in

[O] org-html-do-format-code: End of buffer

2014-03-19 Thread Andrey Tykhonov
When I export org-file to the HTML by means of C-c C-e h H (as HTML buffer) I get the following error: org-html-do-format-code: End of buffer and exporting doesn't finish (buffer with the result doesn't appear). Mentioned org-file is pretty simple: #+name: basic-python #+begin_src python

Re: [O] org-html-do-format-code: End of buffer

2014-03-19 Thread Andrey Tykhonov
Hi Bastien! Bastien b...@gnu.org writes: Hi Andrey, Andrey Tykhonov atykho...@gmail.com writes: What is the problem? Why mentioned error occurs? How can I fix it? Please help. Can you reproduce the error with (setq debug-on-error t) and send us the backtrace? If you can do this from

Re: [O] Connect to the ssh and execute any command

2013-09-17 Thread Andrey Tykhonov
On Tue, Sep 17, 2013 at 08:54:51AM +0200, Michael Albinus wrote: Andrey Tykhonov atykho...@gmail.com writes: Hi Andrey, Hi Michael! Tramp does not use FUSE for ssh connections. Please show an example connection to the remote host, and how it fails. Here I try to ls -la and get

Re: [O] Connect to the ssh and execute any command

2013-09-16 Thread Andrey Tykhonov
On Fri, Sep 13, 2013 at 08:45:02AM +0200, Michael Albinus wrote: Andrey Tykhonov atykho...@gmail.com writes: [Cc to tramp-de...@gnu.org, because I want to help with Tramp config] Hi all! Hi Andrey, During last several days I was trying to implement quite simple script which: 1

[O] Connect to the ssh and execute any command

2013-09-12 Thread Andrey Tykhonov
Hi all! During last several days I was trying to implement quite simple script which: 1. Creates new buffer with the shell (M-x shell) 2. Executes there ssh usern...@domain.com. As result -- the password prompt appears in the minibuffer. I manually input password. 3. Then script executes any

[O] different font sizes for headings

2013-06-08 Thread Andrey Tykhonov
Hi all! I have installed emacs two days ago and org-mode yesterday. I'm new in it. And currently configuring everything in it. And I just recently found such screenshot: https://raw.github.com/juba/color-theme-tangotango/0a501959707b7637c72aba779651ea94cec96963/screenshots/tangotango_org.png