From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacob Gerlach Subject: org-latex-custom-lang-environments Date: Tue, 19 May 2015 15:16:08 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b6744003b9ec7051670ca29 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YujFd-0007zv-Lg for emacs-orgmode@gnu.org; Tue, 19 May 2015 11:16:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YujFZ-0007hd-Hp for emacs-orgmode@gnu.org; Tue, 19 May 2015 11:16:13 -0400 Received: from mail-ob0-x231.google.com ([2607:f8b0:4003:c01::231]:34407) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YujFZ-0007hE-8V for emacs-orgmode@gnu.org; Tue, 19 May 2015 11:16:09 -0400 Received: by obfe9 with SMTP id e9so14657186obf.1 for ; Tue, 19 May 2015 08:16:08 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-mode --047d7b6744003b9ec7051670ca29 Content-Type: text/plain; charset=UTF-8 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 --047d7b6744003b9ec7051670ca29 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

I thought I had successfully use= d 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

# Loca= l Variables:
# org-latex-listings: t
# org-latex-custom= -lang-environments: (quote ((sh "myverbatim")))
# END:<= /div>
----------

I expect to export
----------
\begin{myverbatim}
echo "Hello&qu= ot;
\end{myverbatim}
----------
(and I though= t I had observed this behavior the first time I tried it).
In= stead, I get
----------
\lstset{language=3Dsh,labe= l=3D ,caption=3D ,captionpos=3Db,numbers=3Dnone}
\begin{lstlistin= g}
echo "Hello"
\end{lstlisting}
<= div>----------

Am I missing something?
<= br>
Regards,
Jake
--047d7b6744003b9ec7051670ca29--