Write 2 Teach in 3 Days

Fragment of a discussion from User talk:Mackiwg
Jump to: navigation, search

Hi Sanjaya --

Yip I saw the W2T3D developments -- great resource and thanks for contributing these materials.

The pdf generate "breaks" because it is not able to parse HTML. I suspect your pages are breaking because of the html embedded in the Navigation templates.

There is an easy fix -- you can use a print specific template for the pdf generator. In the print version you do not need the navigation template -- so you can suppress the printing of the template by creating an "empty" template for the print version.

To for example:

Template:Navigation_Foo can be replaced by Template:Navigation_Foo_print (print is case sensitive.) when printing.

Simply create & save a blank template by placing a carriage return.

See for example how I fixed this for the pedagogical tempaltes:

Template:Objectives and Template:Objectives_print (for the print version).

This message provides more info:

http://groups.google.com/group/wikieducator/browse_thread/thread/01ab9d491f7bcc6e


All the best for the holiday season.

Mackiwg (talk)09:02, 26 December 2007