Talk:Spanish by Choice/SpanishPod lessons/Print version

some comments
--Martin Kraus (talk) 08:54, 4 December 2008 (UTC)
 * The book title might look bad on screen, but it should print fine. I don't worry about this, because the print version of the final wikibook will need a new front cover anyways.
 * I've included Newpage templates before each lesson. This appears to be the only platform-independent way of guaranteeing that lesson headings are not alone at the end of a page for any paper format. Starting each lesson on a new page also allows for printing of individual lessons without any text from other lessons. This is particularly important if you want to reorder the lessons or remove certain lessons (either from a stack of paper or from a PDF file).
 * By the way, Newpage doesn't work with the PDF version link on the left nor with the printing of collections, but since this whole book doesn't print well with this kind of PDF generation, I don't worry too much.
 * The Newpage is placed at the end of the prior page to make sure that there are no completely blank pages. I'm not sure whether there is now any guarantee but it seems to be quite unlikely.
 * I'm generating PDFs with Firefox and the MacOS X PDF printing. The page numbers are inserted manually in the table of contents for generating the final PDF and then removed again.

title
I realized that “SpanishPod” probably shouldn't be used in the title since the cc-by license requires this attribution: “You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).” Thus, I guess it's better to remove it from the title. --Martin Kraus (talk) 23:16, 7 December 2008 (UTC)

adjustment of page breaks with SbcOptionalNewline
I added SbcOptionalNewline for nicer page breaks (see the documentation of SbcOptionalNewline for a description of the workflow). It turned out to be quite tricky where to place this template in the lessons and how many of them are necessary at particular places. The rule of thumb is: add it at the beginning of the first line of the paragraph that should go onto the next page. If that is not enough, add further templates at the same position (in particular the image credit section always seems to need two of them). I should emphasize that the current use of the templates is only good for the special PDF generation I'm currently using (PDF printing of FireFox on MacOS X on letter format with a centered footer for the page number). I'd suggest to use the template SbcOptionalNewline only for adjusting the PDF generation of the uploaded PDF. For PDF versions on other formats, create a new template with the same functionality but a different name. --Martin Kraus (talk) 13:12, 10 December 2008 (UTC)