You are here: Home Grid Made Easy How to Make a Printout
Personal tools
Views

From time to time, we need to make a printout of the whole Grid Made Easy

book; this page explains how the entire Wiki, or part of it, can

be printed.

More in general, techniques are collected here, which enable one to dump a snapshot of the Wiki contents, to process it in any way.

The technical reference source for all this is http://zwiki.org/ZwikiPrinting

Dump of a page source

You can dump the source code of any page of this Wiki by appending /source to the page URL. For example:

http://euindia.ictp.it/gme/Authoring/source

You can dump the source code of any page and all of its subtopics by appending /source?with_children=yes to the page URL. For example:

http://euindia.ictp.it/gme/Authoring/source?with_children=yes

The following table recaps source dump options.

Append this to page URL Effect
/source Dump source of current page only
/source?with_children=1 Dump source of current page plus all its children.

So, to get a full dump of the wiki contents, visit this link:

http://euindia.ictp.it/gme/FrontPage/source?with_children=yes

The Wiki contents may then be processed with rst2html or rst2latex to produce output suitable for book printing.

HTML dump of a page contents

You can dump any page of this Wiki in HTML format by appending /html to the page URL. For example:

http://euindia.ictp.it/gme/Authoring/html

You can dump any page and all of its subtopics all in one HTML page by appending /html?with_children=yes to the page URL. For example:

http://euindia.ictp.it/gme/Authoring/html?with_children=yes

Appending /html?with_page_titles=yes to the URL will prepend the ZWiki? page title (at H1 level) to each page contents.

The following table recaps HTML dump options.

Append this to page URL Effect
/html HTML dump of current page only.
/html?with_children=1 HTML dump of current page plus all its children.
/html?with_children=1&with_page_titles=1 HTML dump of current page plus all its children, prepend page title to page contents.

So, to get a full HTML dump of the Wiki contents, visit this link:

http://euindia.ictp.it/gme/FrontPage/html?with_children=yes

Excluding some pages from the dump

Both form of dumps will exclude pages that have a property not_for_printing set to True (that is, the corresponding checkbox is checked in the ZMI Properties display).

Once you set a the not_for_printing property to True for a page, its value is inherited by all of its subtopics; to enable the dump again for a subtopic, you should set its not_for_printing property to False (that is, uncheck the box) in the ZMI.


« October 2017 »
Su Mo Tu We Th Fr Sa
1234567
891011121314
15161718192021
22232425262728
293031
 

Powered by Plone This site conforms to the following standards: