Hi Dean, thank you very much for your patches. I've incorporated them, and I'm really grateful for the useful input from somebody with stronger LaTeX-fu than me.
Dean Serenevy wrote: > 1) Modify Pod::PseudoPod::LaTeX to (when requested) emit LaTeX code > which requires that certain environments be defined (rather than > enforcing style in Pod::PseudoPod::LaTeX itself). In particular, the > "sidebar" environment. Tests included. I've applied that at http://github.com/moritz/Pod-PseudoPod-LaTeX and sent the maintainer a pull request. > 2) Add a "sidebar" environment to bin/book-to-latex and request that > Pod::PseudoPod::LaTeX emits sidebars in this environment. I've applied this patch too, but for now in a branch (called 'ng') until Pod::PseudoPod::LaTeX is released with your changes. Your patch caused the commandchars option from \begin{Verbatim} (fancvrb package) to stop working, but I found that loading fancybox before fancvrb fixed that. > I think this reasonably makes the output of Pod::PseudoPod::LaTeX > customizable without unnecessarily requiring a lot of work on the user. Indeed. > As for styling of the sidebar, here are some suggested alternate > definitions for the sidebar environment. Once the attached patches > are in place, making these changes is just a matter of replacing the > sidebar definition in bin/book-to-latex. I've chosen your favourite for now, the result can be admired at http://github.com/downloads/perl6/book/book-2010-06.pdf Cheers, Moritz