Hi,
the new category has to be added to the default settings for
\insertpages and \filterpages.
\def\page_selectors_insert_indeed[#filename][#emptylist][#settings]%
{\bgroup
\dontcomplain
\getfiguredimensions[#filename]%
-
\setupcurrentwithpages[\c!width=\zeropoint,\c!n=\noffigurepages,#settings]%
+
\setupcurrentwithpages[\c!width=\zeropoint,\c!n=\noffigurepages,\c!category=,#settings]%
\global\c_page_selectors_n\directwithpagesparameter\c!n\relax
\scratchwidth\directwithpagesparameter\c!width\relax
\doifinset0{#emptylist}
{\emptyhbox\page}%
\dorecurse\c_page_selectors_n
{\page_selectors_filter_a_page{#filename}\recurselevel
\doifinset\recurselevel{#emptylist}
{\emptyhbox\page}}%
\egroup}
\def\page_selectors_filter[#filename][#selection][#settings]% %
\noffigurepages not yet supported
{\bgroup
\dontcomplain
\getfiguredimensions[#filename]%
-
\setupcurrentwithpages[\c!width=\zeropoint,\c!n=\noffigurepages,#settings]%
+
\setupcurrentwithpages[\c!width=\zeropoint,\c!n=\noffigurepages,\c!category=,#settings]%
\global\c_page_selectors_n\directwithpagesparameter\c!n\relax
\scratchwidth\directwithpagesparameter\c!width\relax
\edef\p_selection{#selection}%
\ifx\p_selection\v!even
\dorecurse\c_page_selectors_n
{\ifodd\recurselevel\else
\page_selectors_filter_a_page{#filename}\recurselevel
\fi}%
\else\ifx\p_selection\v!odd
\dorecurse\c_page_selectors_n
{\ifodd\recurselevel\relax
\page_selectors_filter_a_page{#filename}\recurselevel
\fi}%
\else
\def\page_selectors_filter_step_indeed#page%
{\ifnum#page>\c_page_selectors_n\else
\page_selectors_filter_a_page{#filename}{#page}%
\fi}%
\def\page_selectors_filter_step#step%
{\dowithrange{#step}\page_selectors_filter_step_indeed}%
\processcommacommand[\p_selection]\page_selectors_filter_step
\fi\fi
\egroup}
Wolfgang