emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: William Crandall <bc3141592@gmail.com>
To: kbkbkbkb1@gmail.com
Cc: emacs-orgmode@gnu.org
Subject: Re: Inhibit converting "--" to "&ndash;"
Date: Sat, 16 Jun 2012 20:15:22 -0700	[thread overview]
Message-ID: <CAENLK5Vzi1k49C7c-Ap4vuOg+OGbzyfB50FoWSJngzSTVc-jXA@mail.gmail.com> (raw)

Kai,

With the old exporter, you could make your own
special-string and convert it.

In init.el:

--------------------------------------------------
;; For old exporter: C-c C-e h
(eval-after-load "org"
  '(setq org-export-html-special-string-regexps
	 (append org-export-html-special-string-regexps
		 '(("-nd-" . "--")))))
--------------------------------------------------


I've not been able to get special-strings working with
the new exporter, but it should be something like:

--------------------------------------------------
;; For new exporter (but not yet)
(eval-after-load "org"
  '(setq org-e-html-special-string-regexps
	 (append org-e-html-special-string-regexps
		 '(("-nd-" . "--")))))
--------------------------------------------------

HTH

-BC

             reply	other threads:[~2012-06-17  3:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-17  3:15 William Crandall [this message]
2012-06-17 23:47 ` Inhibit converting "--" to "&ndash;" Nicolas Goaziou
2012-06-18 23:39   ` William Crandall
2012-06-19  0:04     ` Nicolas Goaziou
2012-06-19  0:39       ` William Crandall
2012-06-19  0:42         ` Nicolas Goaziou
2012-06-19  1:35           ` William Crandall
  -- strict thread matches above, loose matches on Subject: below --
2012-06-16 23:14 Tsunenobu Kai
2012-06-17  1:03 ` Michael Hannon
2012-06-17  2:11   ` Tsunenobu Kai
2012-06-17  2:18     ` Nick Dokos
2012-06-17  3:04       ` Tsunenobu Kai

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=CAENLK5Vzi1k49C7c-Ap4vuOg+OGbzyfB50FoWSJngzSTVc-jXA@mail.gmail.com \
    --to=bc3141592@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kbkbkbkb1@gmail.com \
    /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).