[zeromq-dev] New reference manual committed and on-line

Pieter Hintjens pieterh at gmail.com
Thu Mar 11 19:22:09 CET 2010


On Thu, Mar 11, 2010 at 6:32 PM, Martin Lucina <mato at kotelna.sk> wrote:

> As I have suggested, why don't you make a separate CSS for printing?

So it *almost* works.  This is a first version:

----- http://www.zeromq.org/area:_template
[[module css]]
@media screen {
    .main-text { width:50em; }
}
@media print {
    .main-text { width:100%; font-size:9pt; }
    #side-bar { visibility: hidden; }
    #main-content { margin-left: 0; }
}
[[/module]]

[[div class="main-text"]]
[[toc]]
%%content%%
[[/div]]
----- end

In Safari the print media is ignored.  In Firefox it is ignored for
the first page but starts to work after the second page.  Wikidot also
offers a print function (action at page bottom) which neatly produces
a blank page...

Mato, any other suggestions?

-Pieter



More information about the zeromq-dev mailing list