* BUG: in beamer export non-beamer tags exported as part of header
@ 2016-05-24 10:48 Rainer M Krug
2016-05-24 12:08 ` Rasmus
0 siblings, 1 reply; 19+ messages in thread
From: Rainer M Krug @ 2016-05-24 10:48 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 2379 bytes --]
Hi
the following document
--8<---------------cut here---------------start------------->8---
#+startup: beamer
#+STARTUP: oddeven
#+LATEX_CLASS: beamer
#+LATEX_CLASS_OPTIONS: [bigger]
#+BEAMER_THEME: Madrid
#+BEAMER_COLOR_THEME: spruce
#+OPTIONS: H:2 toc:t
#+SELECT_TAGS: export
#+EXCLUDE_TAGS: noexport
* Level 1 :presentation:
** Frame 1
Some Text
--8<---------------cut here---------------end--------------->8---
becomes exported as
,----
| % Created 2016-05-24 Tue 12:45
| % Intended LaTeX compiler: pdflatex
| \documentclass[bigger]{beamer}
| \usepackage[utf8]{inputenc}
| \usepackage[T1]{fontenc}
| \usepackage{graphicx}
| \usepackage{grffile}
| \usepackage{longtable}
| \usepackage{wrapfig}
| \usepackage{rotating}
| \usepackage[normalem]{ulem}
| \usepackage{amsmath}
| \usepackage{textcomp}
| \usepackage{amssymb}
| \usepackage{capt-of}
| \usepackage{hyperref}
| \usepackage{color}
| \usepackage{listings}
| \usetheme{Madrid}
| \usecolortheme{spruce}
| \author{Rainer M. Krug}
| \date{\today}
| \title{}
| \hypersetup{
| pdfauthor={Rainer M. Krug},
| pdftitle={},
| pdfkeywords={},
| pdfsubject={},
| pdfcreator={Emacs 25.0.94.1 (Org mode 8.3.4)},
| pdflang={English}}
| \begin{document}
|
| \begin{frame}{Outline}
| \tableofcontents
| \end{frame}
|
|
| \section{Level 1\hfill{}\textsc{presentation}}
| \label{sec:org46cc55c}
| \begin{frame}[label={sec:org8dc9e52}]{Frame 1}
| Some Text
| \end{frame}
| \end{document}
`----
Please not that the tag :presentation: becomes exported as part of the
header.
I would like to use the tags to filter for export, so they should not
become part otf the headers.
GNU Emacs 25.0.94.1 (x86_64-apple-darwin15.4.0, Carbon Version 157 AppKit 1404.46) of 2016-05-24
Org-mode version 8.3.4 (release_8.3.4-842-g58f5def @ /Users/rainerkrug/.emacs.d/org-mode/lisp/)
Cheers,
Rainer
--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)
Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa
Tel : +33 - (0)9 53 10 27 44
Cell: +33 - (0)6 85 62 59 98
Fax : +33 - (0)9 58 10 27 44
Fax (D): +49 - (0)3 21 21 25 22 44
email: Rainer@krugs.de
Skype: RMkrug
PGP: 0x0F52F982
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: BUG: in beamer export non-beamer tags exported as part of header
2016-05-24 10:48 BUG: in beamer export non-beamer tags exported as part of header Rainer M Krug
@ 2016-05-24 12:08 ` Rasmus
2016-05-24 12:27 ` Rainer M Krug
0 siblings, 1 reply; 19+ messages in thread
From: Rasmus @ 2016-05-24 12:08 UTC (permalink / raw)
To: emacs-orgmode
Hi Rainer,
Thanks for the bug report.
Rainer M Krug <Rainer@krugs.de> writes:
> Please not that the tag :presentation: becomes exported as part of the
> header.
Isn't this expected behavior?
> I would like to use the tags to filter for export, so they should not
> become part otf the headers.
It seems to work when I specify this option in your document.
#+OPTIONS: tags:nil
Rasmus
--
Spil noget med Slayer!
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: BUG: in beamer export non-beamer tags exported as part of header
2016-05-24 12:08 ` Rasmus
@ 2016-05-24 12:27 ` Rainer M Krug
2016-05-24 20:32 ` Nicolas Goaziou
0 siblings, 1 reply; 19+ messages in thread
From: Rainer M Krug @ 2016-05-24 12:27 UTC (permalink / raw)
To: Rasmus; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1107 bytes --]
Rasmus <rasmus@gmx.us> writes:
> Hi Rainer,
>
> Thanks for the bug report.
>
> Rainer M Krug <Rainer@krugs.de> writes:
>
>> Please not that the tag :presentation: becomes exported as part of the
>> header.
>
> Isn't this expected behavior?
OK - you are obviously right.
But in my document, I have
--8<---------------cut here---------------start------------->8---
#+SELECT_TAGS: export presentation
--8<---------------cut here---------------end--------------->8---
in which case, I would have expected, that the tags defined here are not
exported?
But it all might be because I misunderstood tags as something which is
not exported but used similarly to properties.
>
>> I would like to use the tags to filter for export, so they should not
>> become part otf the headers.
>
> It seems to work when I specify this option in your document.
>
> #+OPTIONS: tags:nil
Thanks - works as expected.
But I already have =tags:not-in-toc= but they were in the TOC?
Rainer
>
> Rasmus
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: BUG: in beamer export non-beamer tags exported as part of header
2016-05-24 12:27 ` Rainer M Krug
@ 2016-05-24 20:32 ` Nicolas Goaziou
2016-05-24 21:02 ` Rasmus
2016-05-25 7:37 ` Rainer M Krug
0 siblings, 2 replies; 19+ messages in thread
From: Nicolas Goaziou @ 2016-05-24 20:32 UTC (permalink / raw)
To: Rainer M Krug; +Cc: emacs-orgmode, Rasmus
Hello,
Rainer M Krug <Rainer@krugs.de> writes:
> But in my document, I have
>
> #+SELECT_TAGS: export presentation
>
> in which case, I would have expected, that the tags defined here are not
> exported?
It's arguably better.
OTOH, it is easier to remove them with a filter (or globally with
tags:nil) than to add them back if we automatically delete them. So,
I tend to think we shouldn't remove them automatically.
WDYT?
> But I already have =tags:not-in-toc= but they were in the TOC?
I don't understand that question.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: BUG: in beamer export non-beamer tags exported as part of header
2016-05-24 20:32 ` Nicolas Goaziou
@ 2016-05-24 21:02 ` Rasmus
2016-05-25 7:39 ` Rainer M Krug
2016-05-25 7:37 ` Rainer M Krug
1 sibling, 1 reply; 19+ messages in thread
From: Rasmus @ 2016-05-24 21:02 UTC (permalink / raw)
To: emacs-orgmode
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Hello,
>
> Rainer M Krug <Rainer@krugs.de> writes:
>
>> But in my document, I have
>>
>> #+SELECT_TAGS: export presentation
>>
>> in which case, I would have expected, that the tags defined here are not
>> exported?
>
> It's arguably better.
>
> OTOH, it is easier to remove them with a filter (or globally with
> tags:nil) than to add them back if we automatically delete them. So,
> I tend to think we shouldn't remove them automatically.
>
> WDYT?
FWIW I agree with not being clever here. It becomes a too convoluted
definition of tags. Aside, I can’t think of single case where I would
*export* tags (but that’s another story).
--
When in doubt, do it!
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: BUG: in beamer export non-beamer tags exported as part of header
2016-05-24 21:02 ` Rasmus
@ 2016-05-25 7:39 ` Rainer M Krug
0 siblings, 0 replies; 19+ messages in thread
From: Rainer M Krug @ 2016-05-25 7:39 UTC (permalink / raw)
To: Rasmus; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1026 bytes --]
Rasmus <rasmus@gmx.us> writes:
> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>
>> Hello,
>>
>> Rainer M Krug <Rainer@krugs.de> writes:
>>
>>> But in my document, I have
>>>
>>> #+SELECT_TAGS: export presentation
>>>
>>> in which case, I would have expected, that the tags defined here are not
>>> exported?
>>
>> It's arguably better.
>>
>> OTOH, it is easier to remove them with a filter (or globally with
>> tags:nil) than to add them back if we automatically delete them. So,
>> I tend to think we shouldn't remove them automatically.
>>
>> WDYT?
>
> FWIW I agree with not being clever here. It becomes a too convoluted
> definition of tags. Aside, I can’t think of single case where I would
> *export* tags (but that’s another story).
Different usage scenarios I guess. But most certainly not in my usage
pattern of org (literate programming, data analysis, R, paper,
presentations, ...)
Cheers,
Rainer
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: BUG: in beamer export non-beamer tags exported as part of header
2016-05-24 20:32 ` Nicolas Goaziou
2016-05-24 21:02 ` Rasmus
@ 2016-05-25 7:37 ` Rainer M Krug
2016-05-25 20:29 ` Nicolas Goaziou
1 sibling, 1 reply; 19+ messages in thread
From: Rainer M Krug @ 2016-05-25 7:37 UTC (permalink / raw)
To: Rasmus; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 981 bytes --]
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Hello,
>
> Rainer M Krug <Rainer@krugs.de> writes:
>
>> But in my document, I have
>>
>> #+SELECT_TAGS: export presentation
>>
>> in which case, I would have expected, that the tags defined here are not
>> exported?
>
> It's arguably better.
>
> OTOH, it is easier to remove them with a filter (or globally with
> tags:nil) than to add them back if we automatically delete them. So,
> I tend to think we shouldn't remove them automatically.
>
> WDYT?
Makes sense - I just wasn't aware of the tags:nil property. Probably it
should be added to the beamer template headers (C-ce#)?
>
>> But I already have =tags:not-in-toc= but they were in the TOC?
>
> I don't understand that question.
I had
#+OPTIONS: tags:not-in-toc
in my org file, but the tags were still in the toc of the beamer export.
Rainer
>
> Regards,
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: BUG: in beamer export non-beamer tags exported as part of header
2016-05-25 7:37 ` Rainer M Krug
@ 2016-05-25 20:29 ` Nicolas Goaziou
2016-05-27 9:01 ` Rainer M Krug
0 siblings, 1 reply; 19+ messages in thread
From: Nicolas Goaziou @ 2016-05-25 20:29 UTC (permalink / raw)
To: Rainer M Krug; +Cc: emacs-orgmode, Rasmus
Hello,
Rainer M Krug <Rainer@krugs.de> writes:
> Makes sense - I just wasn't aware of the tags:nil property. Probably it
> should be added to the beamer template headers (C-ce#)?
It belongs to the default template, since this is a generic option.
I don't think it's a good idea to add duplicates in templates.
> I had
>
> #+OPTIONS: tags:not-in-toc
>
> in my org file, but the tags were still in the toc of the beamer
> export.
From your document, adding tags:not-in-toc, I get
\begin{document}
\begin{frame}{Outline}
\tableofcontents
\end{frame}
\section[Level 1]{Level 1\hfill{}\textsc{presentation}}
\label{sec:org057dfd7}
\begin{frame}[label={sec:org1551704}]{Frame 1}
Some Text
\end{frame}
\end{document}
Do you know what should be generated instead?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: BUG: in beamer export non-beamer tags exported as part of header
2016-05-25 20:29 ` Nicolas Goaziou
@ 2016-05-27 9:01 ` Rainer M Krug
2016-05-27 11:58 ` Nicolas Goaziou
0 siblings, 1 reply; 19+ messages in thread
From: Rainer M Krug @ 2016-05-27 9:01 UTC (permalink / raw)
To: Rasmus; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1503 bytes --]
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Hello,
>
> Rainer M Krug <Rainer@krugs.de> writes:
>
>> Makes sense - I just wasn't aware of the tags:nil property. Probably it
>> should be added to the beamer template headers (C-ce#)?
>
> It belongs to the default template, since this is a generic option.
> I don't think it's a good idea to add duplicates in templates.
>
>> I had
>>
>> #+OPTIONS: tags:not-in-toc
>>
>> in my org file, but the tags were still in the toc of the beamer
>> export.
>
> From your document, adding tags:not-in-toc, I get
>
> \begin{document}
>
> \begin{frame}{Outline}
> \tableofcontents
> \end{frame}
>
>
> \section[Level 1]{Level 1\hfill{}\textsc{presentation}}
> \label{sec:org057dfd7}
> \begin{frame}[label={sec:org1551704}]{Frame 1}
> Some Text
> \end{frame}
> \end{document}
>
> Do you know what should be generated instead?
When I generate a pdf, the tags are in the TOC - but tags:not-in-toc
means that the tags are *not* in the toc - possibly only in the headers
itself? I don't know.
Just checked, the tags are also in the toc in html export.
According to the documentation:
,----
| If this is the symbol ‘not-in-toc’, tags will be removed from
| table of contents entries, but still be shown in the headlines of
| the document.
`----
This is not working anymore.
Cheers,
Rainer
>
> Regards,
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: BUG: in beamer export non-beamer tags exported as part of header
2016-05-27 9:01 ` Rainer M Krug
@ 2016-05-27 11:58 ` Nicolas Goaziou
2016-05-27 16:15 ` Rainer M Krug
0 siblings, 1 reply; 19+ messages in thread
From: Nicolas Goaziou @ 2016-05-27 11:58 UTC (permalink / raw)
To: Rainer M Krug; +Cc: emacs-orgmode, Rasmus
Hello,
Rainer M Krug <Rainer@krugs.de> writes:
> When I generate a pdf, the tags are in the TOC - but tags:not-in-toc
> means that the tags are *not* in the toc - possibly only in the headers
> itself? I don't know.
>
> Just checked, the tags are also in the toc in html export.
>
> According to the documentation:
>
> ,----
> | If this is the symbol ‘not-in-toc’, tags will be removed from
> | table of contents entries, but still be shown in the headlines of
> | the document.
> `----
>
> This is not working anymore.
I cannot reproduce it, at least on HTML, LaTeX, and ASCII export. Could
you show an ECM ?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: BUG: in beamer export non-beamer tags exported as part of header
2016-05-27 11:58 ` Nicolas Goaziou
@ 2016-05-27 16:15 ` Rainer M Krug
2016-05-31 19:53 ` Nicolas Goaziou
2016-05-31 20:07 ` John Hendy
0 siblings, 2 replies; 19+ messages in thread
From: Rainer M Krug @ 2016-05-27 16:15 UTC (permalink / raw)
To: Rasmus; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1589 bytes --]
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Hello,
>
> Rainer M Krug <Rainer@krugs.de> writes:
>
>> When I generate a pdf, the tags are in the TOC - but tags:not-in-toc
>> means that the tags are *not* in the toc - possibly only in the headers
>> itself? I don't know.
>>
>> Just checked, the tags are also in the toc in html export.
>>
>> According to the documentation:
>>
>> ,----
>> | If this is the symbol ‘not-in-toc’, tags will be removed from
>> | table of contents entries, but still be shown in the headlines of
>> | the document.
>> `----
>>
>> This is not working anymore.
>
> I cannot reproduce it, at least on HTML, LaTeX, and ASCII export. Could
> you show an ECM ?
OK. Here it is:
--8<---------------cut here---------------start------------->8---
#+TITLE: An Example
#+EMAIL: Rainer@krugs.de
#+OPTIONS: tags:not-in-toc
#+LATEX_CLASS: beamer
#+OPTIONS: H:2 toc:t
* Level 1 :andHereIsTheTag:
** A Frame
#+begin_example
Org-mode version 8.3.4 (release_8.3.4-850-g9dbeaa @ /Users/rainerkrug/.emacs.d/org-mode/lisp/)
GNU Emacs 25.0.94.1 (x86_64-apple-darwin15.4.0, Carbon Version 157 AppKit 1404.46) of 2016-05-24
#+end_example
--8<---------------cut here---------------end--------------->8---
The problem is beamer - with the other exports it works. With beamer,
I get the pdf at [[https://www.dropbox.com/s/fc6z9wszxl5vv9i/text.pdf?dl=0]]
Cheers,
Rainer
>
> Regards,
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: BUG: in beamer export non-beamer tags exported as part of header
2016-05-27 16:15 ` Rainer M Krug
@ 2016-05-31 19:53 ` Nicolas Goaziou
2016-06-01 8:06 ` Rainer M Krug
2016-05-31 20:07 ` John Hendy
1 sibling, 1 reply; 19+ messages in thread
From: Nicolas Goaziou @ 2016-05-31 19:53 UTC (permalink / raw)
To: Rainer M Krug; +Cc: emacs-orgmode, Rasmus
Hello,
Rainer M Krug <Rainer@krugs.de> writes:
> OK. Here it is:
>
> #+TITLE: An Example
> #+EMAIL: Rainer@krugs.de
>
> #+OPTIONS: tags:not-in-toc
>
> #+LATEX_CLASS: beamer
> #+OPTIONS: H:2 toc:t
>
> * Level 1 :andHereIsTheTag:
> ** A Frame
> #+begin_example
> Org-mode version 8.3.4 (release_8.3.4-850-g9dbeaa @ /Users/rainerkrug/.emacs.d/org-mode/lisp/)
> GNU Emacs 25.0.94.1 (x86_64-apple-darwin15.4.0, Carbon Version 157 AppKit 1404.46) of 2016-05-24
> #+end_example
>
>
> The problem is beamer - with the other exports it works. With beamer,
> I get the pdf at [[https://www.dropbox.com/s/fc6z9wszxl5vv9i/text.pdf?dl=0]]
I cannot reproduce it. Could you show the LaTeX code generated?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: BUG: in beamer export non-beamer tags exported as part of header
2016-05-31 19:53 ` Nicolas Goaziou
@ 2016-06-01 8:06 ` Rainer M Krug
2016-06-01 11:08 ` Nicolas Goaziou
0 siblings, 1 reply; 19+ messages in thread
From: Rainer M Krug @ 2016-06-01 8:06 UTC (permalink / raw)
To: Rasmus; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 2314 bytes --]
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Hello,
>
> Rainer M Krug <Rainer@krugs.de> writes:
>
>> OK. Here it is:
>>
>> #+TITLE: An Example
>> #+EMAIL: Rainer@krugs.de
>>
>> #+OPTIONS: tags:not-in-toc
>>
>> #+LATEX_CLASS: beamer
>> #+OPTIONS: H:2 toc:t
>>
>> * Level 1 :andHereIsTheTag:
>> ** A Frame
>> #+begin_example
>> Org-mode version 8.3.4 (release_8.3.4-850-g9dbeaa @ /Users/rainerkrug/.emacs.d/org-mode/lisp/)
>> GNU Emacs 25.0.94.1 (x86_64-apple-darwin15.4.0, Carbon Version 157 AppKit 1404.46) of 2016-05-24
>> #+end_example
>>
>>
>> The problem is beamer - with the other exports it works. With beamer,
>> I get the pdf at [[https://www.dropbox.com/s/fc6z9wszxl5vv9i/text.pdf?dl=0]]
>
> I cannot reproduce it. Could you show the LaTeX code generated?
Here it is
Rainer
--8<---------------cut here---------------start------------->8---
% Created 2016-06-01 Wed 10:04
% Intended LaTeX compiler: pdflatex
\documentclass[presentation]{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{grffile}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{textcomp}
\usepackage{amssymb}
\usepackage{capt-of}
\usepackage{hyperref}
\usepackage{color}
\usepackage{listings}
\usetheme{default}
\author{Rainer M. Krug}
\date{\today}
\title{An Example}
\hypersetup{
pdfauthor={Rainer M. Krug},
pdftitle={An Example},
pdfkeywords={},
pdfsubject={},
pdfcreator={Emacs 25.0.94.1 (Org mode 8.3.4)},
pdflang={English}}
\begin{document}
\maketitle
\begin{frame}{Outline}
\tableofcontents
\end{frame}
\section[Level 1]{Level 1\hfill{}\textsc{andHereIsTheTag}}
\label{sec:orgf7a1edf}
\begin{frame}[fragile,label={sec:org61ac01b}]{A Frame}
\begin{verbatim}
Org-mode version 8.3.4 (release_8.3.4-850-g9dbeaa @ /Users/rainerkrug/.emacs.d/org-mode/lisp/)
GNU Emacs 25.0.94.1 (x86_64-apple-darwin15.4.0, Carbon Version 157 AppKit 1404.46) of 2016-05-24
\end{verbatim}
\end{frame}
\end{document}
--8<---------------cut here---------------end--------------->8---
>
> Regards,
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: BUG: in beamer export non-beamer tags exported as part of header
2016-06-01 8:06 ` Rainer M Krug
@ 2016-06-01 11:08 ` Nicolas Goaziou
2016-06-01 12:21 ` Rasmus
0 siblings, 1 reply; 19+ messages in thread
From: Nicolas Goaziou @ 2016-06-01 11:08 UTC (permalink / raw)
To: Rainer M Krug; +Cc: emacs-orgmode, Rasmus
Hello,
Rainer M Krug <Rainer@krugs.de> writes:
> \section[Level 1]{Level 1\hfill{}\textsc{andHereIsTheTag}}
IIUC, according to this line, tags should be removed from the toc.
This issue may be related to Beamer.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: BUG: in beamer export non-beamer tags exported as part of header
2016-06-01 11:08 ` Nicolas Goaziou
@ 2016-06-01 12:21 ` Rasmus
2016-06-01 13:23 ` Rainer M Krug
0 siblings, 1 reply; 19+ messages in thread
From: Rasmus @ 2016-06-01 12:21 UTC (permalink / raw)
To: rainer; +Cc: emacs-orgmode
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Hello,
>
> Rainer M Krug <Rainer@krugs.de> writes:
>
>> \section[Level 1]{Level 1\hfill{}\textsc{andHereIsTheTag}}
>
> IIUC, according to this line, tags should be removed from the toc.
>
> This issue may be related to Beamer.
From the Beamer manual, 10.2 (latest TL version):
\section<⟨mode specification⟩>[⟨short section name⟩]{⟨section name⟩}
Starts a section. No heading is created. The ⟨section name⟩ is shown in
the table of contents and in the navigation bars, except if ⟨short section
name⟩ is specified. In this case, ⟨short section name⟩ is used in the
navigation bars instead. If a ⟨mode specification⟩ is given, the command
only has an effect for the specified modes.
I guess the most sane solution is to not support tags:not-in-toc in
ox-beamer (or in general).
A latex hack might be something like this (untested):
\section{title}
\section<beamer>*{title \hfill :tags:} % to not mess up if someone uses article mode
Here’s another hack that can be applied in a org latex document class.
http://tex.stackexchange.com/questions/203105/short-section-name-in-toc
Rasmus
--
Look, it is what it is because of what it was
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: BUG: in beamer export non-beamer tags exported as part of header
2016-06-01 12:21 ` Rasmus
@ 2016-06-01 13:23 ` Rainer M Krug
2016-06-01 17:40 ` Nicolas Goaziou
0 siblings, 1 reply; 19+ messages in thread
From: Rainer M Krug @ 2016-06-01 13:23 UTC (permalink / raw)
To: Rasmus; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]
Rasmus <rasmus@gmx.us> writes:
> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>
>> Hello,
>>
>> Rainer M Krug <Rainer@krugs.de> writes:
>>
>>> \section[Level 1]{Level 1\hfill{}\textsc{andHereIsTheTag}}
>>
>> IIUC, according to this line, tags should be removed from the toc.
>>
>> This issue may be related to Beamer.
>
> From the Beamer manual, 10.2 (latest TL version):
>
> \section<⟨mode specification⟩>[⟨short section name⟩]{⟨section name⟩}
>
> Starts a section. No heading is created. The ⟨section name⟩ is shown in
> the table of contents and in the navigation bars, except if ⟨short section
> name⟩ is specified. In this case, ⟨short section name⟩ is used in the
> navigation bars instead. If a ⟨mode specification⟩ is given, the command
> only has an effect for the specified modes.
>
> I guess the most sane solution is to not support tags:not-in-toc in
> ox-beamer (or in general).
I agree - that might be the easiest solution.
Rainer
>
> A latex hack might be something like this (untested):
>
> \section{title}
> \section<beamer>*{title \hfill :tags:} % to not mess up if someone uses article mode
>
>
> Here’s another hack that can be applied in a org latex document class.
>
> http://tex.stackexchange.com/questions/203105/short-section-name-in-toc
>
> Rasmus
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: BUG: in beamer export non-beamer tags exported as part of header
2016-06-01 13:23 ` Rainer M Krug
@ 2016-06-01 17:40 ` Nicolas Goaziou
0 siblings, 0 replies; 19+ messages in thread
From: Nicolas Goaziou @ 2016-06-01 17:40 UTC (permalink / raw)
To: Rainer M Krug; +Cc: emacs-orgmode, Rasmus
Hello,
Rainer M Krug <Rainer@krugs.de> writes:
> Rasmus <rasmus@gmx.us> writes:
>> From the Beamer manual, 10.2 (latest TL version):
>>
>> \section<⟨mode specification⟩>[⟨short section name⟩]{⟨section name⟩}
>>
>> Starts a section. No heading is created. The ⟨section name⟩ is shown in
>> the table of contents and in the navigation bars, except if ⟨short section
>> name⟩ is specified. In this case, ⟨short section name⟩ is used in the
>> navigation bars instead. If a ⟨mode specification⟩ is given, the command
>> only has an effect for the specified modes.
So I guess "ox-beamer.el" should generate
\section[alt title]{level 1}
from
* level 1 :tag:
:PROPERTIES:
:ALT_TITLE: alt title
:END:
when tags:not-in-toc is provided.
>> I guess the most sane solution is to not support tags:not-in-toc in
>> ox-beamer (or in general).
>
> I agree - that might be the easiest solution.
Not that I do mind removing it, but I don't understand why you suggest
that tags:not-in-toc should not be used. It works as expected is almost
all back-ends, doesn't it?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: BUG: in beamer export non-beamer tags exported as part of header
2016-05-27 16:15 ` Rainer M Krug
2016-05-31 19:53 ` Nicolas Goaziou
@ 2016-05-31 20:07 ` John Hendy
2016-06-01 8:12 ` Rainer M Krug
1 sibling, 1 reply; 19+ messages in thread
From: John Hendy @ 2016-05-31 20:07 UTC (permalink / raw)
To: Rainer M Krug; +Cc: emacs-orgmode, Rasmus
On Fri, May 27, 2016 at 11:15 AM, Rainer M Krug <Rainer@krugs.de> wrote:
> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>
>> Hello,
>>
>> Rainer M Krug <Rainer@krugs.de> writes:
>>
>>> When I generate a pdf, the tags are in the TOC - but tags:not-in-toc
>>> means that the tags are *not* in the toc - possibly only in the headers
>>> itself? I don't know.
>>>
>>> Just checked, the tags are also in the toc in html export.
>>>
>>> According to the documentation:
>>>
>>> ,----
>>> | If this is the symbol ‘not-in-toc’, tags will be removed from
>>> | table of contents entries, but still be shown in the headlines of
>>> | the document.
>>> `----
>>>
>>> This is not working anymore.
>>
>> I cannot reproduce it, at least on HTML, LaTeX, and ASCII export. Could
>> you show an ECM ?
>
> OK. Here it is:
>
> --8<---------------cut here---------------start------------->8---
> #+TITLE: An Example
> #+EMAIL: Rainer@krugs.de
>
> #+OPTIONS: tags:not-in-toc
>
> #+LATEX_CLASS: beamer
> #+OPTIONS: H:2 toc:t
>
> * Level 1 :andHereIsTheTag:
> ** A Frame
> #+begin_example
> Org-mode version 8.3.4 (release_8.3.4-850-g9dbeaa @ /Users/rainerkrug/.emacs.d/org-mode/lisp/)
> GNU Emacs 25.0.94.1 (x86_64-apple-darwin15.4.0, Carbon Version 157 AppKit 1404.46) of 2016-05-24
> #+end_example
> --8<---------------cut here---------------end--------------->8---
>
>
> The problem is beamer - with the other exports it works. With beamer,
> I get the pdf at [[https://www.dropbox.com/s/fc6z9wszxl5vv9i/text.pdf?dl=0]]
>
As is, I get the tag in beamer, article, and html. You're saying you
*don't* get the tag in article/html, but you *do* in beamer? If so, I
can't reproduce. Behavior is consistent with what I'd expect, namely
that tags export, but setting tags:nil turns that off.
John
> Cheers,
>
> Rainer
>
>>
>> Regards,
>
> --
> Rainer M. Krug
> email: Rainer<at>krugs<dot>de
> PGP: 0x0F52F982
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: BUG: in beamer export non-beamer tags exported as part of header
2016-05-31 20:07 ` John Hendy
@ 2016-06-01 8:12 ` Rainer M Krug
0 siblings, 0 replies; 19+ messages in thread
From: Rainer M Krug @ 2016-06-01 8:12 UTC (permalink / raw)
To: John Hendy; +Cc: emacs-orgmode, Rasmus
[-- Attachment #1: Type: text/plain, Size: 2331 bytes --]
John Hendy <jw.hendy@gmail.com> writes:
> On Fri, May 27, 2016 at 11:15 AM, Rainer M Krug <Rainer@krugs.de> wrote:
>> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>>
>>> Hello,
>>>
>>> Rainer M Krug <Rainer@krugs.de> writes:
>>>
>>>> When I generate a pdf, the tags are in the TOC - but tags:not-in-toc
>>>> means that the tags are *not* in the toc - possibly only in the headers
>>>> itself? I don't know.
>>>>
>>>> Just checked, the tags are also in the toc in html export.
>>>>
>>>> According to the documentation:
>>>>
>>>> ,----
>>>> | If this is the symbol ‘not-in-toc’, tags will be removed from
>>>> | table of contents entries, but still be shown in the headlines of
>>>> | the document.
>>>> `----
>>>>
>>>> This is not working anymore.
>>>
>>> I cannot reproduce it, at least on HTML, LaTeX, and ASCII export. Could
>>> you show an ECM ?
>>
>> OK. Here it is:
>>
>> --8<---------------cut here---------------start------------->8---
>> #+TITLE: An Example
>> #+EMAIL: Rainer@krugs.de
>>
>> #+OPTIONS: tags:not-in-toc
>>
>> #+LATEX_CLASS: beamer
>> #+OPTIONS: H:2 toc:t
>>
>> * Level 1 :andHereIsTheTag:
>> ** A Frame
>> #+begin_example
>> Org-mode version 8.3.4 (release_8.3.4-850-g9dbeaa @ /Users/rainerkrug/.emacs.d/org-mode/lisp/)
>> GNU Emacs 25.0.94.1 (x86_64-apple-darwin15.4.0, Carbon Version 157 AppKit 1404.46) of 2016-05-24
>> #+end_example
>> --8<---------------cut here---------------end--------------->8---
>>
>>
>> The problem is beamer - with the other exports it works. With beamer,
>> I get the pdf at [[https://www.dropbox.com/s/fc6z9wszxl5vv9i/text.pdf?dl=0]]
>>
>
> As is, I get the tag in beamer, article, and html. You're saying you
> *don't* get the tag in article/html, but you *do* in beamer? If so, I
> can't reproduce. Behavior is consistent with what I'd expect, namely
> that tags export, but setting tags:nil turns that off.
The tags *do* export to the *headers*, which is expected, but *should not* be
in the toc.
Cheers,
Rainer
>
>
> John
>
>> Cheers,
>>
>> Rainer
>>
>>>
>>> Regards,
>>
>> --
>> Rainer M. Krug
>> email: Rainer<at>krugs<dot>de
>> PGP: 0x0F52F982
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2016-06-01 17:41 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-24 10:48 BUG: in beamer export non-beamer tags exported as part of header Rainer M Krug
2016-05-24 12:08 ` Rasmus
2016-05-24 12:27 ` Rainer M Krug
2016-05-24 20:32 ` Nicolas Goaziou
2016-05-24 21:02 ` Rasmus
2016-05-25 7:39 ` Rainer M Krug
2016-05-25 7:37 ` Rainer M Krug
2016-05-25 20:29 ` Nicolas Goaziou
2016-05-27 9:01 ` Rainer M Krug
2016-05-27 11:58 ` Nicolas Goaziou
2016-05-27 16:15 ` Rainer M Krug
2016-05-31 19:53 ` Nicolas Goaziou
2016-06-01 8:06 ` Rainer M Krug
2016-06-01 11:08 ` Nicolas Goaziou
2016-06-01 12:21 ` Rasmus
2016-06-01 13:23 ` Rainer M Krug
2016-06-01 17:40 ` Nicolas Goaziou
2016-05-31 20:07 ` John Hendy
2016-06-01 8:12 ` Rainer M Krug
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.