* analog of org-latex-prefer-user-labels for html?
@ 2016-11-06 21:37 John Kitchin
2016-11-06 22:06 ` Nicolas Goaziou
0 siblings, 1 reply; 4+ messages in thread
From: John Kitchin @ 2016-11-06 21:37 UTC (permalink / raw)
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: <table id="org713aa7e"... which I
do not know how to link to. It seems like we need
org-html-prefer-user-labels
to make that happen. Is there another way to do that?
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: analog of org-latex-prefer-user-labels for html?
2016-11-06 21:37 analog of org-latex-prefer-user-labels for html? John Kitchin
@ 2016-11-06 22:06 ` Nicolas Goaziou
2016-11-06 22:10 ` Nicolas Goaziou
2016-11-06 23:46 ` John Kitchin
0 siblings, 2 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2016-11-06 22:06 UTC (permalink / raw)
To: John Kitchin; +Cc: org mode
Hello,
John Kitchin <jkitchin@andrew.cmu.edu> 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: <table id="org713aa7e"... which I
> do not know how to link to.
<<tab:hello>> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: analog of org-latex-prefer-user-labels for html?
2016-11-06 22:06 ` Nicolas Goaziou
@ 2016-11-06 22:10 ` Nicolas Goaziou
2016-11-06 23:46 ` John Kitchin
1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2016-11-06 22:10 UTC (permalink / raw)
To: John Kitchin; +Cc: org mode
Correcting myself,
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> <<tab:hello>> creates a link to the table above.
[[tab:hello]] does.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: analog of org-latex-prefer-user-labels for html?
2016-11-06 22:06 ` Nicolas Goaziou
2016-11-06 22:10 ` Nicolas Goaziou
@ 2016-11-06 23:46 ` John Kitchin
1 sibling, 0 replies; 4+ messages in thread
From: John Kitchin @ 2016-11-06 23:46 UTC (permalink / raw)
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 <jkitchin@andrew.cmu.edu> 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: <table id="org713aa7e"... which I
>> do not know how to link to.
>
> <<tab:hello>> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-11-06 23:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-06 21:37 analog of org-latex-prefer-user-labels for html? John Kitchin
2016-11-06 22:06 ` Nicolas Goaziou
2016-11-06 22:10 ` Nicolas Goaziou
2016-11-06 23:46 ` John Kitchin
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).