From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Henney Subject: [babel] bug in ob-latex - :exports argument is not honored when it is set as a header property Date: Fri, 23 Sep 2011 13:30:58 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=90e6ba21235948d8ec04ada003eb Return-path: Received: from eggs.gnu.org ([140.186.70.92]:49618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7AXb-0003Xi-Vr for emacs-orgmode@gnu.org; Fri, 23 Sep 2011 14:32:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R7AXa-00057W-RY for emacs-orgmode@gnu.org; Fri, 23 Sep 2011 14:32:03 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:48435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7AXa-00057H-OM for emacs-orgmode@gnu.org; Fri, 23 Sep 2011 14:32:02 -0400 Received: by iaen33 with SMTP id n33so5908307iae.0 for ; Fri, 23 Sep 2011 11:32:00 -0700 (PDT) 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-org --90e6ba21235948d8ec04ada003eb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear list I believe I have found a bug in the export of latex source blocks (to HTML, ascii, etc) when ob-latex.el has been loaded. In summary, setting the :exports argument as a header property fails to override the default value in org-babel-default-header-args:latex Please see the attached org file for a demonstration. Cheers Will --=20 =A0 Dr William Henney, Centro de Radioastronom=EDa y Astrof=EDsica, =A0 Universidad Nacional Aut=F3noma de M=E9xico, Campus Morelia --90e6ba21235948d8ec04ada003eb Content-Type: application/octet-stream; name="test-export-latex-src-block.org" Content-Disposition: attachment; filename="test-export-latex-src-block.org" Content-Transfer-Encoding: base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