emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] org-latex-custom-lang-environments


From: Jacob Gerlach
Subject: [O] org-latex-custom-lang-environments
Date: Tue, 19 May 2015 15:16:08 +0000

Hello,

I thought I had successfully used this variable, but after restarting emacs, I can no longer reproduce the documented behavior.

Given the following org file:
----------
#+BEGIN_SRC sh :exports code
echo "Hello"
#+END_SRC

# Local Variables:
# org-latex-listings: t
# org-latex-custom-lang-environments: (quote ((sh "myverbatim")))
# END:
----------

I expect to export
----------
\begin{myverbatim}
echo "Hello"
\end{myverbatim}
----------
(and I thought I had observed this behavior the first time I tried it).
Instead, I get
----------
\lstset{language=sh,label= ,caption= ,captionpos=b,numbers=none}
\begin{lstlisting}
echo "Hello"
\end{lstlisting}
----------

Am I missing something?

Regards,
Jake

reply via email to

[Prev in Thread] Current Thread [Next in Thread]