From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: HTML export of org source blocks Date: Wed, 1 Sep 2010 08:15:07 -1000 Message-ID: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: multipart/mixed; boundary="===============1411366988==" Return-path: Received: from [140.186.70.92] (port=35352 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oqrq7-0005yl-2d for emacs-orgmode@gnu.org; Wed, 01 Sep 2010 14:15:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oqrq6-0002pN-4s for emacs-orgmode@gnu.org; Wed, 01 Sep 2010 14:15:15 -0400 Received: from oproxy1-pub.bluehost.com ([66.147.249.253]:56111) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Oqrq5-0002p0-UL for emacs-orgmode@gnu.org; Wed, 01 Sep 2010 14:15:14 -0400 Received: from [72.253.144.27] (helo=potofo-ou.westell.com) by box472.bluehost.com with esmtpa (Exim 4.69) (envelope-from ) id 1Oqrq1-0005EU-SG for emacs-orgmode@gnu.org; Wed, 01 Sep 2010 12:15:10 -0600 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode Mailing List --===============1411366988== Content-Type: multipart/alternative; boundary=Apple-Mail-54-115030062 --Apple-Mail-54-115030062 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Aloha all, The following example from the Ledger tutorial http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ledger.php doesn't export the #+end_src line: #+begin_src org ,#+begin_src ledger :cmdline -s bal :results value ,!include /tmp/account.ledger ,#+end_src #+end_src As you can see in this example and others in the Ledger tutorial on Worg, only the first two lines of the code block make it through the exporter. Is this a bug or is the source block malformed in some way? All the best, Tom --Apple-Mail-54-115030062 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: 7bit Aloha all,

The following example from the Ledger tutorial http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ledger.php doesn't export the #+end_src line:

#+begin_src org

,#+begin_src ledger :cmdline -s bal :results value 
,!include /tmp/account.ledger
,#+end_src
  
#+end_src

As you can see in this example and others in the Ledger tutorial on Worg, only the first two lines of the code block make it through the exporter.
< br>
Is this a bug or is the source block malformed in some way?

All the best,
Tom
--Apple-Mail-54-115030062-- --===============1411366988== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1411366988==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noorul Islam K M Subject: Re: HTML export of org source blocks Date: Thu, 02 Sep 2010 12:36:09 +0530 Message-ID: <87aao039r2.fsf@noorul.maa.corp.collab.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=49135 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Or3te-0007xa-HD for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 03:07:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Or3tc-00027H-U6 for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 03:07:42 -0400 Received: from mail-gx0-f169.google.com ([209.85.161.169]:46652) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Or3tc-00026y-R5 for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 03:07:40 -0400 Received: by gxk9 with SMTP id 9so82741gxk.0 for ; Thu, 02 Sep 2010 00:07:40 -0700 (PDT) In-Reply-To: (Thomas S. Dye's message of "Wed, 1 Sep 2010 08:15:07 -1000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: org-mode Mailing List "Thomas S. Dye" writes: > Aloha all, > > The following example from the Ledger tutorial > http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ledger.php > doesn't export the #+end_src line: > > #+begin_src org > > ,#+begin_src ledger :cmdline -s bal :results value > ,!include /tmp/account.ledger > ,#+end_src > > #+end_src > > As you can see in this example and others in the Ledger tutorial on > Worg, only the first two lines of the code block make it through the > exporter. > > Is this a bug or is the source block malformed in some way? I think you should use BEGIN_EXAMPLE and END_EXAMPLE for this. In that case you don't have to use leading ",". You can check the org files written for babel tutorial Thanks and Regards Noorul From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: HTML export of org source blocks Date: Thu, 2 Sep 2010 06:59:41 -1000 Message-ID: <32D4F787-131C-418E-BA5D-DFFCB000AC94@tsdye.com> References: <87aao039r2.fsf@noorul.maa.corp.collab.net> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=48455 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrD8l-0002b2-Ig for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 12:59:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OrD8g-0001Kp-Pi for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 12:59:52 -0400 Received: from oproxy3-pub.bluehost.com ([69.89.21.8]:48297) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OrD8g-0001JJ-FB for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 12:59:50 -0400 In-Reply-To: <87aao039r2.fsf@noorul.maa.corp.collab.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Noorul Islam K M Cc: org-mode Mailing List On Sep 1, 2010, at 9:06 PM, Noorul Islam K M wrote: > "Thomas S. Dye" writes: > >> Aloha all, >> >> The following example from the Ledger tutorial >> http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ledger.php >> doesn't export the #+end_src line: >> >> #+begin_src org >> >> ,#+begin_src ledger :cmdline -s bal :results value >> ,!include /tmp/account.ledger >> ,#+end_src >> >> #+end_src >> >> As you can see in this example and others in the Ledger tutorial on >> Worg, only the first two lines of the code block make it through the >> exporter. >> >> Is this a bug or is the source block malformed in some way? > > > I think you should use BEGIN_EXAMPLE and END_EXAMPLE for this. > > In that case you don't have to use leading ",". > > You can check the org files written for babel tutorial > > Thanks and Regards > Noorul > Aloha Noorul, Thanks much. The #+end_src lines export fine now. All the best, Tom