From c799b30e42ed0048aa42ae21fe014735d94f13af Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Fri, 2 Jul 2021 06:06:16 +0900
Subject: aeb_pro update

---
 texmf-dist/tex/latex/aeb-pro/create_icon.def | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'texmf-dist/tex/latex/aeb-pro/create_icon.def')

diff --git a/texmf-dist/tex/latex/aeb-pro/create_icon.def b/texmf-dist/tex/latex/aeb-pro/create_icon.def
index fb4b4ab2..cfe7b1d5 100644
--- a/texmf-dist/tex/latex/aeb-pro/create_icon.def
+++ b/texmf-dist/tex/latex/aeb-pro/create_icon.def
@@ -28,6 +28,10 @@
 \def\theDocObject{this}
 \providecommand\DeclareJSHelper[2]{%
     \def#1##1({\ap@TF(##1\theDocObject,#2,\ap@mrk}}
+\def\retnAbsPathAs(#1){%
+  var #1=this.path;^^J%
+  var pos=#1.lastIndexOf("/");^^J%
+  #1=#1.substring(0,pos)}
 \DeclareJSHelper{\importIcon}{aebImportIcon}
 \let\predocassemJS\@empty
 \def\aeb@image@cnt{0}
-- 
cgit v1.2.3

