From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kyeong Soo (Joseph) Kim" Subject: How to export the ampersand (&) symbol correctly for both LaTeX and HTML documents? Date: Thu, 23 Dec 2010 16:02:44 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1613620389==" Return-path: Received: from [140.186.70.92] (port=49075 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVnct-0006N3-5W for emacs-orgmode@gnu.org; Thu, 23 Dec 2010 11:02:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVncs-0005tB-1s for emacs-orgmode@gnu.org; Thu, 23 Dec 2010 11:02:46 -0500 Received: from mail-gx0-f180.google.com ([209.85.161.180]:34806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVncr-0005t7-Vm for emacs-orgmode@gnu.org; Thu, 23 Dec 2010 11:02:46 -0500 Received: by gxk19 with SMTP id 19so3453919gxk.39 for ; Thu, 23 Dec 2010 08:02:44 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============1613620389== Content-Type: multipart/alternative; boundary=0023547c8bc70e5e45049816003e --0023547c8bc70e5e45049816003e Content-Type: text/plain; charset=UTF-8 Dear All, This may be a FAQ, but I couldn't find it mentioned either in the Manual or in the mailing list. To use the ampersand symbol ('&') in HTML export, I use "\amp" per the manual and the "Publishing Org-mode files to HTML" tutorial at Worg site. Later, however, I found that the "\amp" is exported to "$\amp$" in LaTeX, which causes a compile error (i.e., "undefined control sequence"); it should be "\&" in a normal TeX/LaTeX document. I'm currently using 6.33x version of Org-mode with GNU Emacs 23.2.1 on Windows 7. Any guidance on this issue would be greatly appreciated. Regards, K. S. (Joseph) --0023547c8bc70e5e45049816003e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Dear All,

This may be a FAQ, but I couldn'= ;t find it mentioned either in the Manual or in the mailing list.

To use the ampersand symbol ('&') in HTML expor= t, I use "\amp" per the manual and the "Publishing Org-mode = files to HTML" tutorial at Worg site. Later, however, I found that the= "\amp" is exported to "$\amp$" in LaTeX, which causes = a compile error (i.e., "undefined control sequence"); it should b= e "\&" in a normal TeX/LaTeX document.

I'm currently using 6.33x version of Org-mode with = GNU Emacs 23.2.1 on Windows 7.

Any guidance on thi= s issue would be greatly appreciated.

Regards,
K. S. (Joseph)
--0023547c8bc70e5e45049816003e-- --===============1613620389== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1613620389==--