* suggestion for org-emphasis-regexp-components: *U*nited *N*ations
@ 2012-09-05 8:05 Stefan Vollmar
2012-09-06 15:37 ` Achim Gratz
2012-09-22 9:54 ` Bastien
0 siblings, 2 replies; 3+ messages in thread
From: Stefan Vollmar @ 2012-09-05 8:05 UTC (permalink / raw
To: emacs-orgmode Mode
[-- Attachment #1: Type: text/plain, Size: 1570 bytes --]
Hallo,
I am using Org-mode 7.9 and found that with a small change in org.el, it is then possible to create HTML output corresponding to "*U* nited *N* ations" - but without the spaces after the bold initial letters. This kind of feature is useful for defining acronyms, also to emphasize syllables or unusual spellings: "ye old /e/ church" (without the space before the emphasized "e") and a possible solution to "[O] how to create bold initial characters (for explaining an acronym)" posted by me on Sep 3.
It is possible to use the same trick that Łukasz Stelmach mentioned in the context of "=" markers in 2010:
> But fear
> not and use unicode. There is
> <U200B> /xe2/x80/x8b ZERO WIDTH SPACE
> When you put (C-x 8 RET 200b RET) it next to equality signs [...]
In Emacs, the org source on screen then does look like "*U*nited", too, when that unicode character has been inserted after the second "*".
I modified org.el, line 3731 like this:
(defcustom org-emphasis-regexp-components
'(" \t('\"{" "- \t.,:!?;'\")}\\" " \t\r\n,\"'" "." 1)
->
(defcustom org-emphasis-regexp-components
'(" #\t('\"{" "- #\t.,:!?;'\")}\\" " \t\r\n,\"'" "." 1)
where "#" is the unicode character <U200B>.
Warm regards,
Stefan
--
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleueler Str. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213 FAX +49-221-4726-298
Tel.: +49-221-478-5713 Mobile: 0160-93874279
E-Mail: vollmar@nf.mpg.de http://www.nf.mpg.de
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4409 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: suggestion for org-emphasis-regexp-components: *U*nited *N*ations
2012-09-05 8:05 suggestion for org-emphasis-regexp-components: *U*nited *N*ations Stefan Vollmar
@ 2012-09-06 15:37 ` Achim Gratz
2012-09-22 9:54 ` Bastien
1 sibling, 0 replies; 3+ messages in thread
From: Achim Gratz @ 2012-09-06 15:37 UTC (permalink / raw
To: emacs-orgmode
Stefan Vollmar writes:
> (defcustom org-emphasis-regexp-components
> '(" #\t('\"{" "- #\t.,:!?;'\")}\\" " \t\r\n,\"'" "." 1)
> where "#" is the unicode character <U200B>.
AFAIK, such a change would make Org incompatible with Emacs22.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptation for Waldorf Blofeld V1.15B11:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: suggestion for org-emphasis-regexp-components: *U*nited *N*ations
2012-09-05 8:05 suggestion for org-emphasis-regexp-components: *U*nited *N*ations Stefan Vollmar
2012-09-06 15:37 ` Achim Gratz
@ 2012-09-22 9:54 ` Bastien
1 sibling, 0 replies; 3+ messages in thread
From: Bastien @ 2012-09-22 9:54 UTC (permalink / raw
To: Stefan Vollmar; +Cc: emacs-orgmode Mode
Hi Stefan,
Stefan Vollmar <vollmar@nf.mpg.de> writes:
> It is possible to use the same trick that Łukasz Stelmach mentioned in
> the context of "=" markers in 2010:
This trick might be useful to others -- could someone add this to the
org-faq.org?
Thanks!
--
Bastien
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-09-22 9:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-05 8:05 suggestion for org-emphasis-regexp-components: *U*nited *N*ations Stefan Vollmar
2012-09-06 15:37 ` Achim Gratz
2012-09-22 9:54 ` Bastien
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.