emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Handling of inline images
@ 2006-04-30 20:28 David O'Toole
  2006-05-08  5:59 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: David O'Toole @ 2006-04-30 20:28 UTC (permalink / raw)
  To: emacs-orgmode


Currently if you do this: 

[[file:path_to_image][Description]]

the description seems to be thrown away and there seems to be no way
to link to an image inline in one place, not inline in another place. 

I'd like to propose that when inline-images is on for a document, 

the following link:

file:path_to_image 

result in inlining, whereas:

[[file:path_to_image][Description]]

not result in inlining, instead letting the text "Description" be a
plain text link to the image. 

This way we could choose by the link type, whether the image is
inlined. The reason is, most of the time I want inline images, but
sometimes I want to post a large screenshot...



-- 
Dave O'Toole
dto@gnu.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Handling of inline images
  2006-04-30 20:28 Handling of inline images David O'Toole
@ 2006-05-08  5:59 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2006-05-08  5:59 UTC (permalink / raw)
  To: David O'Toole; +Cc: emacs-orgmode


On Apr 30, 2006, at 22:28, David O'Toole wrote:

>
> Currently if you do this:
>
> [[file:path_to_image][Description]]
>
> the description seems to be thrown away and there seems to be no way
> to link to an image inline in one place, not inline in another place.
>
> I'd like to propose that when inline-images is on for a document,
>
> the following link:
>
> file:path_to_image
>
> result in inlining, whereas:
>
> [[file:path_to_image][Description]]
>
> not result in inlining, instead letting the text "Description" be a
> plain text link to the image.

No, I don't think this is acceptable.  Plain links are not different 
from bracketed links, and this difference should not be misused.  What 
are you going to do if the path to the file name contains space 
characters?  Then you always need the brackets around the link etc.

How about

   [[file:path_to_image]]

for an inline image and

   [[file:path_to_image][Description]]

for a linked image?  This looks more consistent to me.  Would this 
break anything else?

- Carsten


>
> This way we could choose by the link type, whether the image is
> inlined. The reason is, most of the time I want inline images, but
> sometimes I want to post a large screenshot...
>
>
>
> -- 
> Dave O'Toole
> dto@gnu.org
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-05-08  9:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-30 20:28 Handling of inline images David O'Toole
2006-05-08  5:59 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).