emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Giuseppe Lipari <giulipari@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: problem with the on-line manual
Date: Sun, 09 Oct 2022 11:54:20 +0800	[thread overview]
Message-ID: <871qrhfy8j.fsf@localhost> (raw)
In-Reply-To: <CABHo5SCm-zH3188N8Au0mLDv3g+siFRXn51zN0DvUmhaaJMTDg@mail.gmail.com>

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	other threads:[~2022-10-09  3:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-08  8:58 problem with the on-line manual Giuseppe Lipari
2022-10-08 12:42 ` Max Nikulin
2022-10-08 14:19   ` Giuseppe Lipari
2022-10-09  3:54     ` Ihor Radchenko [this message]
2022-10-12  6:50 ` Ihor Radchenko

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=871qrhfy8j.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=giulipari@gmail.com \
    /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).