all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* WISH: Add the possiblity to add captions to tables/images
@ 2008-11-20 13:26 Daniel Pörsch
  2008-11-21 14:34 ` Bernt Hansen
  2008-12-04 15:44 ` Carsten Dominik
  0 siblings, 2 replies; 6+ messages in thread
From: Daniel Pörsch @ 2008-11-20 13:26 UTC (permalink / raw)
  To: emacs-orgmode

Hi list,

a feature which I miss in org-mode is the possibility to add captions
to a table or a image. I use org-mode to prepare technical documents,
currently mostly to export to HTML. It would be very nice to have
usual technical writing style here as well. It would also be very
helpful for LaTeX where you hardly have any image or table w/o caption
(at least I didn't have it).

Proposal would be to introduce an optional special comment to give a
caption, e.g.:
| ...
|---------+-------------+-------+-------|
#+TBLCAP: This table expresses my wish to have a caption.

[[file:org-mode.png]]
#+IMGCAP: Org-mode logo.

Deplate for example has something similar for tables, see
http://deplate.sourceforge.net/Markup.html#tables.

Did you consider this already?

Cheers,
Daniel

--
Daniel Pörsch
danielpoe@gmx.de

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

* Re: WISH: Add the possiblity to add captions to tables/images
  2008-11-20 13:26 WISH: Add the possiblity to add captions to tables/images Daniel Pörsch
@ 2008-11-21 14:34 ` Bernt Hansen
  2008-11-21 14:54   ` Daniel Pörsch
  2008-12-04 15:44 ` Carsten Dominik
  1 sibling, 1 reply; 6+ messages in thread
From: Bernt Hansen @ 2008-11-21 14:34 UTC (permalink / raw)
  To: danielpoe; +Cc: emacs-orgmode

"Daniel Pörsch" <danielpoe@gmail.com> writes:

> Proposal would be to introduce an optional special comment to give a
> caption, e.g.:
> | ...
> |---------+-------------+-------+-------|
> #+TBLCAP: This table expresses my wish to have a caption.
>
> [[file:org-mode.png]]
> #+IMGCAP: Org-mode logo.

Would it be possible just to have a generic

#+CAPTION: Description goes here

instead that applies to anything that can have a caption?  This way you
don't need to remember exactly which caption tag you need to use for
each of the things with a caption.

Just my 2 cents.

-Bernt

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

* Re: WISH: Add the possiblity to add captions to tables/images
  2008-11-21 14:34 ` Bernt Hansen
@ 2008-11-21 14:54   ` Daniel Pörsch
  0 siblings, 0 replies; 6+ messages in thread
From: Daniel Pörsch @ 2008-11-21 14:54 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

Hi Bernt

2008/11/21 Bernt Hansen <bernt@norang.ca>:
> "Daniel Pörsch" <danielpoe@gmail.com> writes:
>
>> Proposal would be to introduce an optional special comment to give a
>> caption, e.g.:
>> | ...
>> |---------+-------------+-------+-------|
>> #+TBLCAP: This table expresses my wish to have a caption.
>>
>> [[file:org-mode.png]]
>> #+IMGCAP: Org-mode logo.
>
> Would it be possible just to have a generic
>
> #+CAPTION: Description goes here

This is also ok for me. Actually I don't care, whatever is easier to
implement (and I thought if you have to care about the fact if this
special comment is valid at this position, it may be easier to have
destinct names).

Cheers,
Daniel

-- 
Daniel Pörsch
danielpoe@gmx.de

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

* Re: WISH: Add the possiblity to add captions to tables/images
  2008-11-20 13:26 WISH: Add the possiblity to add captions to tables/images Daniel Pörsch
  2008-11-21 14:34 ` Bernt Hansen
@ 2008-12-04 15:44 ` Carsten Dominik
  2008-12-04 19:42   ` Bernt Hansen
  2009-01-12 12:55   ` Daniel Pörsch
  1 sibling, 2 replies; 6+ messages in thread
From: Carsten Dominik @ 2008-12-04 15:44 UTC (permalink / raw)
  To: danielpoe; +Cc: emacs-orgmode


On Nov 20, 2008, at 2:26 PM, Daniel Pörsch wrote:

> Hi list,
>
> a feature which I miss in org-mode is the possibility to add captions
> to a table or a image. I use org-mode to prepare technical documents,
> currently mostly to export to HTML. It would be very nice to have
> usual technical writing style here as well. It would also be very
> helpful for LaTeX where you hardly have any image or table w/o caption
> (at least I didn't have it).

HTML does not really have a natural way to add a caption to an image
or a table (as far as I know, that is).  What structural element
would you propose?

I do like the idea to add captions, but I will probably only get
around to that when after fixing a few bugs in the LaTeX exporter,
for which captions are even more interesting.

- Carsten

>
>
> Proposal would be to introduce an optional special comment to give a
> caption, e.g.:
> | ...
> |---------+-------------+-------+-------|
> #+TBLCAP: This table expresses my wish to have a caption.
>
> [[file:org-mode.png]]
> #+IMGCAP: Org-mode logo.
>
> Deplate for example has something similar for tables, see
> http://deplate.sourceforge.net/Markup.html#tables.
>
> Did you consider this already?
>
> Cheers,
> Daniel
>
> --
> Daniel Pörsch
> danielpoe@gmx.de
>
>
> _______________________________________________
> 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

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

* Re: WISH: Add the possiblity to add captions to tables/images
  2008-12-04 15:44 ` Carsten Dominik
@ 2008-12-04 19:42   ` Bernt Hansen
  2009-01-12 12:55   ` Daniel Pörsch
  1 sibling, 0 replies; 6+ messages in thread
From: Bernt Hansen @ 2008-12-04 19:42 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode, danielpoe

Carsten Dominik <dominik@science.uva.nl> writes:

> HTML does not really have a natural way to add a caption to an image
> or a table (as far as I know, that is).  What structural element
> would you propose?

Tables are easy.

<table> blah
<caption> the caption goes here </caption>
<tr> 
...
</tr>
</table>

http://www.w3.org/TR/html401/struct/tables.html#h-11.2.2

For images you can do it with CSS

http://www.w3.org/Style/Examples/007/figures

-Bernt

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

* Re: WISH: Add the possiblity to add captions to tables/images
  2008-12-04 15:44 ` Carsten Dominik
  2008-12-04 19:42   ` Bernt Hansen
@ 2009-01-12 12:55   ` Daniel Pörsch
  1 sibling, 0 replies; 6+ messages in thread
From: Daniel Pörsch @ 2009-01-12 12:55 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

2008/12/4 Carsten Dominik <dominik@science.uva.nl>:
>
> I do like the idea to add captions, but I will probably only get
> around to that when after fixing a few bugs in the LaTeX exporter,
> for which captions are even more interesting.

WOW, just saw that CAPTION support has been added recently! Will try
it out soon!

Great thanks!

-- 
Daniel Pörsch
danielpoe@gmx.de

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

end of thread, other threads:[~2009-01-12 12:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-20 13:26 WISH: Add the possiblity to add captions to tables/images Daniel Pörsch
2008-11-21 14:34 ` Bernt Hansen
2008-11-21 14:54   ` Daniel Pörsch
2008-12-04 15:44 ` Carsten Dominik
2008-12-04 19:42   ` Bernt Hansen
2009-01-12 12:55   ` Daniel Pörsch

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.