Changes

Jump to navigation Jump to search
2,079 bytes added ,  11:46, 16 October 2016
Line 389: Line 389:     
[[MediaWiki:Sidebar|Click here]] to edit our TOER wiki sidebar . After you click on this just follow the normal wiki editing formating for adding menu and sub menu etc.
 
[[MediaWiki:Sidebar|Click here]] to edit our TOER wiki sidebar . After you click on this just follow the normal wiki editing formating for adding menu and sub menu etc.
 +
 +
= How to create print version and get pdf of books on wiki  =
 +
We have [[ICT student textbook|Student Textbook]] and [[ICT teacher handbook|Teacher Hand Book]] collaboratively done on this wiki and we have prepared Print versions and pdf copies of the same. Below are the steps on how to do this on any wiki. Please note this needs to be done only once and Print versions are automatically updated from the book. Pdf can be generated from the left side '''Download as PDF''' link.
 +
 +
Generally, it is a good solution to learn from examples. See [[ICT teacher handbook/Print version]] and read these quick guidelines.
 +
 +
== Preparing a book ==
 +
No navigational templates used in a book should be printed. Check this using the "Print preview" function of your browser. To prevent a block of text from being printed, cover it with <tt><nowiki><div class="noprint"> ... </div></nowiki></tt>. Use <tt>class="notice"</tt> or <tt>class="notice metadata"</tt> for cleanup templates like {{tlx|stub}}, {{tlx|cleanup}}; or <nowiki><noinclude> ... </noinclude></nowiki>. Similarly, if you want some content to be displayed only in the print version but not at normal reading, use <nowiki><includeonly> ... </includeonly></nowiki>.
 +
 +
== Creating separate page for print version ==
 +
In brief:
 +
# Create the page <!--''Book:Print version'' or -->''Book/Print version'' (for a book called ''Book'') and link to it from the TOC
 +
# Insert the {{tlx|print version notice|Book|Book/Print_version}} template to the top of the book's Print version page.
 +
# Insert every chapter like a template, preceded by the chapter's title.
 +
#: <tt><nowiki> = Chapter name = </nowiki></tt>
 +
#: <tt><nowiki> {{:Book/Chapter name}} </nowiki></tt>
 +
 +
'''Do not cut-and-paste any text from a book to its print version.'''
 +
 +
== Linking from the book ==
 +
{{Print version}}
 +
 +
Make a visible link to the print version from the book's cover or table of contents. You can simply insert the {{tl|print version}} template in the page ''Book'' if the page of the printed version is ''Book/Print version'' to create a box like the one shown.
    
[[Category:Content]]
 
[[Category:Content]]

Navigation menu