From: Martin Steffen <msteffen@ifi.uio.no>
To: emacs-orgmode@gnu.org
Subject: Re: org export customization: why do #+EXCLUDE_TAGS: settings have no effect?
Date: Wed, 11 Nov 2015 08:15:06 +0100 [thread overview]
Message-ID: <xk92oaf1ovlx.fsf@nittedal.ifi.uio.no> (raw)
In-Reply-To: <87pozhv5if.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 10 Nov 2015 23:44:40 +0100")
Thanks,
For your small example (exporting to latex) I get
\begin{itemize}
\item H1 :private:
\item H2
\end{itemize}
(apart from the preamble etc). What is also weird: If I add the
``standard'' vanilla template (via C-c C-e # beamer), then
- 1) some option settings like H:2 vs H:3 /are/ working.
- 2) variable org-export-headline-levels does not change
By "working" I mean: if I change the #+OPTIONS: H:2 to H:3, refresh the
emacs-buffer wrt. org's settings, and export the output (concretetely I
did beamer/latex). Now changing the section-level head /does change/ the
beamer-latex output the way I'd expect (i.e., it influences the
sectioning level).
What is strange though: the emacs-variable org-export-headline-levels
does not change when doing that, expect that I would have expected that
refreshing the buffer would do exactly that: update that variable and
thereby influencing the sectioning-levels:
---------------------
org-export-headline-levels is a variable defined in `ox.el'.
Its value is 3
...
This option can also be set with the OPTIONS keyword,
e.g. "H:2".
---------------------
I did not to comprehensive experiments which #+OPTIONS work or work
strangely, I just noticed that H:3 etc ``work'' (but I don't know why),
whereas the #EXCLUDE_TAGS do ``not work'' when refreshing the
buffer. For instance in that simple example you provided.
Martin
>>>>> "Nicolas" == Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
Nicolas> Hello,
Nicolas> Martin Steffen <msteffen@ifi.uio.no> writes:
>> Now: when I want to /customize/ that in the org-file itself, it
>> seems that's done by doing something like
>>
>>
>> #+EXCLUDE_TAGS: private
Nicolas> [...]
>> Anyhow: having such a specification in the org-file seems to have
>> /no effect/, even if I "refresh" the org-file, nor does it work
>> when I visit the file for the first time. It seems simply not to
>> affect the said variable "org-export-exclude-tags"
Nicolas> I cannot reproduce your issue. With the following buffer
Nicolas> #+EXCLUDE_TAGS: private * H1 :private: * H2
Nicolas> I get
Nicolas> 1 H2 ════
Nicolas> when I export to, e.g., UTF-8.
Nicolas> Regards,
Nicolas> -- Nicolas Goaziou
next prev parent reply other threads:[~2015-11-11 7:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-09 18:47 org export customization: why do #+EXCLUDE_TAGS: settings have no effect? Martin Steffen
2015-11-10 22:44 ` Nicolas Goaziou
2015-11-11 7:15 ` Martin Steffen [this message]
2015-11-11 21:06 ` Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xk92oaf1ovlx.fsf@nittedal.ifi.uio.no \
--to=msteffen@ifi.uio.no \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).