emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: publishing a drawer


From: Łukasz Stelmach
Subject: [Orgmode] Re: publishing a drawer
Date: Sat, 06 Nov 2010 12:15:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Christian Moe <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]