-
Notifications
You must be signed in to change notification settings - Fork 18
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
:include siblings may sometimes include descendants also? #19
Comments
Hi Akira, Does the bug only happen on the GitHub Action CI? |
No, the bug reproduces on interactive sessions as well, with my extensively customized config. Interestingly, it seems to produce a correct output when I demote the TOC context to the second level. You can get a correct result from the following input:
while not from the following one:
|
I'm sorry, but the culpit was
It seems that the descendants are included in the TOC in a wrong way if |
Thanks. |
Hello, I have run the latest version of org-make-toc on the README of my project, and there is something wrong with the output.
Both "Guide" and "Design goal" should reside at the same level as "Features", but they are demoted. The output in plain text is as follows:
I produced the TOC with my new GitHub Action which runs org-make-toc on CI. It basically runs this script in batch mode with the file given as an argument, so it has no custom Org options set.
Can this be a bug with org-make-toc.el?
The text was updated successfully, but these errors were encountered: