Here is one solution: Read the pdf.Expose the fme_basename & pdf_page_number.
Then, add an AttributeExposer (exposing 'tmp') followed by an AttributeCreator that will compute the "new" page number.
I have posted the workspace in attachment.Keep me inform!test.fmw