From mboxrd@z Thu Jan 1 00:00:00 1970 From: BernardH Subject: =?UTF-8?B?VW5pY29kZSBjaGFyYWN0ZXJzIGV4cG9ydCBmcm9tIGJhYmVsIGNv?= =?UTF-8?B?ZGUgYmxvY2tzwqA/?= Date: Fri, 18 May 2012 18:40:14 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVS6M-00088z-EZ for emacs-orgmode@gnu.org; Fri, 18 May 2012 14:40:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SVS6K-0007Qf-MP for emacs-orgmode@gnu.org; Fri, 18 May 2012 14:40:33 -0400 Received: from plane.gmane.org ([80.91.229.3]:35997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVS6K-0007QZ-FJ for emacs-orgmode@gnu.org; Fri, 18 May 2012 14:40:32 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SVS6F-0001cF-O6 for emacs-orgmode@gnu.org; Fri, 18 May 2012 20:40:27 +0200 Received: from nor75-4-81-56-59-216.fbx.proxad.net ([81.56.59.216]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 May 2012 20:40:27 +0200 Received: from gmane.emacs.orgmode by nor75-4-81-56-59-216.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 May 2012 20:40:27 +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 Hi, In some literate program, I'd like to generate a data file. I do it with a shell here-document (is there a better way just to inline some text to tangle in a file?). It works when tangling but not when exporting to the pdf. Because there is a catch : I wanted to use unicode \25A0 ■ and \25A1 □ instead of '#' and ' '. With #+LATEX_HEADER: \usepackage{xltxtra} #+LATEX_HEADER: \setmainfont{DejaVu Serif} I can get the squares in the rgular text, however, the exported code remains blank where the squares should be ☹. Any help greatly appreciated ! Best Regards (and thx for the great ord-mode !) Bernard PS: excerpt from my babel code below … Using =\25A0= aka «black square» (■) and =\25A1= aka «white square» (□) to represent the wall and empty spaces of the maze. #+begin_src sh :file maze.txt :exports code :tangle yes cat - <