emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Kyeong Soo (Joseph) Kim" <kyeongsoo.kim@gmail.com>
To: emacs-orgmode@gnu.org
Subject: How to export the ampersand (&) symbol correctly for both LaTeX and HTML documents?
Date: Thu, 23 Dec 2010 16:02:44 +0000	[thread overview]
Message-ID: <AANLkTinqAtNfGS_Dthqt2AqL9dTAxv=QUnML_T_eytY5@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 611 bytes --]

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)

[-- Attachment #1.2: Type: text/html, Size: 841 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

             reply	other threads:[~2010-12-23 16:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-23 16:02 Kyeong Soo (Joseph) Kim [this message]
2010-12-23 17:35 ` How to export the ampersand (&) symbol correctly for both LaTeX and HTML documents? Bernt Hansen
2010-12-23 21:39   ` Kyeong Soo (Joseph) Kim
2010-12-24  3:21     ` Bernt Hansen
2010-12-24  3:23     ` Bernt Hansen
2010-12-24 10:52       ` Kyeong Soo (Joseph) Kim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTinqAtNfGS_Dthqt2AqL9dTAxv=QUnML_T_eytY5@mail.gmail.com' \
    --to=kyeongsoo.kim@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).