emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Thomas S. Dye" <tsd@tsdye.com>
To: Noorul Islam K M <noorul@noorul.com>
Cc: org-mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: HTML export of org source blocks
Date: Thu, 2 Sep 2010 06:59:41 -1000	[thread overview]
Message-ID: <32D4F787-131C-418E-BA5D-DFFCB000AC94@tsdye.com> (raw)
In-Reply-To: <87aao039r2.fsf@noorul.maa.corp.collab.net>


On Sep 1, 2010, at 9:06 PM, Noorul Islam K M wrote:

> "Thomas S. Dye" <tsd@tsdye.com> 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

      reply	other threads:[~2010-09-02 16:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-01 18:15 HTML export of org source blocks Thomas S. Dye
2010-09-02  7:06 ` Noorul Islam K M
2010-09-02 16:59   ` Thomas S. Dye [this message]

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=32D4F787-131C-418E-BA5D-DFFCB000AC94@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=noorul@noorul.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).