-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: can't resolve link in TOC when exporting to html #35
Comments
Hey, @deb0ch ! Thx for the report. First, please, let me put your mind into the right place with respect to Next, to the bug with There are several options to handle this:
Does it make any sense? |
Closing as "Not a bug". |
I tried this, most things worked out nicely. However the generated table of contents has the :TOC_2_org: in it, which doesn't look very good. |
@MatthewZMD True. Unfortunately, I'm not sure what's the cleanest way to get around it. You can kinda make it better by adding smth like |
I've been experiencing a bug lately when having a table of contents declared as
:TOC:
and then trying to export to html. The error isUnable to resolve link: <name-of-your-first-heading>
.Here is a minimal example:
then when trying export to html (
M-x org-export-dispatch RET h o
for instance), you get the erroruser-error: Unable to resolve link: "foo"
in*Messages*
and justUnable to resolve link: "foo"
in the echo area.A simple workaround is to declare the toc as
:TOC:noexport:
. This way you don't get the error and the toc is still exported, it just doesn't make sense given what:noexport:
is supposed to do 😕The text was updated successfully, but these errors were encountered: