emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Possible bug in export of table in latex
@ 2015-01-06 13:03 Giuseppe Lipari
  2015-01-06 18:15 ` Eric S Fraga
  2015-01-06 22:32 ` Nicolas Goaziou
  0 siblings, 2 replies; 6+ messages in thread
From: Giuseppe Lipari @ 2015-01-06 13:03 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1563 bytes --]

Dear all,

happy new year to everybody!

I think I might have discovered a bug.
I am preparing some slides using org-beamer mode. Here is the snippet of a
table I have in my file:


   #+ATTR_LATEX: :float t :width 4cm
   | /Single node app/ | /Distributed app/           |
   |-------------------+-----------------------------|
   | Operating System  | Distributed OS              |
   | Network           | Network programming libs    |
   | Progr. language   | Distributed Progr. language |
   |-------------------+-----------------------------|

If I understand well from the documentation, the "width" option should set
the width of the table. However, the exporter produces the following latex
snippet:


\begin{table}[htb]
\centering
\begin{tabular}{4cm}{ll}
\emph{Single node app} & \emph{Distributed app}\\
\hline
Operating System & Distributed OS\\
Network & Network programming libs\\
Progr. language & Distributed Progr. language\\
\hline
\end{tabular}
\end{table}
\end{frame}


Clearly, the lenght specification went in the wrong place, as the first
parameter of tabular should not be the width of the table, but the column
alignment.

I am running the most updated version from git, that is 8.3beta

All the best,

Giuseppe Lipari




-- 
Giuseppe Lipari
LIFL
Université de Lille 1
blogs: http://scacciamennule.blogspot.com  (Italian)
<http://scacciamennule.blogspot.com>
          http://okpanico,wordpress.com          (Italian)
          http://algoland.wordpress.com           (English)

[-- Attachment #2: Type: text/html, Size: 2332 bytes --]

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

end of thread, other threads:[~2015-01-08 16:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-06 13:03 Possible bug in export of table in latex Giuseppe Lipari
2015-01-06 18:15 ` Eric S Fraga
2015-01-06 22:32 ` Nicolas Goaziou
2015-01-08  8:40   ` Giuseppe Lipari
2015-01-08 16:47     ` Nicolas Goaziou
2015-01-08 16:57       ` Andreas Leha

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).