From: Jeff Horn <jrhorn424@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: [babel][bug] Export latex table using noweb suddenly broken?
Date: Wed, 2 Mar 2011 13:29:34 -0500 [thread overview]
Message-ID: <AANLkTineWMXG=D72Cvakh+u1df1avznDKEc=p7b63fbv@mail.gmail.com> (raw)
In-Reply-To: <87tyflwowb.fsf@gmail.com>
That's weird. This is what I get. Sorry I forgot to post it with the message:
----- 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 <schulte.eric@gmail.com> 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$, $\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 <jrhorn424@gmail.com> 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?
>
--
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
next prev parent reply other threads:[~2011-03-02 18:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-02 4:24 [babel][bug] Export latex table using noweb suddenly broken? Jeff Horn
2011-03-02 14:38 ` Eric Schulte
2011-03-02 18:29 ` Jeff Horn [this message]
2011-03-02 18:41 ` Eric Schulte
2011-03-03 7:40 ` Jeff Horn
2011-03-03 12:59 ` Eric Schulte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTineWMXG=D72Cvakh+u1df1avznDKEc=p7b63fbv@mail.gmail.com' \
--to=jrhorn424@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=schulte.eric@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).