[O] exclude_tags stoppped working at 9.0.5 release?

2017-02-17 Thread Leslie Watter
Hi Folks,

Sorry if it is a duplicate, I've sent this a few days ago and didn't see it
appear on the list.

I've been dealing with an issue here. Does the '#+EXCLUDE_TAGS' still works
on release 9.0.5 ?

I used the following org-mode file to test the export to latex, only the
subtree.

t.org
* exclude tags test
:PROPERTIES:
:EXPORT_FILE_NAME: t.pdf
:EXPORT_OPTIONS: toc:nil tags:nil <:nil ^:nil
:EXPORT_AUTHOR:
:EXPORT_DATE:
:END:

#+TAGS: alunos professor
#+EXCLUDE_TAGS: professor

** First Section

At 1st

***
:professor:
This should not appear on t.pdf
---

And it's not working: (

I've searched logs, changelog but no mention to removal of these feature.

What I've done? Point cursor on the :PROPERTIES: line and export only the
subtree to latex and open it  =>  C-c C-e C-s lo

Any hint? Any help is welcome.

Cheers,

LEslie


-- 
Leslie H. Watter


Re: [O] exclude_tags stoppped working at 9.0.5 release?

2017-02-17 Thread Nicolas Goaziou
Nick Dokos  writes:

> the workaround is not to have empty
> headlines:
>
> *** baz  :foo:

You can also insert a non-breaking space in lieu of headline.

Regards,



Re: [O] exclude_tags stoppped working at 9.0.5 release?

2017-02-17 Thread Nick Dokos
Leslie Watter  writes:

> Hi Folks,
>
> I've tried org-lint on the files of these pastebin:
>
> http://pastebin.com/p7D3Qwd6
>
> which are the same files but with tags on headlines, and it returned nothing 
> to me, but again, I still
> have 
> headings with :gabarito: exported to latex.

The org-lint comment was a sideline: as Nicolas said, the problem is
that empty headlines with tags are ambiguous: the following

***  :foo:

is interpreted as a headline ":foo:" with no tag, not as an empty
headline with tag :foo: - the workaround is not to have empty
headlines:

*** baz  :foo:

-- 
Nick




Re: [O] exclude_tags stoppped working at 9.0.5 release?

2017-02-17 Thread Leslie Watter
Hi Folks,

I've tried org-lint on the files of these pastebin:

http://pastebin.com/p7D3Qwd6

which are the same files but with tags on headlines, and it returned
nothing to me, but again, I still have
headings with :gabarito: exported to latex.

Even using a fresh installation of spacemacs as a test (just to remove any
pre-configuration I had) it acts the same, exporting gabarito sections.

Any hints ?

Cheers,

Leslie

On Fri, Feb 17, 2017 at 10:25 AM, Nicolas Goaziou 
wrote:

> Hello,
>
> Nick Dokos  writes:
>
> > Nick Dokos  writes:
> >
> >> Leslie Watter  writes:
> >>
> >>
> >>> ** First Section
> >>>
> >>> At 1st
> >>>
> >>> ***
> :professor:
> >>> This should not appear on t.pdf
> >>> ---
> >>>
> >> You might try running org-lint.
> >
> > Actually, I don't think org-lint detects empty headlines.
>
> Empty headlines are supported but an empty headline with tags is
> ambiguous. Currently Org prefers to see a headline with ":professor:"
> title and no tag.
>
> I added a checker in Org Lint. Thank you.
>
>
> Regards,
>
> --
> Nicolas Goaziou
>
>


-- 
Leslie H. Watter


Re: [O] exclude_tags stoppped working at 9.0.5 release?

2017-02-17 Thread Nicolas Goaziou
Hello,

Nick Dokos  writes:

> Nick Dokos  writes:
>
>> Leslie Watter  writes:
>>
>>
>>> ** First Section
>>>
>>> At 1st 
>>>
>>> ***                                                               
>>> :professor:
>>> This should not appear on t.pdf
>>> ---
>>>
>> You might try running org-lint.
>
> Actually, I don't think org-lint detects empty headlines.

Empty headlines are supported but an empty headline with tags is
ambiguous. Currently Org prefers to see a headline with ":professor:"
title and no tag.

I added a checker in Org Lint. Thank you.


Regards,

-- 
Nicolas Goaziou



Re: [O] exclude_tags stoppped working at 9.0.5 release?

2017-02-16 Thread Nick Dokos
Nick Dokos  writes:

> Leslie Watter  writes:
>
>
>> ** First Section
>>
>> At 1st 
>>
>> ***                                                               :professor:
>> This should not appear on t.pdf
>> ---
>>
> You might try running org-lint.

Actually, I don't think org-lint detects empty headlines.

-- 
Nick




Re: [O] exclude_tags stoppped working at 9.0.5 release?

2017-02-16 Thread Nick Dokos
Leslie Watter  writes:


> ** First Section
>
> At 1st 
>
> ***                                                               :professor:
> This should not appear on t.pdf
> ---
>
You might try running org-lint. I believe that empty headlines are
illegal. In particular, this works:

--8<---cut here---start->8---
** First Section

At 1st

*** professorial exclusion  
   :professor:
This should not appear on t.pdf
--8<---cut here---end--->8---

-- 
Nick




[O] exclude_tags stoppped working at 9.0.5 release?

2017-02-16 Thread Leslie Watter
Hi Folks,

Sorry if it is a duplicate, I've sent this a few days ago and didn't see it
appear on the list.

I've been dealing with an issue here. Does the '#+EXCLUDE_TAGS' still works
on release 9.0.5 ?

I used the following org-mode file to test the export to latex, only the
subtree.

t.org
* exclude tags test
:PROPERTIES:
:EXPORT_FILE_NAME: t.pdf
:EXPORT_OPTIONS: toc:nil tags:nil <:nil ^:nil
:EXPORT_AUTHOR:
:EXPORT_DATE:
:END:

#+TAGS: alunos professor
#+EXCLUDE_TAGS: professor

** First Section

At 1st

***
:professor:
This should not appear on t.pdf
---

And it's not working: (

I've searched logs, changelog but no mention to removal of these feature.

What I've done? Point cursor on the :PROPERTIES: line and export only the
subtree to latex and open it  =>  C-c C-e C-s lo

Any hint? Any help is welcome.

Cheers,

LEslie




-- 
Leslie H. Watter


[O] exclude_tags stoppped working at 9.0.5 release?

2017-02-16 Thread Leslie Watter
Hi Folks,

Sorry if it is a duplicate, I've sent this a few days ago and didn't see it
appear on the list.

I've been dealing with an issue here. Does the '#+EXCLUDE_TAGS' still works
on release 9.0.5 ?

I used the following org-mode file to test the export to latex, only the
subtree.

t.org
* exclude tags test
:PROPERTIES:
:EXPORT_FILE_NAME: t.pdf
:EXPORT_OPTIONS: toc:nil tags:nil <:nil ^:nil
:EXPORT_AUTHOR:
:EXPORT_DATE:
:END:

#+TAGS: alunos professor
#+EXCLUDE_TAGS: professor

** First Section

At 1st

***
:professor:
This should not appear on t.pdf
---

And it's not working: (

I've searched logs, changelog but no mention to removal of these feature.

What I've done? Point cursor on the :PROPERTIES: line and export only the
subtree to latex and open it  =>  C-c C-e C-s lo

Any hint? Any help is welcome.

Cheers,

LEslie


-- 
Leslie H. Watter

-- 
Leslie H. Watter