all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [new exporter]: LaTeX output from babel escapes comment delimiter
@ 2012-10-25  0:15 Michael Gauland
  2012-10-25  1:14 ` Thomas S. Dye
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Gauland @ 2012-10-25  0:15 UTC (permalink / raw)
  To: emacs-orgmode

I use the xtables package in R to generate nice-looking tables for LaTeX output,
as in the snippet below. The new exporter escapes the % symbol in the R output,
so that the comments generated by xtable are no longer comments. 

* Snippet
  #+HEADER: :results output latex
  #+HEADER: :exports results
  #+BEGIN_SRC R
  library(xtable)
  xtable(matrix(c(1,2,3,4),nrow=2,ncol=2))
  #+END_SRC

  #+RESULTS:
  #+BEGIN_LaTeX
  % latex table generated in R 2.15.1 by xtable 1.7-0 package
  % Thu Oct 25 13:11:30 2012
  \begin{table}[ht]
  \begin{center}
  \begin{tabular}{rrr}
    \hline
   & 1 & 2 \\ 
    \hline
  1 & 1.00 & 3.00 \\ 
    2 & 2.00 & 4.00 \\ 
     \hline
  \end{tabular}
  \end{center}
  \end{table}
  #+END_LaTeX

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-10-25 22:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-25  0:15 [new exporter]: LaTeX output from babel escapes comment delimiter Michael Gauland
2012-10-25  1:14 ` Thomas S. Dye
2012-10-25  3:41   ` Nick Dokos
2012-10-25 12:08     ` Nicolas Goaziou
2012-10-25 22:20       ` Michael Gauland

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.