emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* BEGIN_SRC breaks rendering of org source
@ 2009-06-23  6:12 Stefan Vollmar
  2009-06-23 12:12 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Vollmar @ 2009-06-23  6:12 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

taking up a nice suggestion from Sebastian Rose, I want to present  
some org source with proper syntax highlighting. However, there is a  
problem when using "BEGIN_SRC" blocks it seems.

If one puts this org contents into a file "test.org":

* One Headline
Some Text
#+BEGIN_SRC python
print "some output"
#+END_SRC
* Another headline
More text

and renders it from another org-file with:

#+INCLUDE: "./test.org" src org

everything will be fine (beautiful, infact) up to and including the  
print-line - the rest of the org file is not rendered as source but  
interpreted.

I use
(require 'htmlize)
and maybe here is the problem?

Warm regards,
  Stefan
-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: vollmar@nf.mpg.de   http://www.nf.mpg.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: BEGIN_SRC breaks rendering of org source
  2009-06-23  6:12 BEGIN_SRC breaks rendering of org source Stefan Vollmar
@ 2009-06-23 12:12 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-06-23 12:12 UTC (permalink / raw)
  To: Stefan Vollmar; +Cc: emacs-orgmode

Fixed, thanks.

- Carsten

On Jun 23, 2009, at 8:12 AM, Stefan Vollmar wrote:

> Hello,
>
> taking up a nice suggestion from Sebastian Rose, I want to present  
> some org source with proper syntax highlighting. However, there is a  
> problem when using "BEGIN_SRC" blocks it seems.
>
> If one puts this org contents into a file "test.org":
>
> * One Headline
> Some Text
> #+BEGIN_SRC python
> print "some output"
> #+END_SRC
> * Another headline
> More text
>
> and renders it from another org-file with:
>
> #+INCLUDE: "./test.org" src org
>
> everything will be fine (beautiful, infact) up to and including the  
> print-line - the rest of the org file is not rendered as source but  
> interpreted.
>
> I use
> (require 'htmlize)
> and maybe here is the problem?
>
> Warm regards,
> Stefan
> -- 
> Dr. Stefan Vollmar, Dipl.-Phys.
> Max-Planck-Institut für neurologische Forschung
> Gleuelerstr. 50, 50931 Köln, Germany
> Tel.: +49-221-4726-213  FAX +49-221-4726-298
> Tel.: +49-221-478-5713  Mobile: 0160-93874279
> Email: vollmar@nf.mpg.de   http://www.nf.mpg.de
>
>
>
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-23 12:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-23  6:12 BEGIN_SRC breaks rendering of org source Stefan Vollmar
2009-06-23 12:12 ` Carsten Dominik

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).