From 1d4b4a03cc71e132dbb191eeaae6e72982602e93 Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Tue, 5 Nov 2019 10:33:30 +0100
Subject: added basic support for icite package

---
 ekdosis.dtx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'ekdosis.dtx')

diff --git a/ekdosis.dtx b/ekdosis.dtx
index d92dcd5..ce49ed7 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -1288,7 +1288,10 @@ local cmdtotags = {
     c=" xml:lang=\"arb-Latn\" type=\"transliterated\" subtype=\"arabtex\""}
 }
 
-local texpatttotags = {}
+local texpatttotags = {
+   {a="\\icite%s?%[(.-)%]{(.-)}", b="<ref target=\"#%2\">%1</ref>"},
+   {a="\\icite%s?{(.-)}", b="<ptr target=\"#%1\"/>"}
+}
 
 local envtotags = {
    {a="ekdverse", b="lg", c=""},
-- 
cgit v1.2.3

