From: "Renzo Been" <swangdoodles@gmail.com>
To: emacs-orgmode@gnu.org
Subject: &
Date: Sat, 14 Jul 2007 09:10:48 +0200 [thread overview]
Message-ID: <4916e1b50707140010y3e06b29bmb2ae26cefb859808@mail.gmail.com> (raw)
Hi,
First of all, I've started using org-mode, and must say that it' a
real fine addition to my Aquamacs Emacs. Great work, thanx!
I do have a question concerning HTML-export:
When I write a & in an org-file, it gets exported as &
However I would like to use HTML-codes for special symbols, like:
ä é, and many others
In this way the exported HTML-file can be saved without the need for
text-encoding (I also use a PDA that does not support all
text-encodings), and can be easily read in all web-browsers...
I've got this as the first line in my org files:
# -*- mode: org; coding: raw-text-dos; -*-
I've added the next lines to my .emacs in order to replace & with
& (and remove text-encoding)
(defalias 'troep (read-kbd-macro "ESC x ibuffer RET m w ESC x
kill-buffer RET RET ESC x org-export-as-html-to-buffer RET C-x 1 ESC %
l RET l RET ! ESC % & RET & RET ! C-x C-w C-y DEL DEL DEL DEL html RET
ESC x kill-buffer RET RET C-x C-f DEL RET g ESC x kill-buffer RET C-y
DEL RET"))
(global-set-key [clear] 'troep)
Is there an other way to set org-mode to leave the & as it is when
exporting to HTML?
Or could there be conflicts because the & is also used in tables?
Or is there somewhere a list to be found with all the latex codes
(like \euro) that can be used in an org-mode file? I don't know all
these codes for special symbols in latex...
Ciao, Renzo
next reply other threads:[~2007-07-14 7:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-14 7:10 Renzo Been [this message]
2007-07-15 7:45 ` & Carsten Dominik
-- strict thread matches above, loose matches on Subject: below --
2007-07-22 7:32 & Renzo Been
2007-08-09 5:06 ` & Carsten Dominik
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=4916e1b50707140010y3e06b29bmb2ae26cefb859808@mail.gmail.com \
--to=swangdoodles@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).