Re: the opposite of the noexport tag

2023-10-25 Thread Ihor Radchenko
Ihor Radchenko writes: > New version of the patch attached. > > From 5c6d1741519e02a3b9d2774faf511b0b90a4c788 Mon Sep 17 00:00:00 2001 > Message-ID: > <5c6d1741519e02a3b9d2774faf511b0b90a4c788.1698145210.git.yanta...@posteo.net> > From: Ihor Radchenko > Date: Mon, 23 Oct 2023 15:30:42 +0300 > S

Re: the opposite of the noexport tag

2023-10-24 Thread Uwe Brauer
> Uwe Brauer writes: > I find this part confusing - we first talk about no "export" tags at all > and then immediately about using with "export" tags. I dropped it in the > attached patch. Maybe there is a better way to formulate the same? > In the attached patch, I incorporated your other chan

Re: the opposite of the noexport tag

2023-10-24 Thread Ihor Radchenko
"Loris Bennett" writes: >> + List of tags that will *only* be selected for export. The default > > I find the emphasised 'only' confusing here, since it implies to me > there the tags might have some other function. I would find, in analogy > to the corresponding text regarding exclude tags, t

Re: the opposite of the noexport tag

2023-10-24 Thread Loris Bennett
Ihor Radchenko writes: > Uwe Brauer writes: > >>> Uwe Brauer writes: I recommend then to clarify this is in the manual: the expression in the manual is `("export")' >> >>> What about the attached patch? >> >> I added some lines, and run rediff and I hoper therefore the modified

Re: the opposite of the noexport tag

2023-10-24 Thread Ihor Radchenko
Uwe Brauer writes: >> Uwe Brauer writes: >>> I recommend then to clarify this is in the manual: the expression in the >>> manual is >>> `("export")' > >> What about the attached patch? > > I added some lines, and run rediff and I hoper therefore the modified patch > is ok. > > > Feel free to

Re: the opposite of the noexport tag

2023-10-23 Thread Loris Bennett
Hi, Below are some minor comma niggles. Cheers, Loris Uwe Brauer writes: "IR" == Ihor Radchenko writes: > >> Uwe Brauer writes: >>> I recommend then to clarify this is in the manual: the expression in the >>> manual is >>> `("export")' > >> What about the attached patch? > > I added

Re: the opposite of the noexport tag

2023-10-23 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >> I recommend then to clarify this is in the manual: the expression in the >> manual is >> `("export")' > What about the attached patch? I added some lines, and run rediff and I hoper therefore the modified patch is ok. Feel free to

Re: the opposite of the noexport tag

2023-10-23 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >> I recommend then to clarify this is in the manual: the expression in the >> manual is >> `("export")' > What about the attached patch? > From f94d0c8dfa875983332dfe9432e6ec896c62bf59 Mon Sep 17 00:00:00 2001 > Message-ID: > > From:

Re: the opposite of the noexport tag

2023-10-23 Thread Ihor Radchenko
Uwe Brauer writes: > I recommend then to clarify this is in the manual: the expression in the > manual is > `("export")' What about the attached patch? >From f94d0c8dfa875983332dfe9432e6ec896c62bf59 Mon Sep 17 00:00:00 2001 Message-ID: From: Ihor Radchenko Date: Mon, 23 Oct 2023 15:30:42 +0

Re: the opposite of the noexport tag

2023-10-23 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer 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 ...

Re: the opposite of the noexport tag

2023-10-23 Thread Ihor Radchenko
Uwe Brauer 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 am wondering why it wo

Re: the opposite of the noexport tag

2023-10-22 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >> I tried >> , >> | >> | #+options: SELECT_TAGS: noexport >> | #+options: EXCLUDE_TAGS: export > This is not a correct format. Please, review the manual section I linked > to. So it should be #+options: SELECT_TAGS: ("noexport")

Re: the opposite of the noexport tag

2023-10-22 Thread Uwe Brauer
> Uwe Brauer writes: > My mistake: I didn't reload the file after adding the local > variables: your example didn't work for me either. Sorry. > Just follow what Ihor told you, it's simpler. > About exporting the tags, the following option seem to do the trick: > #+OPTIONS: tags:nil Ah, th

Re: the opposite of the noexport tag

2023-10-22 Thread Ihor Radchenko
Uwe Brauer writes: > I tried > , > | > | #+options: SELECT_TAGS: noexport > | #+options: EXCLUDE_TAGS: export This is not a correct format. Please, review the manual section I linked to. (side note: this is odd to set selected tags to "noexport") #+SELECT_TAGS: noexport #+EXCLUDE_TAGS: ex

Re: the opposite of the noexport tag

2023-10-22 Thread Bruno Barbier
Uwe Brauer writes: >> Uwe Brauer writes: > > >> I just tested your example. It works for me, exporting to HTML. I'm >> using org version 9.7-pre. > >> What is the error ? > > Well since I did not set a list, org mode complained about it. Not in > your case? I exported to LaTeX but it should mak

Re: the opposite of the noexport tag

2023-10-22 Thread Uwe Brauer
> Uwe Brauer writes: > I just tested your example. It works for me, exporting to HTML. I'm > using org version 9.7-pre. > What is the error ? Well since I did not set a list, org mode complained about it. Not in your case? I exported to LaTeX but it should make any difference > Unrelated, b

Re: the opposite of the noexport tag

2023-10-22 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >> | # org-export-select-tags: noexport >> | # org-export-exclude-tags: export > This is not right. The value must be a list. Ok that triggered the error then > Alternatively to file-local variables, you can also use SELECT_TAGS > keywor

Re: the opposite of the noexport tag

2023-10-22 Thread Bruno Barbier
Uwe Brauer writes: "BB" == Bruno Barbier writes: > >> Did you try org-export-select-tags ? > >> (I didn't but, from its documentation, it might be what you're looking >> for). > , > | > | Yes I tried the following > | Some test > | * First section > | * Second

Re: the opposite of the noexport tag

2023-10-22 Thread Ihor Radchenko
Uwe Brauer writes: > | # org-export-select-tags: noexport > | # org-export-exclude-tags: export This is not right. The value must be a list. Alternatively to file-local variables, you can also use SELECT_TAGS keyword. See 13.2 Export Settings section of the manual. -- Ihor Radchenko // yantar9

Re: the opposite of the noexport tag

2023-10-22 Thread Uwe Brauer
>>> "BB" == Bruno Barbier writes: Hi > Hi, > Uwe Brauer writes: >> >> So it would be very handy to configure the exporter for that file >> locally that he only exports sections that have a export tag >> >> Is this possible? > Did you try org-export-select-tags ? > (I didn't but, from its

Re: the opposite of the noexport tag

2023-10-22 Thread Bruno Barbier
Hi, Uwe Brauer writes: > > So it would be very handy to configure the exporter for that file > locally that he only exports sections that have a export tag > > Is this possible? Did you try org-export-select-tags ? (I didn't but, from its documentation, it might be what you're looking for).

the opposite of the noexport tag

2023-10-22 Thread Uwe Brauer
Hi I usually have org files with say a dozen or more sections, and if I wish not to export a specific section I just add the noexport tag. However, sometimes I am faces with the opposite problem. The documents contains dozens or more section and I only want to export one or two. So it would b