* Slides with columns export problem
@ 2017-08-17 17:55 Stéphane Genaud
2017-08-17 18:52 ` Nicolas Goaziou
[not found] ` <87a82xq4yw.fsf@delle7240.chemeng.ucl.ac.uk>
0 siblings, 2 replies; 4+ messages in thread
From: Stéphane Genaud @ 2017-08-17 17:55 UTC (permalink / raw)
To: emacs-orgmode
Hello,
i am using org-mode 8.2.10 to export to a beamer tex source.
When running pdflatex my org-mode source file, and once i finally isolated
the problematic bit in a single frame, pdflatex says:
[1{/opt/local/var/db/texmf/fonts/map/pdftex/updmap/pdftex.map}])
Runaway argument?
\let \AtEndDocument \@firstofone \@enddocumenthook \@checkend {docume\ETC.
! File ended while scanning use of \beamer@collect@@body.
<inserted text>
\par
<*> simple.tex
The problematic frame is:
-------------------------------------------------------------------
** Kernel Roles
*** Roles :B_column:
:PROPERTIES:
:BEAMER_env: block
:BEAMER_col: 0.5
:BEAMER_envargs: <2->
:END:
- Program Execution
- File Maagement
- I/O Management
- Communication
- Protection & Security
- Accounting
- Resource Allocation
*** Image: What does it do? :B_column:
:PROPERTIES:
:BEAMER_env: ignoreheading
:BEAMER_col: 0.5
:END:
#+LABEL:fig:kernel-roles
#+ATTR_LaTeX: width=0.8\linewidth
#+ATTR_HTML: width="80%"
[[file:fig/kernel-roles.png]]
—————————————————————————————————
for which the tex-beamer export produces:
-------------------------------------------------------------------
\begin{frame}[label=sec-2-6]{Kernel Roles}
\begin{columns}
\begin{column}{0.5\textwidth}
\begin{block}{Roles}
\begin{itemize}
\item Program Execution
\item File Management
\item I/O Management
\item Communication
\item Protection \& Security
\item Accounting
\item Resource Allocation
\end{itemize}
\end{block}
\end{column}
\begin{center}
\includegraphics[width=.9\linewidth]{fig/kernel-roles.png}
\end{center}
\end{frame}
—————————————————————————————————
Here, a second \begin{column}…\end{column} is missing.
I have successfully used this construct in other presentations.
I have tried plenty of variations but i do not really understand what
will trigger/not trigger the creation of a second \begin{column}…\end{column}.
The org-mode example related to this page setup in the documentation
(http://orgmode.org/worg/exporters/beamer/tutorial.html#orgdaf54b2) does not
explain much apart from the specific example given.
Any help to understand how the exporter works would be appreciated.
Thanks.
—Stéphane.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Slides with columns export problem
2017-08-17 17:55 Slides with columns export problem Stéphane Genaud
@ 2017-08-17 18:52 ` Nicolas Goaziou
[not found] ` <87a82xq4yw.fsf@delle7240.chemeng.ucl.ac.uk>
1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2017-08-17 18:52 UTC (permalink / raw)
To: Stéphane Genaud; +Cc: emacs-orgmode
Hello,
Stéphane Genaud <genaud@unistra.fr> writes:
> i am using org-mode 8.2.10 to export to a beamer tex source.
> When running pdflatex my org-mode source file, and once i finally isolated
> the problematic bit in a single frame, pdflatex says:
>
> [1{/opt/local/var/db/texmf/fonts/map/pdftex/updmap/pdftex.map}])
> Runaway argument?
> \let \AtEndDocument \@firstofone \@enddocumenthook \@checkend {docume\ETC.
> ! File ended while scanning use of \beamer@collect@@body.
> <inserted text>
> \par
> <*> simple.tex
>
>
> The problematic frame is:
> -------------------------------------------------------------------
>
> ** Kernel Roles
> *** Roles :B_column:
> :PROPERTIES:
> :BEAMER_env: block
> :BEAMER_col: 0.5
> :BEAMER_envargs: <2->
> :END:
> - Program Execution
> - File Maagement
> - I/O Management
> - Communication
> - Protection & Security
> - Accounting
> - Resource Allocation
> *** Image: What does it do? :B_column:
> :PROPERTIES:
> :BEAMER_env: ignoreheading
> :BEAMER_col: 0.5
The two properties above are incompatible.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <87a82xq4yw.fsf@delle7240.chemeng.ucl.ac.uk>]
* Re: Slides with columns export problem
[not found] ` <87a82xq4yw.fsf@delle7240.chemeng.ucl.ac.uk>
@ 2017-08-18 9:43 ` Stéphane Genaud
2017-08-18 10:13 ` Nicolas Goaziou
0 siblings, 1 reply; 4+ messages in thread
From: Stéphane Genaud @ 2017-08-18 9:43 UTC (permalink / raw)
To: emacs-orgmode; +Cc: Eric S Fraga, Nicolas Goaziou
Thanks Eric and Nicolas for finding out quickly.
Indeed, changing the PROPERTY: ignoreheading to block solved the issue.
I think these kind of incompatibilities should be documented, it drove me crazy many hours since
of course the pdflatex error messages are totally useless to find out.
I would be pleased to help but unfortunately i am totally ignorant of these subtleties.
Thanks.
—Stéphane.
> On 17 Aug 2017, at 23:06, Eric S Fraga <esflists@gmail.com> wrote:
>
> On Thursday, 17 Aug 2017 at 19:55, Stéphane Genaud wrote:
>> Hello,
>> i am using org-mode 8.2.10 to export to a beamer tex source.
>> When running pdflatex my org-mode source file, and once i finally isolated
>> the problematic bit in a single frame, pdflatex says:
>
> Try removing the ignoreheading property. The new exporter (okay, not so
> new any more ;-)) defaults to ignoring the headline contents unless you
> say otherwise.
>
> --
> : Eric S Fraga via Emacs 26.0.50, Org release_9.0.9-573-g09e612
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Slides with columns export problem
2017-08-18 9:43 ` Stéphane Genaud
@ 2017-08-18 10:13 ` Nicolas Goaziou
0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2017-08-18 10:13 UTC (permalink / raw)
To: Stéphane Genaud; +Cc: Eric S Fraga, emacs-orgmode
Hello,
Stéphane Genaud <genaud@unistra.fr> writes:
> I think these kind of incompatibilities should be documented, it drove
> me crazy many hours since of course the pdflatex error messages are
> totally useless to find out.
Quoting the manual
Also, a headline with an ‘ignoreheading’ environment will have its
contents only inserted in the output. This special value is useful
to have data between frames, or to properly close a ‘column’
environment.
[...]
Moreover, headlines handle the ‘BEAMER_COL’ property. Its value
should be a decimal number representing the width of the column as a
fraction of the total text width. If the headline has no specific
environment, its title will be ignored and its contents will fill the
column created.
so there is no incentive to use "ignoreheading" in conjunction with
BEAMER_COL property.
Of course, if you see an improvement on the wording, suggestions are
welcome.
Regards,
--
Nicolas Goaziou 0x80A93738
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-08-18 10:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-17 17:55 Slides with columns export problem Stéphane Genaud
2017-08-17 18:52 ` Nicolas Goaziou
[not found] ` <87a82xq4yw.fsf@delle7240.chemeng.ucl.ac.uk>
2017-08-18 9:43 ` Stéphane Genaud
2017-08-18 10:13 ` Nicolas Goaziou
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).