%%
%% This is file `scandoc-anp.def',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% annot_pro.dtx  (with options: `copyright,scandoc')
%% 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% annot_pro package,                                   %%
%% Copyright (C) 2002-2018  D. P. Story                 %%
%%   dpstory@uakron.edu                                 %%
%%                                                      %%
%% This program can redistributed and/or modified under %%
%% the terms of the LaTeX Project Public License        %%
%% Distributed from CTAN archives in directory          %%
%% macros/latex/base/lppl.txt; either version 1 of the  %%
%% License, or (at your option) any later version.      %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{execJS}{scan4anp}
var aANPStamps=new Array();
if (typeof scancomplete=="undefined") {
  var scancomplete=false;
  this.syncAnnotScan();
  for (var p=0; p<this.numPages; p++) {
    a=this.getAnnots(p);
    if (a!=null) {
      for (var i=0; i<a.length; i++) {
        if ( a[i].type=="Stamp" && a[i].AP.indexOf("\#")==0 ) {
          aANPStamps.push(p);
          break;
        }
      }
    }
  }
}
ANPscrollPage.index=0;
function ANPscrollPage() {
  if (ANPscrollPage.index<aANPStamps.length) {
    this.pageNum=aANPStamps[ANPscrollPage.index];
    ANPscrollPage.index+=1;
  } else {
    app.clearInterval(anpTO);
    scancomplete=true;
    this.pageNum=0;
  }
}
if (aANPStamps.length>0)
  var anpTO=app.setInterval("ANPscrollPage()", 5);
\end{execJS}
\endinput
%%
%% End of file `scandoc-anp.def'.
