On Oct 31, 2010, at 9:47 AM, Magnus Nilsson wrote:Dear all,Is there a way to include an abstract that suits both LaTeX export and html export?I am thinking in lines of#+BEGIN_ABSTRACT:My abstract goes here#+END_ABSTRACT:and have it interpreted differently depending on the export used.
No, not yet, but I believe this would be useful to have. Make a patch
and I will look at it favorably.
Cheers
- Carsten
(org-add-link-type "latex-env" nil (lambda (path desc format) (cond ((eq format 'html) (format "<span style=\"color:grey;\">%s</span>" desc)) ((eq format 'latex) (format "\\begin{%s}%s\\end{%s}" path desc path)))))