From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Controlling example block export? Date: Tue, 01 Apr 2014 12:10:12 +0200 Message-ID: <87k3b9mkcb.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUvd9-0002Xi-0V for emacs-orgmode@gnu.org; Tue, 01 Apr 2014 06:09:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WUvd2-0001b7-Qp for emacs-orgmode@gnu.org; Tue, 01 Apr 2014 06:09:18 -0400 Received: from plane.gmane.org ([80.91.229.3]:43486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUvd2-0001ay-K6 for emacs-orgmode@gnu.org; Tue, 01 Apr 2014 06:09:12 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WUvd1-0005p2-Ja for emacs-orgmode@gnu.org; Tue, 01 Apr 2014 12:09:11 +0200 Received: from e178190017.adsl.alicedsl.de ([85.178.190.17]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Apr 2014 12:09:11 +0200 Received: from tjolitz by e178190017.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Apr 2014 12:09:11 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Heikki Lehvaslaiho writes: > I am using example blocks as inline notes where I paste snippets of > (pre-formatted) text. I'd like to be able to control the exporting of > those block individually (per document would also be useful). I do not > seem to be able to find documentation about anything along those > lines. > > Here is a mock-up: > > #+BEGIN_EXAMPLE :exports none > private notes... > #+END_EXAMPLE I don't think example blocks take arguments. You might try #+BEGIN_SRC org :exports none private notes... #+END_SRC or collect these example blocks in subtrees with export tags/properties. > A bigger question is that while code blocks are well defined and well > documented, all other blocks are not. Is there somewhere a design > document the would give a logic of having different blocks and how > they are controlled? Maybe there is an other type of a block that does > what I want? > The inline documentation in ox*.el files is too low level to be > helpful. AFAIK export of these block types is backend specific, e.g. ox-ascii.el might treat example block different than ox-html.el, so thats where to look. ,--------------------------- | C-h v org-export-with- TAB `--------------------------- gives some hints too. Using drawers instead of example blocks would enable you to toggle export documentwise. I asked a similar 'bigger' question before, and remember that the answer was more or less 'the block name says it all'. However, here is a (dense) description of the org syntax: ,-------------------------------------------- | http://orgmode.org/worg/dev/org-syntax.html `-------------------------------------------- -- cheers, Thorsten