From 17e285e7733468f00b6e8d096fdd7ffe818f09c8 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Mon, 11 Jun 2018 12:19:19 +0900
Subject: acrotex update

---
 texmf-dist/source/latex/acrotex/web.dtx | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

(limited to 'texmf-dist/source/latex/acrotex/web.dtx')

diff --git a/texmf-dist/source/latex/acrotex/web.dtx b/texmf-dist/source/latex/acrotex/web.dtx
index d3ae26b8..36ddc705 100644
--- a/texmf-dist/source/latex/acrotex/web.dtx
+++ b/texmf-dist/source/latex/acrotex/web.dtx
@@ -4,7 +4,7 @@
 %<*copyright>
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %% Web package,                                         %%
-%% Copyright (C) 1999-2017  D. P. Story                 %%
+%% Copyright (C) 1999-2018  D. P. Story                 %%
 %%   dpstory@uakron.edu                                 %%
 %%                                                      %%
 %% This program can redistributed and/or modified under %%
@@ -5442,11 +5442,21 @@
     \index{keys:\levelchar#1\actualchar{%
            \string\ttfamily\space#1}\encapchar
    usage}\@esphack}
+\def\SpecialMainJSIndex#1{\@bsphack\index{%
+  #1\actualchar
+  {\string\ttfamily\space#1}
+     (JS function)%
+  \encapchar usage}%
+    \index{JS functions:\levelchar#1\actualchar{%
+           \string\ttfamily\space#1}\encapchar
+   usage}\@esphack}
 \makeatother
 \def\IndexOpt#1{\SpecialMainOptIndex{#1}%
     \marginpar{\raggedleft\PrintDescribeMacro{#1}}}
 \def\IndexKey#1{\SpecialMainKeyIndex{#1}%
     \marginpar{\raggedleft\PrintDescribeMacro{#1}}}
+\def\IndexJS#1{\SpecialMainJSIndex{#1}%
+    \marginpar{\raggedleft\PrintDescribeMacro{#1}}}
 %</docdefs>
 %<dnidefs>% \DoNotIndex{\",\-,\#,\%,\&,\',\),\(,\*,\+,\-,\.,\,,\/,\<,\>,\@}
 %<dnidefs>% \DoNotIndex{\def,\edef,\gdef,\xdef,\global,\long,\let, \catcode}
-- 
cgit v1.2.3

