using nested figures for image sequences. ncx must be named "nav.ncx".