Christian Moe <m...@christianmoe.com> writes:

> On 11/3/10 12:48 PM, Łukasz Stelmach wrote:
>> Hello.
>>
>> Is it possible to publish drawer's content during export (both HTML and
>> LaTeX)? I am creating a presentation with S5 and I'd love to have
>> :LOGBOOK: (or :NOTES:) published as<div class="notes"></div>  (or
>> \note{} for Beamer).
>>
>
> The following ought to work, but doesn't for Latex. Code improvements
> welcome.
>
> * Set option to include drawers in export
>
> : #+OPTIONS: d:t
>
> For some reason, this doesn't work for me with Latex export. I've
> filed a bug report.
>
> * Customize drawer export
>
> Make org-export-format-drawer-function point to a custom function,
> e.g. like this for your exact case (improvements welcome):
>
> #+begin_src emacs-lisp
>   (defun my-org-export-format-drawer (name content backend)
[...]

Looks quite promising :-) I will surely try it. Thanks.

-- 
Miłego dnia,
Łukasz Stelmach


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to