I should have used org-export-select-tags instead of
org-export-exclude-tags. Sorry for the noise.
Julius
Am 26.07.2018 um 18:16 schrieb Julius Dittmar:
> Hi,
>
> I'm still an elisp beginner, so please bear with me.
>
> I would like to be able to fully export org-mode files which make use of
> the :export: tag.
>
> Easist solution would be to remove the :export: tag, but usually I want
> it's effect. But from time to time I need the full text exported.
>
> I tried:
>
> === file test.org: ===
> * toppic with export tag :export:
> * toppic without export tag
> === end of file test.org ===
>
> Export via:
> emacs test.org --eval "(let ((org-export-exclude-tags '()))
> (org-latex-export-to-latex nil nil nil nil nil))" --kill
>
> Contrary to my expectation, only the first toppic appears in the
> resulting TeX file.
>
> Any help appreciated.
>
> Julius
>