emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* ~C-c '~ not code
@ 2014-07-08  9:36 Axel Kielhorn
  2014-07-09  9:37 ` Alan Schmitt
  0 siblings, 1 reply; 3+ messages in thread
From: Axel Kielhorn @ 2014-07-08  9:36 UTC (permalink / raw)
  To: Org-Mode Mailing List

Hello,

I'm writing a manual and I found the following problem:

~C-c '~ is not recognized as code. The following

Wie bereits gezeigt, kann org nicht nur Tabellen anzeigen, es kann
auch in Tabellen rechnen. Zum Bearbeiten der Formeln gibt man ~C-c '~
ein, dann öffnet sich ein zweites Fenster mit dem Formeleditor.

is exported as

Wie bereits gezeigt, kann org nicht nur Tabellen anzeigen, es kann
auch in Tabellen rechnen. Zum Bearbeiten der Formeln gibt man \textasciitilde{}C-c '\textasciitilde{}
ein, dann öffnet sich ein zweites Fenster mit dem Formeleditor.

~C-c '~ isn't shown in the code face.

Escaping the ' with a \ didn't help.
Using = instead of ~ didn't work.

Adding a non-breaking space helps, but it isn't recognized by pdflatex.
(Fixing that isn't really a problem but inconvenient.)

I'm using org from ELPA
Org-mode version 8.2.7b (8.2.7b-1-ga5beff-elpa @ /Users/axel/.emacs.d/elpa/org-20140707/)

Axel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ~C-c '~ not code
  2014-07-08  9:36 ~C-c '~ not code Axel Kielhorn
@ 2014-07-09  9:37 ` Alan Schmitt
  2014-07-09 12:31   ` Axel Kielhorn
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Schmitt @ 2014-07-09  9:37 UTC (permalink / raw)
  To: Axel Kielhorn; +Cc: Org-Mode Mailing List

[-- Attachment #1: Type: text/plain, Size: 668 bytes --]

On 2014-07-08 11:36, Axel Kielhorn <org-mode@axelkielhorn.de> writes:

> Hello,
>
> I'm writing a manual and I found the following problem:
>
> ~C-c '~ is not recognized as code. The following

You should probably remove the quote from the list of boundary items in
org-emphasis-regexp-components. This is what I have in my init file.

--8<---------------cut here---------------start------------->8---
;; needed to be set before loading org

(setq org-emphasis-regexp-components
      '(" \t('\"{" "- \t.,:!?;'\")}\\" " \t\n," "." 1))
--8<---------------cut here---------------end--------------->8---

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7

[-- Attachment #2: Type: application/pgp-signature, Size: 494 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ~C-c '~ not code
  2014-07-09  9:37 ` Alan Schmitt
@ 2014-07-09 12:31   ` Axel Kielhorn
  0 siblings, 0 replies; 3+ messages in thread
From: Axel Kielhorn @ 2014-07-09 12:31 UTC (permalink / raw)
  To: Org-Mode Mailing List


Am 09.07.2014 um 11:37 schrieb Alan Schmitt <alan.schmitt@polytechnique.org>:

> On 2014-07-08 11:36, Axel Kielhorn <org-mode@axelkielhorn.de> writes:
> 
>> Hello,
>> 
>> I'm writing a manual and I found the following problem:
>> 
>> ~C-c '~ is not recognized as code. The following
> 
> You should probably remove the quote from the list of boundary items in
> org-emphasis-regexp-components. This is what I have in my init file.
> 
> --8<---------------cut here---------------start------------->8---
> ;; needed to be set before loading org
> 
> (setq org-emphasis-regexp-components
>      '(" \t('\"{" "- \t.,:!?;'\")}\\" " \t\n," "." 1))
> --8<---------------cut here---------------end--------------->8---

That's the solution!
Thanks.

Axel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-09 12:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-08  9:36 ~C-c '~ not code Axel Kielhorn
2014-07-09  9:37 ` Alan Schmitt
2014-07-09 12:31   ` Axel Kielhorn

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).