[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [babel][bug] Export latex table using noweb suddenly broken?
From: |
Eric Schulte |
Subject: |
Re: [O] [babel][bug] Export latex table using noweb suddenly broken? |
Date: |
Wed, 02 Mar 2011 07:38:48 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
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$, $\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}
--8<---------------cut here---------------end--------------->8---
Best -- Eric
Jeff Horn <address@hidden> 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: Table Export Test
>
> * Endogenizing Policy
> Test table export.
> #+source: tab-export
> #+begin_src latex :exports results :results latex :noweb yes
> \begin{table}[htb!]
> \centering
> <<booktabs(table=tab-test,align="llll",env="tabular")>>
> \end{table}
> #+end_src
> ** Tables :noexport:
> #+tblname: tab-test
> | Expectation | Pre-policy
> | Post-policy
> | Cycle Summary |
> |----------------------+-------------------------------------------------------------+----------------------------------------------------------------+------------------------------------|
> | 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$ |
> ------ end org doc ------
>
> Can anyone else confirm?