From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: Bug: ODT export fails if NAME: and ref: equation [9.1.14 (9.1.14-1-g4931fc-elpa @ /home/kdm/.emacs.d/elpa/org-20180910/)] Date: Mon, 5 Nov 2018 13:17:00 -0800 Message-ID: References: <86zhwk60ca.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000008d9db0579f16a5e" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJmFh-0001qV-Hh for emacs-orgmode@gnu.org; Mon, 05 Nov 2018 16:17:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJmFg-0001gS-2J for emacs-orgmode@gnu.org; Mon, 05 Nov 2018 16:17:41 -0500 Received: from mail-qk1-x743.google.com ([2607:f8b0:4864:20::743]:43224) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gJmFe-0001X9-5j for emacs-orgmode@gnu.org; Mon, 05 Nov 2018 16:17:39 -0500 Received: by mail-qk1-x743.google.com with SMTP id r71so17157652qkr.10 for ; Mon, 05 Nov 2018 13:17:37 -0800 (PST) In-Reply-To: <86zhwk60ca.fsf@gmail.com> 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 --00000000000008d9db0579f16a5e Content-Type: text/plain; charset="UTF-8" Bumping this bug report. Still valid with this mornings elpa-updated org-20181105. -k. On Thu, Sep 13, 2018 at 11:48 PM Ken Mankoff wrote: > > Sorry if this is a triplicate bug report. I emailed this as a message (not > bug report) to the Org list a week ago, but have seen no reply. I tried an > official bug report last night which I *think* did not work (mailing from > within "emacs -Q" does not "just work"), so here I try again. > > If I have the following simple Org file, latest Org, and a clean emacs > session (emacs -Q), ODT export fails. > > # ====== BEGIN MWE ======== > #+NAME: eq:foo > \begin{equation} > 42 > \end{equation} > See [[eq:foo]]. > # ====== END MWE ======== > > It does not fail if I comment out either of the #+NAME or the "[[eq:foo]]" > lines. Note, perhaps tangentially related, that the manual shows "#+LABEL: > ", but I'm using "+#NAME: ", and I thought LABEL was deprecated for NAME > > > https://www.gnu.org/software/emacs/manual/html_node/org/Labels-and-captions-in-ODT-export.html#Labels-and-captions-in-ODT-export > > -k. > > ------------------------------------------------------------------------ > > > > Emacs : GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21) > of 2017-09-22, modified by Debian > Package: Org mode version 9.1.14 (9.1.14-1-g4931fc-elpa @ > /home/kdm/.emacs.d/elpa/org-20180910/) > > current state: > ============== > (setq > org-tab-first-hook '(org-babel-hide-result-toggle-maybe > org-babel-header-arg-expand) > org-speed-command-hook '(org-speed-command-activate > org-babel-speed-command-activate) > org-occur-hook '(org-first-headline-recenter) > org-metaup-hook '(org-babel-load-in-session-maybe) > org-confirm-shell-link-function 'yes-or-no-p > org-after-todo-state-change-hook '(org-clock-out-if-current) > org-src-mode-hook '(org-src-babel-configure-edit-buffer > org-src-mode-configure-edit-buffer) > org-agenda-before-write-hook '(org-agenda-add-entry-text) > org-babel-pre-tangle-hook '(save-buffer) > 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-bibtex-headline-format-function #[257 "\300.\236A\207" [:title] 3 > "\n\n(fn ENTRY)"] > org-archive-hook '(org-attach-archive-delete-maybe) > org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers > org-cycle-show-empty-lines > org-optimize-window-after-visibility-change) > org-confirm-elisp-link-function 'yes-or-no-p > org-metadown-hook '(org-babel-pop-to-session-maybe) > 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-clock-out-hook '(org-clock-remove-empty-clock-drawer) > ) > > > --00000000000008d9db0579f16a5e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Bumping this bug report. Still valid with this mornings el= pa-updated org-20181105.

=C2=A0 -k.

On Thu, Sep 13, 2018 at 11:48 PM Ken= Mankoff <mankoff@gmail.com>= wrote:

Sorry if this is a triplicate bug report. I emailed this as a message (not = bug report) to the Org list a week ago, but have seen no reply. I tried an = official bug report last night which I *think* did not work (mailing from w= ithin "emacs -Q" does not "just work"), so here I try a= gain.

If I have the following simple Org file, latest Org, and a clean emacs sess= ion (emacs -Q), ODT export fails.

