I'd like to embed org-mode
tables in my latex files and have org mode take care of formatting floating point numbers.
Based on A.6.2 of the org-mode
manual (http://orgmode.org/org.pdf) I expected this to work, in particular to produce 1.0 & 2.0 \\
:
\documentclass{article}
\usepackage{comment}
\begin{document}
\begin{comment}
#+ORGTBL: SEND table-name orgtbl-to-latex :splice t :fmt (1 "%.3s" 2 "%.2f")
| 1.000 | 2.000 |
\end{comment}
\begin{tabular}{lrr}
% BEGIN RECEIVE ORGTBL table-name
% END RECEIVE ORGTBL table-name
\end{tabular}
\end{document}
However, it doesn't. Instead i get an error: Format specifier doesn't match argument type
Any ideas? Is %s
the only supported format or am I missing somthing? (Why?)