From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Horn Subject: Re: [babel][bug] Export latex table using noweb suddenly broken? Date: Wed, 2 Mar 2011 13:29:34 -0500 Message-ID: References: <87tyflwowb.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=52258 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Puqo9-0003IN-Us for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 13:31:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Puqo7-0005xG-7v for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 13:29:56 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:41230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Puqo7-0005wz-3P for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 13:29:55 -0500 Received: by fxm5 with SMTP id 5so335932fxm.0 for ; Wed, 02 Mar 2011 10:29:54 -0800 (PST) In-Reply-To: <87tyflwowb.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: Org-mode ml That's weird. This is what I get. Sorry I forgot to post it with the messag= e: ----- begin tex source ------ \section{Endogenizing Policy} \label{sec-1} TEst table export. \begin{verbatim} \begin{table}[htb!] \centering \begin{tabular}{llll} \toprule Expectation & Pre-policy & Post-policy & Cycle Summary \\ \midrule Larger gov't sector & $\downarrow C$, $\downarrow U$, $\uparrow K$, $\uparrow Y$ & $\downarrow C$, $\downarrow U$, $\downarrow K$, $\downarrow Y$ & SR $\uparrow Y$, LR $\downarrow Y$ \\ Smaller gov't sector & $\uparrow C$, $\uparrow U$, $\downarrow K$, $\downarrow Y$ & $\uparrow C$, $\uparrow U$, $\uparrow K$, $\uparrow Y$ & SR $\downarrow Y$, LR $\uparrow Y$ \\ \bottomrule \end{tabular} \end{table} \end{verbatim} ----- end tex source ------ On Wed, Mar 2, 2011 at 9:38 AM, Eric Schulte wrote= : > Hi Jeff, > > When I export your org-mode file below (or when I simply evaluate the > code block with C-c C-c) it results in the following content under > "Endogenizing Policy" header, which appears correct to me. > > --8<---------------cut here---------------start------------->8--- > \section{Endogenizing Policy} > \label{sec-1} > > Test table export. > > \begin{table}[htb!] > \centering > > \begin{tabular}{llll} > \toprule > Expectation & Pre-policy & Post-policy & Cycle Summary \\ > \midrule > Larger gov't sector & $\downarrow C$, $\downarrow U$, $\uparrow K$, $\upa= rrow Y$ & $\downarrow C$, $\downarrow U$, $\downarrow K$, $\downarrow Y$ & = SR $\uparrow Y$, LR $\downarrow Y$ \\ > Smaller gov't sector & $\uparrow C$, $\uparrow U$, =A0$\downarrow K$, $\d= ownarrow Y$ & $\uparrow C$, $\uparrow U$, $\uparrow K$, $\uparrow Y$ & SR $= \downarrow Y$, LR $\uparrow Y$ \\ > \bottomrule > \end{tabular} > > \end{table} > --8<---------------cut here---------------end--------------->8--- > > Best -- Eric > > Jeff Horn writes: > >> Hey orgsters, >> >> A sample document like the one below was compiling fine on an older >> git commit, say about 10 days ago. Now, the tabular environment is >> wrapped in latex verbatim. It's as if it is no longer respecting the >> :noweb header. >> >> ----- begin org doc ------ >> #+TITLE: =A0 =A0 Table Export Test >> >> * Endogenizing Policy >> Test table export. >> #+source: tab-export >> #+begin_src latex :exports results :results latex :noweb yes >> =A0 \begin{table}[htb!] >> =A0 \centering >> =A0 <> >> =A0 \end{table} >> =A0#+end_src >> ** Tables =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 :noexport: >> #+tblname: tab-test >> | Expectation =A0 =A0 =A0 =A0 =A0| Pre-policy >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 | Post-policy >> =A0 =A0 =A0 =A0 | Cycle Summary =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| >> |----------------------+------------------------------------------------= -------------+-------------------------------------------------------------= ---+------------------------------------| >> | Larger gov't sector =A0| $\downarrow C$, $\downarrow U$, $\uparrow K$, >> $\uparrow Y$ =A0| $\downarrow C$, $\downarrow U$, $\downarrow K$, >> $\downarrow Y$ | SR $\uparrow Y$, LR $\downarrow Y$ | >> | Smaller gov't sector | $\uparrow C$, $\uparrow U$, =A0$\downarrow K$, >> $\downarrow Y$ | $\uparrow C$, $\uparrow U$, $\uparrow K$, $\uparrow >> Y$ =A0 =A0 =A0 =A0 | SR $\downarrow Y$, LR $\uparrow Y$ | >> ------ end org doc ------ >> >> Can anyone else confirm? > --=20 Jeffrey Horn http://www.failuretorefrain.com/jeff/ -- Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode