I wish to reuse some of the output in another LATEX document. How can I do that?
The Wikipublisher system is configured by default to process content all the way to a printable PDF. However, readers can control this to generate and save various intermediate outputs, using options on the standard Download form.
$EnableLatex = true;in the local/config.php file, the download page will include a LATEX button, as well as the debug option. Pressing this instructs the PDF server to deliver a gzipped bundle including the LATEX source, any subsidiary LATEX source files (e.g. for long tables), and a full set of images.
The XSL instructions for transforming Wikibook XML into LATEX do not format the generated LATEX for human readability. On the other hand, neither do many human writers. It can also be a bit verbose; where a human writer would perhaps define a new command in the preamble, the XSL generally writes out the relevant LATEX in full every time.