From 7af1eb722049eab5b0642facd624f9fc4a783a60 Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Fri, 5 Feb 2021 09:42:15 +0100
Subject: use shortcuts provided by the extdash package

---
 ekdosis.dtx | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

(limited to 'ekdosis.dtx')

diff --git a/ekdosis.dtx b/ekdosis.dtx
index 77654f6..c7176e7 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -191,6 +191,15 @@ along with this program.  If not, see
   url =		 {http://www.teibyexample.org}
 }
 
+@Software{extdash,
+  title =	 {The Extdash package},
+  titleaddon =	 {A range of dash commands for compound words},
+  author =	 {Rozhenko, Alexander I.},
+  url =		 {http://www.ctan.org/pkg/extdash},
+  date =	 {2018-06-24},
+  version =	 {1.3}
+}
+
 @Software{fnpos,
   title =	 {The Fnpos package},
   titleaddon =	 {Control the position of footnotes on the page},
@@ -4577,6 +4586,12 @@ subtype="arabtex">'inna 'abI kAna mina
 %     \cs{vpageref}|{label}| & |<ptr ="#label"/>| \\
 %     \cs{pagebreak}\meta{\oarg{1-4}} & no output \\
 %     \cs{mbox}\marg{text} &  \meta{text} \\
+%     \midrule
+%     \multicolumn{2}{c}{From the \pkg{exdash}\footcite{extdash}
+%     package:}\\
+%     \cs{---} or \cs{===} & --- \\
+%     \cs{--} or \cs{==} & -- \\
+%     \cs{-/} or \cs{=/} & ‐ \\
 %     \bottomrule
 % \end{xltabular}
 %
@@ -8187,7 +8202,13 @@ local texpatttotags = {
    {a="\\altrfont%s+", b=""},
    {a="\\mbox%s+{(.-)}", b="%1"},
    {a="\\LR%s+{(.-)}", b="%1"},
-   {a="\\RL%s+{(.-)}", b="%1"}
+   {a="\\RL%s+{(.-)}", b="%1"},
+   {a="\\%=%=%=%s?", b="—"},
+   {a="\\%-%-%-%s?", b="—"},
+   {a="\\%=%=%s?", b="–"},
+   {a="\\%-%-%s?", b="–"},
+   {a="\\%=%/%s?", b="‐"},
+   {a="\\%-%/%s?", b="‐"}
 }
 
 local envtotags = {
-- 
cgit v1.2.3

