[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Is there an environment for Org syntax?
From: |
Phil Regier |
Subject: |
Re: [O] Is there an environment for Org syntax? |
Date: |
Fri, 14 Mar 2014 17:13:36 -0500 (CDT) |
I had thought that '#+begin_src org :exports code' would do just this, though I
believe you have to then begin each line with a comma inside the block.
For me, the following:
#+begin_src org :exports code
,#+begin_src org :exports code
,#+end_src
#+end_src
produces Org code via the HTML and Latex export backends. I think there are
syntax highlighting export extensions in the wild (just search the web for
something like 'org export syntax highlighting' to see a diverse collection of
proposed solutions; Pygments appears to be a common theme, though I know
nothing about it), but AFAIK they are not distributed with Org at this time.
Does that at least address the first part of your inquiry? Sorry I couldn't
offer anything actionable for the second; maybe someone else can pick up where
I left off.
Phil
----- Original Message -----
From: "Fletcher Charest" <address@hidden>
To: address@hidden
Sent: Friday, March 14, 2014 4:41:12 PM
Subject: [O] Is there an environment for Org syntax?
Dear all,
I am currently writing a practical tutorial about Org for absolute
beginners. In the end, I would like to export it in multiple formats, HTML
for sure, but maybe LaTeX too (I am, of course, writing it with org-mode).
I am not aware of a functionality, or hack, which would allow me to include
Org syntax in the document, without it being taken into account by Org
itself and the exporter as being part of the document structure. Instead,
I'd like it to be exported as it appears in my Emacs Org file, including
colors, etc. I hope I am explaining this clearly.
Is it possible?
Thank you very much for you help,
FC
- [O] Is there an environment for Org syntax?, Fletcher Charest, 2014/03/14
- Re: [O] Is there an environment for Org syntax?,
Phil Regier <=
- Re: [O] Is there an environment for Org syntax?, Fletcher Charest, 2014/03/14
- Re: [O] Is there an environment for Org syntax?, Phil Regier, 2014/03/14
- Re: [O] Is there an environment for Org syntax?, Fletcher Charest, 2014/03/14
- Re: [O] Is there an environment for Org syntax?, Phil Regier, 2014/03/14
- Re: [O] Is there an environment for Org syntax?, Fletcher Charest, 2014/03/17
- Re: [O] Is there an environment for Org syntax?, Phil Regier, 2014/03/18
- Re: [O] Is there an environment for Org syntax?, Bastien, 2014/03/19
- Re: [O] Is there an environment for Org syntax?, Fletcher Charest, 2014/03/22
Re: [O] Is there an environment for Org syntax?, Kyle Meyer, 2014/03/15