From ea7ac0e412b67bbfb608cdf382d2f2f7dfd8a1a6 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 16 Sep 2015 14:54:24 +0200 Subject: [PATCH] org-entities: New "vbar" entity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * lisp/org-entities.el (org-entities): Add "vbar". Suggested-by: Denis Bitouzé --- etc/ORG-NEWS | 4 ++++ lisp/org-entities.el | 1 + 2 files changed, 5 insertions(+) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index 441de65fc..50c5c0375 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -15,6 +15,10 @@ Please send Org bug reports to emacs-orgmode@gnu.org. *** New option ~date-tree-last~ for ~org-agenda-insert-diary-strategy~ When ~org-agenda-insert-diary-strategy~ is set to ~date-tree-last~, diary entries are added to last in the date tree. +*** New ~vbar~ entity +~\vbar~ or ~\vbar{}~ will be exported unconditionnally as a =|=, +unlike to existing ~\vert~, which is expanded as ~|~ when using +a HTML derived export back-end. *** Babel: support for Stan language New ob-stan.el library. diff --git a/lisp/org-entities.el b/lisp/org-entities.el index cca42e348..ccb9cd686 100644 --- a/lisp/org-entities.el +++ b/lisp/org-entities.el @@ -267,6 +267,7 @@ packages to be loaded, add these packages to `org-latex-packages-alist'." "** Misc. (often used)" ("circ" "\\^{}" nil "ˆ" "^" "^" "ˆ") ("vert" "\\vert{}" t "|" "|" "|" "|") + ("vbar" "|" nil "|" "|" "|" "|") ("brvbar" "\\textbrokenbar{}" nil "¦" "|" "¦" "¦") ("S" "\\S" nil "§" "paragraph" "§" "§") ("sect" "\\S" nil "§" "paragraph" "§" "§")