chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb2780b
)
el/dot-emacs.el: Hack in a null `entity' as a emphasis boundary.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 10 Mar 2024 17:44:40 +0000
(17:44 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 10 Mar 2024 17:54:17 +0000
(17:54 +0000)
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index f3fffe94da455afa6e0905bd473b9da78577db07..cd2d13b5a10e18be317d3b5bb7f1587f3da2b5c5 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-633,6
+633,17
@@
(defcustom mdw-org-latex-defs
:key-type string
:value-type string))))
+(setq org-emphasis-regexp-components
+ '("- \t('\"{}" ; prematch
+ "- \t.,:!?;'\")}\\[" ; postmatch
+ " \t\r\n" ; /forbidden/ as border
+ "." ; body regexp
+ 1)) ; maximum newlines
+
+(setq org-entities-user
+ ;; NAME LATEX MATHP HTML ASCII LATIN1 UTF8
+ '(("relax" "" nil "" "" "" "")))
+
(eval-after-load "org-latex"
'(setq org-export-latex-classes
(append mdw-org-latex-defs org-export-latex-classes)))