I want to use both regular page numbering (as in 1, 2, 3, etc) and n-m page numbering (1-1, 1-2, 2-1, 2-2, etc) in a document I'm preparing.
This far I've been playing around with custom counters but the obvious answer, using \addtocounter to subtract the page where the current chapter started from \thepage defeats that purpose because I still want regular page numbers.
I can't really post an MWE because it's something I don't really know how to do. On the "pseudo-MWE" below \nmpage is a hypothetic command that outputs the page number in the format <chapter>-<page_of_chapter>, so the 5th page of chapter 2 would be 2-5.
Any ideas on how I could achieve that?
\documentclass[12pt,a4paper,openany]{book}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{%
\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{%
\markright{\thesection #1}}
\fancyhf{}
\fancyhead[LE,RO]{\thepage}%
\fancyhead[LO]{\rightmark}%
\fancyhead[RE]{\leftmark}%
\fancyfoot[LE,RO]{\nmpage}%
\begin{document}
\chapter{Chapter 1}
Onononononon
\chapter{Chapter 2}
Yada yada yada.
\end{document}

\pageref)? – Heiko Oberdiek Nov 30 '12 at 21:38\thepage, which I intentionally leave untouched. – Francisco Nov 30 '12 at 21:43