From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?=C5=81ukasz?= Stelmach Subject: Re: publishing a drawer Date: Sat, 06 Nov 2010 12:15:09 +0100 Message-ID: <87vd4ahfeq.fsf@dasa3.iem.pw.edu.pl> References: <87pqum7hmq.fsf@dasa3.iem.pw.edu.pl> <4CD3CC7B.1000505@christianmoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=33830 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PEgk0-0006Y6-8y for emacs-orgmode@gnu.org; Sat, 06 Nov 2010 07:15:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PEgjz-0004oB-3F for emacs-orgmode@gnu.org; Sat, 06 Nov 2010 07:15:24 -0400 Received: from lo.gmane.org ([80.91.229.12]:58754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PEgjy-0004o7-Pt for emacs-orgmode@gnu.org; Sat, 06 Nov 2010 07:15:23 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PEgjx-0006SV-A4 for emacs-orgmode@gnu.org; Sat, 06 Nov 2010 12:15:21 +0100 Received: from dasa3.iem.pw.edu.pl ([194.29.147.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Nov 2010 12:15:21 +0100 Received: from lukasz.stelmach by dasa3.iem.pw.edu.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Nov 2010 12:15:21 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Christian Moe 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
(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