Wiki2Latex is a project mainly written in Python, it's free.
wikimedia to latex
wikimedia to latex converter
I need this to make The Book