Re: [O] insert picture feature request.

2011-05-25 Thread Stinky Wizzleteet
the replace sequence, but it would take me awhile in lisp. Is there a quick fix? Thanks! Mark --- On Wed, 5/4/11, Russell Adams wrote: From: Russell Adams Subject: Re: [O] insert picture feature request. To: "Rainer Stengele" Date: Wednesday, May 4, 2011, 6:19 AM On Wed, May 04, 201

Re: [O] insert picture feature request.

2011-05-16 Thread Aankhen
Sorry for the late response! I forgot about this thread. On Mon, May 9, 2011 at 07:35, Mark S. wrote: > Note to Aankhen: To get inline images to work, you need to install the PNG > and JPEG libraries from http://gnuwin32.sourceforge.net/ . Then put the > resulting C:...gnuwin32/bin directory i

Re: [O] insert picture feature request.

2011-05-08 Thread Mark S.
)) ) ".png"))) (call-process "C:\\Program Files\\IrfanView\\i_view32.exe" nil nil nil "/clippaste" (concat "/convert=" filename) ) (insert (concat "[[file:" filename "]]")) (org-display-inline-images)) --- On Sun,

Re: [O] insert picture feature request.

2011-05-08 Thread Nick Dokos
Mark S. wrote: > Additional thought. Having all those pngs in the main directory will > get messy. I would like to put them in a sub-directory like > "images". But there doesn't seem to be an easy way to insert that into > (buffer-file-name). I've looked, but can't seem to be a variable that > ju

Re: [O] insert picture feature request.

2011-05-08 Thread Mark S.
at just holds the current buffer directory. Where would I start? Thanks! Mark --- On Sun, 5/8/11, Mark S. wrote: > From: Mark S. > Subject: Re: [O] insert picture feature request. > To: emacs-orgmode@gnu.org > Date: Sunday, May 8, 2011, 9:28 AM > Thanks Aankhen. > >

Re: [O] insert picture feature request.

2011-05-08 Thread Mark S.
quot; filename) ) (insert (concat "[[" filename "]]")) (org-display-inline-images)) --- On Sat, 5/7/11, Aankhen wrote: > Subject: Re: [O] insert picture feature request. > > I believe ‘convert-standard-filename’ should do it: > > , > | (defun org-screenshot

Re: [O] insert picture feature request.

2011-05-07 Thread Aankhen
Hullo, On Sun, May 8, 2011 at 03:03, Mark S. wrote: > This is very close ... I think. The problem is that the file name needs to be > formatted for Windows. Currently its formatted  using unix style forward > slashes. The file name that is passed to irfan in the call process needs to > be form

Re: [O] insert picture feature request.

2011-05-07 Thread Mark S.
[O] insert picture feature request. > To: "Rainer Stengele" > Date: Wednesday, May 4, 2011, 6:19 AM > On Wed, May 04, 2011 at 12:01:53PM > +0200, Rainer Stengele wrote: > > > i_view32.exe /capture=2 > /convert=c:\capture_$U(%d%m%Y_%H%M%S).jpg > > (defun o

Re: [O] insert picture feature request.

2011-05-04 Thread Jambunathan K
Jambunathan K writes: >> +1 for windows support. >> >> I would also need such a image copy tool under windows. > >> >> A way to capture an image and have it referenced/included in an org file >> with a simple keychord would be most welcome. >> >> For me this is one of the things I miss a lot whil

Re: [O] insert picture feature request.

2011-05-04 Thread Rainer Stengele
> > I will try this in my Org environment. > > -- Rainer > > > > Am 04.05.2011 02:37, schrieb Mark S.: >> This doesn't work under windows even if you have ImageMagick installed. Is >> there a similar way to capture and insert a pi

Re: [O] insert picture feature request.

2011-05-04 Thread Russell Adams
On Wed, May 04, 2011 at 12:01:53PM +0200, Rainer Stengele wrote: > i_view32.exe /capture=2 /convert=c:\capture_$U(%d%m%Y_%H%M%S).jpg (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."

Re: [O] insert picture feature request.

2011-05-04 Thread Jambunathan K
> +1 for windows support. > > I would also need such a image copy tool under windows. > > A way to capture an image and have it referenced/included in an org file > with a simple keychord would be most welcome. > > What most of my colleagues - non Emacs users - do is open MS Word, > paste some ca

Re: [O] insert picture feature request.

2011-05-04 Thread Rainer Stengele
under windows? > > Thanks! > > --- On Mon, 5/2/11, Russell Adams wrote: > >> From: Russell Adams >> Subject: Re: [O] insert picture feature request. >> To: emacs-orgmode@gnu.org >> Date: Monday, May 2, 2011, 6:28 AM >> On Mon, May 02, 2011 at 02:42:41PM

Re: [O] insert picture feature request.

2011-05-03 Thread Mark S.
This doesn't work under windows even if you have ImageMagick installed. Is there a similar way to capture and insert a picture under windows? Thanks! --- On Mon, 5/2/11, Russell Adams wrote: > From: Russell Adams > Subject: Re: [O] insert picture feature request. > To: emacs-o

Re: [O] insert picture feature request.

2011-05-02 Thread Piter_
Thanks. It is what I need. Than On Mon, May 2, 2011 at 4:23 PM, brian powell 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

Re: [O] insert picture feature request.

2011-05-02 Thread brian powell
* 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)

Re: [O] insert picture feature request.

2011-05-02 Thread Russell Adams
On Mon, May 02, 2011 at 02:42:41PM +0200, Piter_ wrote: > 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

[O] insert picture feature request.

2011-05-02 Thread Piter_
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