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:21:17 -0500 Message-ID: References: <87a7ly3jg0.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b6e8c8057b93b997" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRJdg-0004rL-Eq for emacs-orgmode@gnu.org; Mon, 26 Nov 2018 11:21:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRJdb-0008NR-Nh for emacs-orgmode@gnu.org; Mon, 26 Nov 2018 11:21:36 -0500 Received: from mail-pl1-f176.google.com ([209.85.214.176]:33110) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gRJdb-0008Mj-Gd for emacs-orgmode@gnu.org; Mon, 26 Nov 2018 11:21:31 -0500 Received: by mail-pl1-f176.google.com with SMTP id z23so14107803plo.0 for ; Mon, 26 Nov 2018 08:21:31 -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 --000000000000b6e8c8057b93b997 Content-Type: text/plain; charset="UTF-8" Thanks for the feedback. Makes sense if the latex code in the tabular environment is generated by table.el. I wonder however why the export to ASCII produces a caption. 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 --000000000000b6e8c8057b93b997 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks for the feedback. Makes sense if the latex code in = the tabular environment is generated by table.el. I wonder however why the = export to ASCII produces a caption.

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

Ulrich Wortman= n=C2=A0416 978 7084

Associate Chair Undergra= duate=C2=A0Affairs

Department of Earth Sciences

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

--000000000000b6e8c8057b93b997--