# =3D=3D=3D=3D=3D=3D BEGIN MWE =3D=3D=3D=3D=3D=3D=3D=3D
#+NAME: eq:foo
\begin{equation}
42
\end{equation}
See [[eq:foo]].
# =3D=3D=3D=3D=3D=3D END MWE =3D=3D=3D=3D=3D=3D=3D=3D

It does not fail if I comment out either of the #+NAME or the "[[eq:fo= o]]" lines. Note, perhaps tangentially related, that the manual shows = "#+LABEL: ", but I'm using "+#NAME: ", and I though= t LABEL was deprecated for NAME

https://www.gnu.org/software/emacs/manual/html_= node/org/Labels-and-captions-in-ODT-export.html#Labels-and-captions-in-ODT-= export

=C2=A0 -k.

------------------------------------------------------------------------


Emacs=C2=A0 : GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21)<= br> =C2=A0of 2017-09-22, modified by Debian
Package: Org mode version 9.1.14 (9.1.14-1-g4931fc-elpa @ /home/kdm/.emacs.= d/elpa/org-20180910/)

current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(setq
=C2=A0org-tab-first-hook '(org-babel-hide-result-toggle-maybe
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 org-babel-header-arg-expand)
=C2=A0org-speed-command-hook '(org-speed-command-activate
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 org-babel-speed-command-activate)
=C2=A0org-occur-hook '(org-first-headline-recenter)
=C2=A0org-metaup-hook '(org-babel-load-in-session-maybe)
=C2=A0org-confirm-shell-link-function 'yes-or-no-p
=C2=A0org-after-todo-state-change-hook '(org-clock-out-if-current)
=C2=A0org-src-mode-hook '(org-src-babel-configure-edit-buffer
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0org-src-mode-configure-edit-buffer)
=C2=A0org-agenda-before-write-hook '(org-agenda-add-entry-text)
=C2=A0org-babel-pre-tangle-hook '(save-buffer)
=C2=A0org-mode-hook '(#[0 "\300\301\302\303\304$\207"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[add-h= ook change-major-mode-hook org-show-block-all append
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 local= ]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A05]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#[0 "\30= 0\301\302\303\304$\207"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[add-h= ook change-major-mode-hook org-babel-show-result-all
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 appen= d local]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A05]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0org-babel-res= ult-hide-spec org-babel-hide-all-hashes)
=C2=A0org-bibtex-headline-format-function #[257 "\300.\236A\207" = [:title] 3 "\n\n(fn ENTRY)"]
=C2=A0org-archive-hook '(org-attach-archive-delete-maybe)
=C2=A0org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-= drawers
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 org-cycle-sh= ow-empty-lines
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 org-optimize= -window-after-visibility-change)
=C2=A0org-confirm-elisp-link-function 'yes-or-no-p
=C2=A0org-metadown-hook '(org-babel-pop-to-session-maybe)
=C2=A0org-link-parameters '(("id" :follow org-id-open)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("rmail" :follow org-rmail-open :store
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 org-rmail-store-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("mhe" :follow org-mhe-open :store org-mhe-store-link)<= br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =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 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("info" :follow org-info-open :export org-info-export =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 :store org-info-store-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("gnus" :follow org-gnus-open :store
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 org-gnus-store-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("docview" :follow org-docview-open :export
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 org-docview-export :store org-docview-store-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("bibtex" :follow org-bibtex-open :store
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 org-bibtex-store-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("bbdb" :follow org-bbdb-open :export org-bbdb-export =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 :complete org-bbdb-complete-link :store
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 org-bbdb-store-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("w3m" :store org-w3m-store-link) ("file+sys"= )
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("file+emacs") ("doi" :follow org--open-doi-l= ink)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("elisp" :follow org--open-elisp-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("file" :complete org-file-complete-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("ftp" :follow
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 (lambda (path) (browse-url (concat "ftp:" path))))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("help" :follow org--open-help-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("http" :follow
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 (lambda (path) (browse-url (concat "http:" path)))) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("https" :follow
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 (lambda (path) (browse-url (concat "https:" path)))) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("mailto" :follow
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 (lambda (path) (browse-url (concat "mailto:" path))))<= br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("news" :follow
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 (lambda (path) (browse-url (concat "news:" path)))) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("shell" :follow org--open-shell-link))
=C2=A0org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
=C2=A0)


--00000000000008d9db0579f16a5e--