From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ulrich G. Wortmann" Subject: Re: Bug: org export table.el [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.1/lisp/org/)] Date: Mon, 26 Nov 2018 11:30:43 -0500 Message-ID: References: <87a7ly3jg0.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000643741057b93db5d" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRJmm-000148-Og for emacs-orgmode@gnu.org; Mon, 26 Nov 2018 11:31:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRJmi-0004cY-9h for emacs-orgmode@gnu.org; Mon, 26 Nov 2018 11:31:00 -0500 Received: from mail-pl1-f177.google.com ([209.85.214.177]:44554) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gRJmi-0004cD-39 for emacs-orgmode@gnu.org; Mon, 26 Nov 2018 11:30:56 -0500 Received: by mail-pl1-f177.google.com with SMTP id k8so3465968pls.11 for ; Mon, 26 Nov 2018 08:30:56 -0800 (PST) In-Reply-To: <87a7ly3jg0.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --000000000000643741057b93db5d Content-Type: text/plain; charset="UTF-8" I had a quick look at table.el It exports only a tabular command, not a table. Is there a way to make org wrap the \begin{tabular} \end{tabular} into a regular \begin{table} \end{table} This would be perfectly correct latex, and keep the export mechanism, neatly separated Cheers Uli On Sat, 24 Nov 2018 at 04:37 Nicolas Goaziou wrote: > Hello, > > "Ulrich G. Wortmann" writes: > > > the following problem occurs reproducibly with GNU Emacs 26.1 (see below > > for details), even when starting emacs with -Q > > > > If I use a table in my org file and convert that table to table.el the > > caption is not exported into either the HTML or Latex File. Export to > ASCII > > works as expected. If I convert the table back to org-table format, the > > Latex and HTML export of the caption work as expected. As a side note, > any > > other #+ expressions (e.g., Latex-Attr, Labels etc) won't be exported > > either if the table is in table.el format > > > > Expected behavior: #+CAPTION: is being exported regardless what table > > format has been selected. > > > > #+CAPTION: Test caption on top of table.el > > +---+---+---+ > > > > | 1 | 2 | 3 | > > +---+---+---+ > > | 4 | 5 | 6 | > > +---+---+---+ > > | 6 | 7 | 8 | > > +---+---+---+ > > Export of table.el tables is not handled by Org, but by "table.el" > library. In other words, Org keywords are expected to work only on Org > tables. > > Regards, > > -- > Nicolas Goaziou > -- Ulrich Wortmann 416 978 7084 Associate Chair Undergraduate Affairs Department of Earth Sciences University of Toronto 22 Russel St., Toronto, ON, Canada, M5S 3B1 --000000000000643741057b93db5d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I had a quick look at table.el

It expor= ts only a tabular command, not a table. Is there a way to make org wrap the= =C2=A0

\begin{tabular}
\end{tabular}

into a regular

\begin{table}=
\end{table}

This would be perfectly cor= rect latex, and keep the export mechanism, neatly separated

<= /div>
Cheers

Uli

On Sat, 24 Nov 2018 at 04:37 Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:=
Hello,

"Ulrich G. Wortmann" <uli.wortmann@utoronto.ca> writes:

> the following problem occurs reproducibly with=C2=A0 GNU Emacs 26.1 (s= ee below
> for details), even when starting emacs with -Q
>
> If I use a table in my org file and convert that table to table.el the=
> caption is not exported into either the HTML or Latex File. Export to = ASCII
> works as expected. If I convert the table back to org-table format, th= e
> Latex and HTML export of the caption work as expected. As a side note,= any
> other #+ expressions (e.g., Latex-Attr, Labels etc) won't be expor= ted
> either if the table is in table.el format
>
> Expected behavior: #+CAPTION:=C2=A0 is being exported regardless what = table
> format has been selected.
>
> #+CAPTION: Test caption on top of table.el
> +---+---+---+
>
> | 1 | 2 | 3 |
> +---+---+---+
> | 4 | 5 | 6 |
> +---+---+---+
> | 6 | 7 | 8 |
> +---+---+---+

Export of table.el tables is not handled by Org, but by "table.el"= ;
library. In other words, Org keywords are expected to work only on Org
tables.

Regards,

--
Nicolas Goaziou
--

Ul= rich Wortmann=C2=A0416 978 7084

Associate Ch= air Undergraduate=C2=A0Affairs

Department of Earth Scienc= es

University of Toronto
22 Russel St., Toronto, ON, Canada, M5S 3B1

--000000000000643741057b93db5d--