Re: [O] get rid of empty caption on html export?

2012-08-19 Thread Bastien
Hi Matt,

Matt Price mopto...@gmail.com writes:

 I have asimpl table in an org document which, when i export to HTML,
 is for some reason accompanied by an empty caption/caption tag. 

This is now fixed, thanks for reporting this.

-- 
 Bastien



Re: [O] get rid of empty caption on html export?

2012-08-18 Thread Jambunathan K
Matt Price mopto...@gmail.com writes:

 Hi,

 I have asimpl table in an org document which, when i export to HTML,
 is for some reason accompanied by an empty caption/caption tag. My
 wordpress theme causes the caption to take up valuable space... is
 there any way to surpress the caption tag from being created on
 export? If not, maybe osmeone has a css trick that will stop the
 caption tag from taking up vertical space on the screen if there's
 nothing inside it? 

I have fixed this in org-e-html.el.

Please export with M-x org-export-dispatch RET etc etc

 Thanks as always!
 matt



-- 



[O] get rid of empty caption on html export?

2012-08-17 Thread Matt Price
Hi,

I have asimpl table in an org document which, when i export to HTML, is for
some reason accompanied by an empty caption/caption tag.  My wordpress
theme causes the caption to take up valuable space...  is there any way to
surpress the caption tag from being created on export?  If not, maybe
osmeone has a css trick that will stop the caption tag from taking up
vertical space on the screen if there's nothing inside it?

Thanks as always!
matt


Re: [O] get rid of empty caption on html export?

2012-08-17 Thread Nick Dokos
Matt Price mopto...@gmail.com wrote:

  I have asimpl table in an org document which, when i export to HTML,
 is for some reason accompanied by an empty caption/caption tag. 
 My wordpress theme causes the caption to take up valuable space...  is
 there any way to surpress the caption tag from being created on
 export?  If not, maybe osmeone has a css trick that will stop the
 caption tag from taking up vertical space on the screen if there's
 nothing inside it? 

org-html.el says:

,
|   ;; Since the output of HTML table formatter can also be used in
|   ;; DocBook document, we want to always include the caption to make
|   ;; DocBook XML file valid.
|   (push (format caption%s/caption (or caption )) html)
`

which seems a bit smelly to me, but it explains the empty caption.
Sorry, can't help with CSS.

Nick