emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* #+begin_src LaTeX blocks export to literal LaTeX
@ 2011-11-06 18:34 Michael Bach
  2011-11-07 13:39 ` Michael Bach
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Bach @ 2011-11-06 18:34 UTC (permalink / raw)
  To: emacs-orgmode

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

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

* Re: #+begin_src LaTeX blocks export to literal LaTeX
  2011-11-06 18:34 #+begin_src LaTeX blocks export to literal LaTeX Michael Bach
@ 2011-11-07 13:39 ` Michael Bach
  2011-11-09 21:37   ` Eric Schulte
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Bach @ 2011-11-07 13:39 UTC (permalink / raw)
  To: emacs-orgmode

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

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

* Re: #+begin_src LaTeX blocks export to literal LaTeX
  2011-11-07 13:39 ` Michael Bach
@ 2011-11-09 21:37   ` Eric Schulte
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Schulte @ 2011-11-09 21:37 UTC (permalink / raw)
  To: Michael Bach; +Cc: emacs-orgmode

Michael Bach <phaebz@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/

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

end of thread, other threads:[~2011-11-09 21:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-06 18:34 #+begin_src LaTeX blocks export to literal LaTeX Michael Bach
2011-11-07 13:39 ` Michael Bach
2011-11-09 21:37   ` Eric Schulte

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