[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Tags included in subtree export title despite tags:nil in header
From: |
Suvayu Ali |
Subject: |
Re: [O] Tags included in subtree export title despite tags:nil in header |
Date: |
Sun, 30 Oct 2011 01:10:58 +0200 |
Hi Bastien and others,
On Sat, 29 Oct 2011 18:13:49 +0200
Bastien <address@hidden> wrote:
> Hi Suvayu,
>
> Suvayu Ali <address@hidden> writes:
>
> > Sorry I should have provided an example file in the first place. I
> > am not setting the EXPORT_TITLE property. The bug is the tags:nil
> > option is not respected whether it is present in the file header or
> > it is set by the EXPORT_OPTIONS property for the exported subtree.
> > This is puzzling since other export options (e.g. ^:{}) is respected
> > irrespective of whether it is present in the file header or the
> > EXPORT_OPTIONS property.
> >
> >> So I can't reproduce this...
> >
> > I hope this clearly describes the bug.
>
> Yes it does, thanks a lot.
>
> Note that EXPORT_OPTIONS is well respected for the children of the
> subtree: tags:nil will prevent tags to be displayed (tested in both
> HTML and LaTeX.)
>
> Setting EXPORT_TITLE works as a workaround.
>
> If you have time to fix `org-export-get-title-from-subtree' so that it
> is aware of the options and removes the tags when needed, that'd be
> nice. I put it on my todo list otherwise, but that's not very urgent.
>
I worked up a (somewhat working) patch, but I am stuck at one little
point. I was wondering if someone could help me.
In the attached patch, I use the variable org-export-with-tags to check
whether tags should be included or skipped in the export title. However
irrespective of the export options I get the value not-in-toc. As a
result, the tags are not included even if tags:t is set.
Is my use of org-export-with-tags incorrect? Is there something else I
need to do before I can use it?
Thanks for any pointers.
--
Suvayu
Open source is the future. It sets us free.
0001-Respect-export-options-for-subtree-export-title.patch
Description: Text document
- [O] Tags included in subtree export title despite tags:nil in header, suvayu ali, 2011/10/26
- Re: [O] Tags included in subtree export title despite tags:nil in header, Giovanni Ridolfi, 2011/10/27
- Re: [O] Tags included in subtree export title despite tags:nil in header, Suvayu Ali, 2011/10/27
- Re: [O] Tags included in subtree export title despite tags:nil in header, Suvayu Ali, 2011/10/27
- Re: [O] Tags included in subtree export title despite tags:nil in header, Bastien, 2011/10/29
- Re: [O] Tags included in subtree export title despite tags:nil in header, Suvayu Ali, 2011/10/29
- Re: [O] Tags included in subtree export title despite tags:nil in header, Bastien, 2011/10/29
- Re: [O] Tags included in subtree export title despite tags:nil in header,
Suvayu Ali <=
- Re: [O] Tags included in subtree export title despite tags:nil in header, Nick Dokos, 2011/10/29
- Re: [O] Tags included in subtree export title despite tags:nil in header, Suvayu Ali, 2011/10/30
- Re: [O] Tags included in subtree export title despite tags:nil in header, Bastien, 2011/10/30