ox-latex: Support caption for latex-environment
commit9faf000e6a6977135a1d09dba4a078cdd9e04b38
authorRasmus <rasmus@gmx.us>
Thu, 16 Mar 2017 11:45:10 +0000 (16 12:45 +0100)
committerRasmus <rasmus@gmx.us>
Fri, 24 Mar 2017 16:22:11 +0000 (24 17:22 +0100)
tree75ceba96262bc9203ecb3844810f9b544e6b19a1
parent8a7fe3c2193fd82fc238df6e20eaf6ce0d8e3fab
ox-latex: Support caption for latex-environment

* lisp/ox-latex.el (org-latex--environment-type): New function
  determining type of a latex-environment.
  (org-latex-latex-environment): Add support for caption.
  (org-latex--caption/label-string): Use correct type for non-floating
  latex-environments.
* etc/ORG-NEWS: Add entry.
etc/ORG-NEWS
lisp/ox-latex.el