From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarmo Hurri Subject: Org list source block Date: Sun, 03 Jan 2016 14:39:30 +0200 Message-ID: <87d1tiygzh.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFhwp-0002PH-AM for emacs-orgmode@gnu.org; Sun, 03 Jan 2016 07:39:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFhwm-0002Mk-1F for emacs-orgmode@gnu.org; Sun, 03 Jan 2016 07:39:47 -0500 Received: from plane.gmane.org ([80.91.229.3]:51405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFhwl-0002Mg-QQ for emacs-orgmode@gnu.org; Sun, 03 Jan 2016 07:39:43 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aFhwj-0004Vx-Rk for emacs-orgmode@gnu.org; Sun, 03 Jan 2016 13:39:41 +0100 Received: from 82-181-168-52.bb.dnainternet.fi ([82.181.168.52]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jan 2016 13:39:41 +0100 Received: from jarmo.hurri by 82-181-168-52.bb.dnainternet.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jan 2016 13:39:41 +0100 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 Greetings. Once again I fail when I try to do something very _simple_ with Org. I am trying to define a checklist and then use the same list in my exported document in multiple locations. I don't think macros would work here, since my org code has multiple lines. So I am trying to use Babel. The idea would be the following (please ignore code block header arguments): # ----------------------------------------------------------------- * Test list #+NAME: my-list #+BEGIN_SRC org :exports code :results value org - [ ] foo - [ ] bar #+END_SRC #+BEGIN_SRC org :noweb yes <> #+END_SRC # ----------------------------------------------------------------- I have tried to do this in many different ways, but in my exported file the checklist always appears as an unformatted code block; that is, checklist appear as '[ ]', not as nicely formatted LaTeX boxes. I have tried to vary ':exports' and ':results' to no avail. What is the correct solution to this? BTW, if there is a solution to this, I think future generations might benefit if something about it were mentioned in the manual in section 11.6 "Macro replacement". Thanks in advance! Jarmo