emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: the opposite of the noexport tag


From: Uwe Brauer
Subject: Re: the opposite of the noexport tag
Date: Mon, 23 Oct 2023 14:16:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>>> "IR" == Ihor Radchenko <yantar92@posteo.net> writes:

> Uwe Brauer <oub@mat.ucm.es> writes:
>>> This is not a correct format. Please, review the manual section I linked
>>> to.
>> 
>> So it should be 
>> #+options: SELECT_TAGS: ("noexport")
>> #+options: EXCLUDE_TAGS: ("export")
>> 
>> Right?

> No.
> #+SELECT_TAGS: tag1 tag2 ...
> Same for #+EXCLUDE_TAGS.

I recommend then to clarify this is in the manual: the expression in the manual 
is 
`("export")'

And at least for me it is not clear that this translate to 

#+SELECT_TAGS: export

>> I am wondering why it worked anyhow

> By default, SELECT_TAGS is set to "export" tag and EXCLUDE_TAGS is set
> to "noexport" tag.

>>> (side note: this is odd to set selected tags to "noexport")
>> 
>> So what to you propose instead, in order to achieve my goal:
>> 
>> «To  export only the sections  that have the export tag and leave the
>> ignore the others»

> #+SELECT_TAGS: export
> And then
> * This section will be exported :export:
> * This - will not
> * This - neither :some_other_tag:

> And you do not even need #+SELECT_TAGS if you use "export" tag - it is
> already set like this by default.


Ok, thanks! I figured that out now and it is, again, confusing.

    - If I don't add any tag

* This section will be exported 
* This - will 
* This - will :some_other_tag:



    - But if I just add *one* export tag to one of the sections the rest is 
ignored.

Couldn't that be clarified in the manual, please.

Regards

Uwe Brauer 


-- 
Warning: Content may be disturbing to some audiences
I strongly condemn Hamas bestialic terroristic attack on Israel, especially the 
despicable pogroms.
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the NATO membership of Ukraine.
I support the EU membership of Ukraine. 
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]