- using <pages index="book.pdf" from="19" to="20" fromsection="s-2" tosection="" onlysection="" /> will get the whole page 19.
- using <pages index="book.pdf" from="19" to="20" fromsection="" tosection="s-1" onlysection="" /> will get the whole page 20.
- using <pages index="book.pdf" from="19" to="20" fromsection="" tosection="s-1" /> and <pages index="book.pdf" from="19" to="20" fromsection="s-2" tosection="" /> are OK.
So empty onlysection attribute affect to stop working of fromsection and tosection attributes.