From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ulrich G. Wortmann" Subject: Bug: org export table.el [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.1/lisp/org/)] Date: Fri, 23 Nov 2018 14:45:08 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002c388a057b5a391a" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQHOL-0000fq-06 for emacs-orgmode@gnu.org; Fri, 23 Nov 2018 14:45:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQHOH-0006Yo-7A for emacs-orgmode@gnu.org; Fri, 23 Nov 2018 14:45:28 -0500 Received: from mail-pl1-f175.google.com ([209.85.214.175]:41574) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gQHOF-0006V2-6X for emacs-orgmode@gnu.org; Fri, 23 Nov 2018 14:45:25 -0500 Received: by mail-pl1-f175.google.com with SMTP id u6so11018635plm.8 for ; Fri, 23 Nov 2018 11:45:21 -0800 (PST) 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 --0000000000002c388a057b5a391a Content-Type: text/plain; charset="UTF-8" Dear All, 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 | +---+---+---+ Cheers Uli Emacs : GNU Emacs 26.1 (build 1, x86_64-suse-linux-gnu, GTK+ Version 3.24.1) Package: Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.1/lisp/org/) current state: ============== (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-after-todo-state-change-hook '(org-clock-out-if-current) org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function org-odt-format-headline-function 'org-odt-format-headline-default-function org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-block-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-archive-hook '(org-attach-archive-delete-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-bibtex-headline-format-function #[257 "\300 \236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"] org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-ascii-format-drawer-function #[771 " \207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"] org-occur-hook '(org-first-headline-recenter) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("id" :follow org-id-open) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs") ("doi" :follow org--open-doi-link) ("elisp" :follow org--open-elisp-link) ("file" :complete org-file-complete-link) ("ftp" :follow (lambda (path) (browse-url (concat "ftp:" path)))) ("help" :follow org--open-help-link) ("http" :follow (lambda (path) (browse-url (concat "http:" path)))) ("https" :follow (lambda (path) (browse-url (concat "https:" path)))) ("mailto" :follow (lambda (path) (browse-url (concat "mailto:" path)))) ("news" :follow (lambda (path) (browse-url (concat "news:" path)))) ("shell" :follow org--open-shell-link)) org-latex-format-headline-function 'org-latex-format-headline-default-function org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-html-format-headline-function 'org-html-format-headline-default-function ) -- Ulrich Wortmann 416 978 7084 Associate Chair Undergraduate Affairs Department of Earth Sciences University of Toronto 22 Russel St., Toronto, ON, Canada, M5S 3B1 --0000000000002c388a057b5a391a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear All,

the following problem occurs = reproducibly with=C2=A0=C2=A0GNU Emacs 26.1 (see below for details), even w= hen starting emacs with -Q

If I use a table in my = org=C2=A0file and convert that table to table.el the caption is not exporte= d 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=C2=A0= is in table.el format

Expected behavior:=C2=A0#+CA= PTION:=C2=A0 is being exported regardless what table format has been select= ed.

#+CAPTION: Test caption on top of table.e= l
+---+---+---+
| 1 | 2 | 3 |
+---+---+---+
| 4 | 5 | 6 |
+---+---+---+
| 6 | 7 | 8 |
+---+---+---+

Cheers

Uli

Emacs=C2=A0 : GNU Emacs 26.1 (bui= ld 1, x86_64-suse-linux-gnu, GTK+ Version 3.24.1)
Package: Org mo= de version 9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.1/lisp/org= /)

