org-export: New `org-export-get-parent-paragraph' function
commit664271cde7be81b73f2f3ba4c08c5448a38c8955
authorNicolas Goaziou <n.goaziou@gmail.com>
Thu, 16 Feb 2012 14:44:17 +0000 (16 15:44 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Thu, 16 Feb 2012 19:14:31 +0000 (16 20:14 +0100)
tree8bfc073579da677bd4cc2cd321a59dda7146a7d4
parent7d3f7f60e0ac13b142c90a9917f9671dbd43e2a4
org-export: New `org-export-get-parent-paragraph' function

* contrib/lisp/org-export.el (org-export-get-genealogy,
org-export-get-parent-paragraph): New functions.
(org-export-get-parent-headline, org-export-get-previous-element,
org-export-get-next-element): Internally use new function.
* EXPERIMENTAL/org-e-latex.el (org-e-latex-link--inline-image,
org-e-latex-link): Apply changes to topology functions.

This new function is especially useful since every object derives its
properties from those the containing paragraph.
EXPERIMENTAL/org-e-latex.el
contrib/lisp/org-export.el