[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Inline source does not evaluate when inserted insie a minipage e
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Inline source does not evaluate when inserted insie a minipage environment |
Date: |
Fri, 22 Sep 2017 23:22:02 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello,
Charles Millar <address@hidden> writes:
> This problem may not be limited to just \begin{minipage}, etc., but to
> other latex commands which may precede text which contains inline
> source code
>
> The following inline code evaluates as expected to 1
>
> This is some text.
> Some more test with an inline src_sh[:results raw]{echo 1}
> a bit more
>
> However, when I C-c C-c the same code when inside a minipage, I get
> the message " 'C-c C-c' can do nothing useful here"
> \begin{minipage}[t]{4.0in} This is some text.
> Some more test with an inline src_sh[:results raw]{echo 1}
> a bit more
> \end{minipage}
This is not a bug.
\begin{minipage}
...
\end{minipage}
defines a LaTeX environment, i.e., pure LaTeX code, and Org doesn't look
into this. This is like $...$ or \(...\), but as block element.
Regards,
--
Nicolas Goaziou