Re: [O] #+begin_src LaTeX blocks export to literal LaTeX

2011-11-09 Thread Eric Schulte
Michael Bach pha...@gmail.com writes:

 Just for reference, I found that I need to load `ob-latex.el'.  With
 that it works nicely.


While the above works, the preferred way to add support for a language
is using the `org-babel-do-load-languages' function.  See
http://orgmode.org/manual/Languages.html#Languages

Best -- Eric

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



Re: [O] #+begin_src LaTeX blocks export to literal LaTeX

2011-11-07 Thread Michael Bach
Just for reference, I found that I need to load `ob-latex.el'.  With
that it works nicely.



[O] #+begin_src LaTeX blocks export to literal LaTeX

2011-11-06 Thread Michael Bach
Dear org-mode community,

I am configuring my LaTeX export setup and found LaTeX src blocks very
nice for the font lock they provide and the possibility of having AUCTeX
activated for that block by =C-c '=.  However, org's LaTeX exporter puts
them into a \verbatim environment by default in the resulting LaTeX
file.

I looked into the documentation whether some src flags could accomplish
this and found none.  I see that an option `:exports literal' would be
rather too much, since it probably only really makes any sense for this
specific use case.  But it would be nice nonetheless...

Did I make myself clear?  Or is there a better approach to this?

Thanks in advance!

Michael