From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Klein Subject: Re: comment section with latex_header Date: Tue, 24 Mar 2015 08:13:08 +0100 Message-ID: <55110E84.3060408@roklein.de> References: <87d23znv5a.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaJ1Z-0007oi-In for emacs-orgmode@gnu.org; Tue, 24 Mar 2015 03:13:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YaJ1V-00016k-6o for emacs-orgmode@gnu.org; Tue, 24 Mar 2015 03:13:17 -0400 Received: from gate1.mpip-mainz.mpg.de ([194.95.63.248]:63456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaJ1V-00016R-0X for emacs-orgmode@gnu.org; Tue, 24 Mar 2015 03:13:13 -0400 Received: from [10.20.2.71] (port=42593 helo=vmmail1.mpip-mainz.mpg.de) by gate1.mpip-mainz.mpg.de with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1YaJ1Q-0004Pt-0o for emacs-orgmode@gnu.org; Tue, 24 Mar 2015 08:13:08 +0100 Received: from pckr150.mpip-mainz.mpg.de ([10.20.70.90]) by vmmail1.mpip-mainz.mpg.de with esmtp (Exim 4.72) (envelope-from ) id 1YaJ1Q-0006yc-4V for emacs-orgmode@gnu.org; Tue, 24 Mar 2015 08:13:08 +0100 In-Reply-To: <87d23znv5a.fsf@nicolasgoaziou.fr> 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 On 03/24/2015 12:36 AM, Nicolas Goaziou wrote: > Hello, > > Andreas Leha writes: > >> If there are `#+latex_header:' entries in a section and that section is >> `COMMENT'ed out, I'd expect the #+latex_header entries to be >> uneffective. As they are when I comment them out one by one as in >> `# #+latex_header:'. >> >> Is this a bug? (I'd say, yes....) > > This is fixed in c9a52787c14c3a7429bcd3c8975350525e0baa04. Thank you. > > Regards, > Hello, this patch also breaks this kind of construct where not the table is exported, but the one created from the booktabs() call: ---> begin example <--- * Grundlagen *** COMMENT unexported subtree with table source #+tblname: masse | 1 gestr. Teelöffel | 1 gestr. Eßlöffel | 1 Tasse | | ca. 5 ccm | ca 15 ccm | ca 120 ccm | |---------------------+-----------------------+-------------| | Zimt 2 g | Haferflocken 8 g | Mehl 80 g | | Paprika 2 g | Speisestärke 9 g | Grieß 96 g | | Speisestärke 2--3 g | Mehl, Semmelmehl 10 g | Zucker 90 g | | Zucker 4 g | Salz, Zucker, Öl 15 g | | | Salz 5 g | Reis, Butter 15 g | | ** Maße und Gewichte #+call: booktabs(table=masse, align="lll") :results latex :exports results ---> end example <--- booktabs() code is from library-of-babel.org (currently residing in the doc directory). Also cf. http://orgmode.org/tmp/worg/org-contrib/babel/languages/ob-doc-LaTeX.html. However, in this org version (8.3 beta+) you get the same / similar results using ---> begin example <--- ** Maße und Gewichte #+tblname: masse #+attr_latex: :align lll :booktabs t | 1 gestr. Teelöffel | 1 gestr. Eßlöffel | 1 Tasse | | ca. 5 ccm | ca 15 ccm | ca 120 ccm | |---------------------+-----------------------+-------------| | Zimt 2 g | Haferflocken 8 g | Mehl 80 g | | Paprika 2 g | Speisestärke 9 g | Grieß 96 g | | Speisestärke 2--3 g | Mehl, Semmelmehl 10 g | Zucker 90 g | | Zucker 4 g | Salz, Zucker, Öl 15 g | | | Salz 5 g | Reis, Butter 15 g | | ---> end example <--- This change probably ought to be mentioned in the Changes for a 8.3 release. Best regards, Robert