From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacob Gerlach Subject: [Bug?] Smart quotes and latex environments Date: Thu, 30 Apr 2015 15:02:54 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113f2e32f388960514f263ef Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53148) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnpzM-0008MU-LG for emacs-orgmode@gnu.org; Thu, 30 Apr 2015 11:03:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YnpzL-0007kR-Nu for emacs-orgmode@gnu.org; Thu, 30 Apr 2015 11:02:56 -0400 Received: from mail-ig0-x22a.google.com ([2607:f8b0:4001:c05::22a]:33106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnpzL-0007kN-Jz for emacs-orgmode@gnu.org; Thu, 30 Apr 2015 11:02:55 -0400 Received: by igbpi8 with SMTP id pi8so12606240igb.0 for ; Thu, 30 Apr 2015 08:02:55 -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 --001a113f2e32f388960514f263ef Content-Type: text/plain; charset=UTF-8 Hello, -------------------------------------- #+OPTIONS: ':t \begin{myenvironment} "Foo" \end{myenvironment} -------------------------------------- Exports "Foo" rather than ``foo''. Is this expected? I tried this instead: -------------------------------------- #+Latex:\begin{myenvironment} "Foo" #+Latex:\end{myenvironment} -------------------------------------- which exports to: -------------------------------------- \begin{myenvironment} ``Foo'' \#+Latex:\end{myenvironment} -------------------------------------- This seems like a bug. Mixing the two: -------------------------------------- #+Latex:\begin{myenvironment} "Foo" \end{myenvironment} -------------------------------------- gives the desired result: -------------------------------------- \begin{myenvironment} ``Foo'' \end{myenvironment} -------------------------------------- but this seems like a hack. Regards, Jake --001a113f2e32f388960514f263ef Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

--------------------------------= ------
#+OPTIONS: ':t
\begin{myenvironment}
"Foo"
\end{myenvironment}
<= div>--------------------------------------
Exports "Foo"= ; rather than ``foo''. Is this expected?

I= tried this instead:
--------------------------------------<= /div>
#+Latex:\begin{myenvironment}
"Foo"= ;
#+Latex:\end{myenvironment}
--------------= ------------------------
which exports to:
-------= -------------------------------
\begin{myenvironment}
`= `Foo''
\#+Latex:\end{myenvironment}
= --------------------------------------
This seems like a bu= g.

Mixing the two:
------------= --------------------------
#+Latex:\begin{myenvironmen= t}
"Foo"
\end{myenvironment}
=
--------------------------------------
give= s the desired result:
---------------------------------= -----
\begin{myenvironment}
``Foo'= '
\end{myenvironment}
-------------= -------------------------
but this seems like a hack.
<= br>
Regards,
Jake
--001a113f2e32f388960514f263ef--