From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: analog of org-latex-prefer-user-labels for html? Date: Sun, 06 Nov 2016 16:37:42 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3V8Q-0002qw-Eh for emacs-orgmode@gnu.org; Sun, 06 Nov 2016 16:37:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3V8M-0006xE-IJ for emacs-orgmode@gnu.org; Sun, 06 Nov 2016 16:37:50 -0500 Received: from mail-qk0-x22d.google.com ([2607:f8b0:400d:c09::22d]:36292) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c3V8M-0006wc-ES for emacs-orgmode@gnu.org; Sun, 06 Nov 2016 16:37:46 -0500 Received: by mail-qk0-x22d.google.com with SMTP id n21so45254847qka.3 for ; Sun, 06 Nov 2016 13:37:45 -0800 (PST) Received: from Johns-MacBook-Air.local (c-67-171-67-30.hsd1.pa.comcast.net. [67.171.67.30]) by smtp.gmail.com with ESMTPSA id 73sm14565964qky.2.2016.11.06.13.37.43 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 06 Nov 2016 13:37:44 -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: org mode Hi all, I noticed there seems to have been a change in html export with labels. In the past, I feel like a table like this: #+CAPTION: Hello World #+NAME: tab:hello | Hello | World | |-------+-------| | 1 | 2 | would be exported with an id of tab:hello that you could use in a link to jump to it. Now (with org9) I see something like: Subject: Re: analog of org-latex-prefer-user-labels for html? Date: Sun, 06 Nov 2016 23:06:26 +0100 Message-ID: <87bmxsmffh.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3Va9-0001Tf-3E for emacs-orgmode@gnu.org; Sun, 06 Nov 2016 17:06:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3Va5-0001dB-U3 for emacs-orgmode@gnu.org; Sun, 06 Nov 2016 17:06:29 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:36017) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c3Va5-0001c4-Nn for emacs-orgmode@gnu.org; Sun, 06 Nov 2016 17:06:25 -0500 In-Reply-To: (John Kitchin's message of "Sun, 06 Nov 2016 16:37:42 -0500") 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: John Kitchin Cc: org mode Hello, John Kitchin writes: > I noticed there seems to have been a change in html export with labels. > > In the past, I feel like a table like this: > > #+CAPTION: Hello World > #+NAME: tab:hello > > | Hello | World | > |-------+-------| > | 1 | 2 | > > would be exported with an id of tab:hello that you could use in a link > to jump to it. > > Now (with org9) I see something like:
do not know how to link to. <> creates a link to the table above. > It seems like we need > > org-html-prefer-user-labels > > to make that happen. I suggested it a couple of times already, but it seems no one volunteered so far to implement it. Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: analog of org-latex-prefer-user-labels for html? Date: Sun, 06 Nov 2016 23:10:23 +0100 Message-ID: <8737j4mf8w.fsf@nicolasgoaziou.fr> References: <87bmxsmffh.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3Vdv-00031K-JD for emacs-orgmode@gnu.org; Sun, 06 Nov 2016 17:10:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3Vdu-00056H-OK for emacs-orgmode@gnu.org; Sun, 06 Nov 2016 17:10:23 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:36858) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c3Vdu-00055R-IL for emacs-orgmode@gnu.org; Sun, 06 Nov 2016 17:10:22 -0500 In-Reply-To: <87bmxsmffh.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sun, 06 Nov 2016 23:06:26 +0100") 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: John Kitchin Cc: org mode Correcting myself, Nicolas Goaziou writes: > <> creates a link to the table above. [[tab:hello]] does. From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: analog of org-latex-prefer-user-labels for html? Date: Sun, 06 Nov 2016 18:46:57 -0500 Message-ID: References: <87bmxsmffh.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34594) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3X9S-0000xJ-M3 for emacs-orgmode@gnu.org; Sun, 06 Nov 2016 18:47:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3X9P-00030T-Kd for emacs-orgmode@gnu.org; Sun, 06 Nov 2016 18:47:02 -0500 Received: from mail-qt0-x22f.google.com ([2607:f8b0:400d:c0d::22f]:33567) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c3X9P-000306-FC for emacs-orgmode@gnu.org; Sun, 06 Nov 2016 18:46:59 -0500 Received: by mail-qt0-x22f.google.com with SMTP id p16so78109830qta.0 for ; Sun, 06 Nov 2016 15:46:59 -0800 (PST) In-reply-to: <87bmxsmffh.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: Nicolas Goaziou Cc: org mode Thanks for confirming it (and the subsequent correction). I will keep it in mind for a between semester project. I am still org-9ifying org-ref ;) For now I have an advice function that seems to solve the issue I had (org-ref ref links were not working). Thanks for the quick reply. Nicolas Goaziou writes: > Hello, > > John Kitchin writes: > >> I noticed there seems to have been a change in html export with labels. >> >> In the past, I feel like a table like this: >> >> #+CAPTION: Hello World >> #+NAME: tab:hello >> >> | Hello | World | >> |-------+-------| >> | 1 | 2 | >> >> would be exported with an id of tab:hello that you could use in a link >> to jump to it. >> >> Now (with org9) I see something like:
> do not know how to link to. > > <> creates a link to the table above. > >> It seems like we need >> >> org-html-prefer-user-labels >> >> to make that happen. > > I suggested it a couple of times already, but it seems no one > volunteered so far to implement it. > > Regards, -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu