[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Do not inherit unnumbered property: help needed
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Do not inherit unnumbered property: help needed |
Date: |
Sun, 19 Nov 2017 00:28:34 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello,
Akater <address@hidden> writes:
> I got an impression that UNNUMBERED's children get cut off prior to
> what user can do,
UNNUMBERED headings are not cut off, at least not by "ox.el".
> hence writing a simple backend won't help, and I'll have to patch org
> (ox) source. Do you know for sure I'm wrong?
I'm quite certain you're wrong.
> That's what I asked for
> originally---which function is responsible for excluding unnumbered's
> children from exported entries.
Three functions actually check UNNUMBERED properties:
- org-export-numbered-headline-p
- org-export-collect-headlines
- org-export-excluded-from-toc-p
You can ignore the last two because it's a special case (when value is
"notoc").
So, if you want to control UNNUMBERED property, just don't trust
`org-export-numbered-headline-p', or any function calling it.
Regards,
--
Nicolas Goaziou
- [O] Do not inherit unnumbered property: help needed, Akater, 2017/11/17
- Re: [O] Do not inherit unnumbered property: help needed, Kaushal Modi, 2017/11/17
- Re: [O] Do not inherit unnumbered property: help needed, Akater, 2017/11/17
- Re: [O] Do not inherit unnumbered property: help needed, Nicolas Goaziou, 2017/11/17
- Re: [O] Do not inherit unnumbered property: help needed, Akater, 2017/11/18
- Re: [O] Do not inherit unnumbered property: help needed, Nicolas Goaziou, 2017/11/18
- Re: [O] Do not inherit unnumbered property: help needed, Akater, 2017/11/18
- Re: [O] Do not inherit unnumbered property: help needed, Akater, 2017/11/18
- Re: [O] Do not inherit unnumbered property: help needed,
Nicolas Goaziou <=
- Re: [O] Do not inherit unnumbered property: help needed, Nicolas Goaziou, 2017/11/21