Wolfgang,\defineprocessor [bodypart] [style=bold]4. August 2015 00:18Should processors work with references? I would think that they should, but the following fails. (My backmatter page numbers need to be marked to distinguish them from bodymatter pages. I can automate applying a processor based on the location for index register entries, but not for references.)
\defineprocessor [backpart] [style=italic]
\defineconversionset[bodypart:pagenumber][][bodypart->n]
\defineconversionset[backpart:pagenumber][][backpart->n]
\setupheadertexts[{\convertedcounter[userpage][numberconversionset=number]}]
\starttext
\startbodymatter
\chapter[sec:knuth]{Knuth}
\at{page}[sec:knuth]\par
\at{page}[sec:zapf]
\stopbodymatter
\startbackmatter
\chapter[sec:zapf]{Zapf}
\at{page}[sec:knuth]\par
\at{page}[sec:zapf]
\stopbackmatter
\stoptext
Wolfgang
\setupheadertexts[][chapter][part][]and I do not see where {\convertedcounter[userpage][numberconversionset=number]} or something else to restore un-processed numbers might work, despite trying with \setupfootertexts, \setuppagenumbering, \setuppagenumbering, and related commands.
\setuppagenumbering [alternative=doublesided,location={footer,margin}]