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
"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
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
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
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
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