current state:
=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D
(setq
=C2=A0org-src-mode-hook = 9;(org-src-babel-configure-edit-buffer
=C2=A0 =C2=A0 =C2=A0org-src-mode-configure-edit-buffer)
=C2=A0org-after-todo-state-change-hook '(org-clock-out-if-current= )
=C2=A0org-metadown-hook '(org-babel-pop-to-session-maybe)
=C2=A0org-clock-out-hook '(org-clock-remove-empty-clock-drawer= )
=C2=A0org-html-format-inlinetask-function 'org-html-format-= inlinetask-default-function
=C2=A0org-odt-format-headline-functio= n 'org-odt-format-headline-default-function
=C2=A0org-ascii-f= ormat-inlinetask-function 'org-ascii-format-inlinetask-default
=C2=A0org-mode-hook '(#[0 "\300\301\302\303\304$\207"
=
=C2=A0 =C2=A0[add-hook change= -major-mode-hook org-show-block-all append
=C2=A0 =C2=A0 local]
=C2=A0 =C2=A05]
= #[0 "\300\301\302\303\304$\207"
=C2=A0 =C2=A0[add-hook change-major-mode-hook or= g-babel-show-result-all
= =C2=A0 =C2=A0 append local]
=C2=A0 =C2=A05]
org= -babel-result-hide-spec org-babel-hide-all-hashes)
=C2=A0org-odt-= format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTE= NTS)"]
=C2=A0org-archive-hook '(org-attach-archive-delet= e-maybe)
=C2=A0org-confirm-elisp-link-function 'yes-or-no-p
=C2=A0org-agenda-before-write-hook '(org-agenda-add-entry-text= )
=C2=A0org-metaup-hook '(org-babel-load-in-session-maybe)
=C2=A0org-bibtex-headline-format-function #[257 "\300 \236A\20= 7" [:title] 3 "\n\n(fn ENTRY)"]
=C2=A0org-latex-fo= rmat-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)&= quot;]
=C2=A0org-babel-pre-tangle-hook '(save-buffer)
=C2=A0org-tab-first-hook '(org-babel-hide-result-toggle-maybe
<= div> =C2=A0 =C2=A0 =C2=A0 org-babel= -header-arg-expand)
=C2=A0org-ascii-format-drawer-function #[771 = " \207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"]
= =C2=A0org-occur-hook '(org-first-headline-recenter)
=C2=A0org= -cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
=C2=A0 org-cycle-show-emp= ty-lines
=C2=A0 org-opti= mize-window-after-visibility-change)
=C2=A0org-speed-command-hook= '(org-speed-command-activate
=C2=A0 org-babel-speed-command-activate)
=C2=A0org-odt= -format-inlinetask-function 'org-odt-format-inlinetask-default-function=
=C2=A0org-confirm-shell-link-function 'yes-or-no-p
=C2=A0org-link-parameters '(("id" :follow org-id-open)
=
=C2=A0 =C2=A0 =C2=A0 =C2=A0(&= quot;rmail" :follow org-rmail-open :store
org-rmail-store-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0("mhe" :follow o= rg-mhe-open :store org-mhe-store-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0("irc" :follow org-irc-= visit :store org-irc-store-link)
= =C2=A0 =C2=A0 =C2=A0 =C2=A0("info" :follow org-info-open= :export org-info-export
:store org-info-store-link)
<= /span>=C2=A0 =C2=A0 =C2=A0 =C2=A0("gnus" :follow org-gnus-open :s= tore
org-gnus-store-lin= k)
=C2=A0 =C2=A0 =C2=A0 = =C2=A0("docview" :follow org-docview-open :export
org-docview-export :store org-docview-= store-link)
=C2=A0 =C2= =A0 =C2=A0 =C2=A0("bibtex" :follow org-bibtex-open :store
org-bibtex-store-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0(&qu= ot;bbdb" :follow org-bbdb-open :export org-bbdb-export
:complete org-bbdb-complete-link :stor= e
org-bbdb-store-link)<= /div>
=C2=A0 =C2=A0 =C2=A0 =C2= =A0("w3m" :store org-w3m-store-link) ("file+sys")
=
=C2=A0 =C2=A0 =C2=A0 =C2=A0(&= quot;file+emacs") ("doi" :follow org--open-doi-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0(&qu= ot;elisp" :follow org--open-elisp-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0("file" :complete= org-file-complete-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0("ftp" :follow
(lambda (path) (browse-url (concat "ftp= :" path))))
=C2=A0 = =C2=A0 =C2=A0 =C2=A0("help" :follow org--open-help-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0(&quo= t;http" :follow
(l= ambda (path) (browse-url (concat "http:" path))))
=C2=A0 =C2=A0 =C2=A0 =C2=A0("https= " :follow
(lambda = (path) (browse-url (concat "https:" path))))
=C2=A0 =C2=A0 =C2=A0 =C2=A0("mailto&quo= t; :follow
(lambda (pat= h) (browse-url (concat "mailto:" path))))
=C2=A0 =C2=A0 =C2=A0 =C2=A0("news" = :follow
(lambda (path) = (browse-url (concat "news:" path))))
=C2=A0 =C2=A0 =C2=A0 =C2=A0("shell" :follo= w org--open-shell-link))
=C2=A0org-latex-format-headline-function= 'org-latex-format-headline-default-function
=C2=A0org-latex-= format-inlinetask-function 'org-latex-format-inlinetask-default-functio= n
=C2=A0org-html-format-drawer-function #[514 "\207" []= 3 "\n\n(fn NAME CONTENTS)"]
=C2=A0org-html-format-head= line-function 'org-html-format-headline-default-function
=C2= =A0)
--

Ulrich Wort= mann=C2=A0416 978 7084

Associate Chair Under= graduate=C2=A0Affairs

Department of Earth Sciences

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

--0000000000002c388a057b5a391a--