From mboxrd@z Thu Jan 1 00:00:00 1970 From: bruce robertson Subject: Re: source block breaks when code looks like heading Date: Tue, 08 Aug 2017 08:06:29 +0000 Message-ID: References: <87o9rqa4fo.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113d60066dbdc105563971c0" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dezXF-0004e7-Ri for emacs-orgmode@gnu.org; Tue, 08 Aug 2017 04:06:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dezXE-0006Fb-Oy for emacs-orgmode@gnu.org; Tue, 08 Aug 2017 04:06:41 -0400 Received: from mail-oi0-x22c.google.com ([2607:f8b0:4003:c06::22c]:34698) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dezXE-0006F8-Jr for emacs-orgmode@gnu.org; Tue, 08 Aug 2017 04:06:40 -0400 Received: by mail-oi0-x22c.google.com with SMTP id x3so25908900oia.1 for ; Tue, 08 Aug 2017 01:06:40 -0700 (PDT) In-Reply-To: <87o9rqa4fo.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org --001a113d60066dbdc105563971c0 Content-Type: text/plain; charset="UTF-8" How would the source for the math then work? On Tue, Aug 8, 2017 at 12:45 AM Nicolas Goaziou wrote: > Hello, > > bruce robertson writes: > > > multi-line comments or expressions appearing to be headings break block. > > > > * top > > > > #+begin_src php > > /* > > *do not prepend a space to 'do' > > */ > > b = 2 > > *3; // do not prepend a space to '3' > > #+end_src > > You need to prepend a comma before the asterisks. See (info "(org)Literal > examples"). > > Regards, > > -- > Nicolas Goaziou > --001a113d60066dbdc105563971c0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
How would the source for the math then work?
On Tue, Aug 8, 2017 at 12:45 AM Nicolas G= oaziou <mail@nicolasgoaziou.fr= > wrote:
Hello,

bruce robertson <brucer42@gmail.com> writes:

> multi-line comments or expressions appearing to be headings break bloc= k.
>
> * top
>
> #+begin_src php
> /*
> *do not prepend a space to 'do'
> */
> b =3D 2
> *3; // do not prepend a space to '3'
> #+end_src

You need to prepend a comma before the asterisks. See (info "(org)Lite= ral
examples").

Regards,

--
Nicolas Goaziou
--001a113d60066dbdc105563971c0--