From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Inline source does not evaluate when inserted insie a minipage environment Date: Fri, 22 Sep 2017 23:22:02 +0200 Message-ID: <87zi9m5szp.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvVOl-00085F-0L for emacs-orgmode@gnu.org; Fri, 22 Sep 2017 17:22:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvVOh-0007SF-Sw for emacs-orgmode@gnu.org; Fri, 22 Sep 2017 17:22:11 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:46009) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dvVOh-0007QL-MY for emacs-orgmode@gnu.org; Fri, 22 Sep 2017 17:22:07 -0400 In-Reply-To: (Charles Millar's message of "Fri, 22 Sep 2017 15:56:58 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Charles Millar Cc: "emacs-orgmode@gnu.org" Hello, Charles Millar 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=C2=A0 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=C2=A0 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, --=20 Nicolas Goaziou