emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with the on-line manual


From: Ihor Radchenko
Subject: Re: problem with the on-line manual
Date: Sun, 09 Oct 2022 11:54:20 +0800

Giuseppe Lipari <giulipari@gmail.com> writes:

> By further investigating the problem I had, I tried to export the
> following snippet:
>
> ---
> ** Example
> *** Temperature control                                          :B_example:
>     :PROPERTIES:
>     :BEAMER_env: example
>     :END:
>
>     Let us make a simple example of temperature control.
>
>     #+attr_latex: :float t :width .5\textwidth
>     [[file:room1-crop.pdf]]
> ---
>
> When exported, this produces the following :
>
> ---
> \begin{frame}[label={sec:orgb828ded}]{Example}
> \begin{example}[Temperature control]
> \footnotesize
> Let us make a simple example of temperature control.
>
> \begin{t}
> \centering
> \includegraphics[width=.5\textwidth]{room1-crop.pdf}
> \end{t}
> ---
> Which is of course not what I want. Notice the \begin{t} ... \end{t}.
> ...
> Is this a bug, or has the syntax changed in a way that is not documented yet ?

Try the latest main branch from Git. (see
https://orgmode.org/manual/Installation.html)

On main, the export yields

\begin{frame}[label={sec:org8efec4c}]{Example}
\begin{example}[Temperature control]
Let us make a simple example of temperature control.

\begin{figure}[htbp]
\centering
\includegraphics[width=.5\textwidth]{room1-crop.pdf}
\end{figure}
\end{example}
\end{frame}

which looks right to me.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]