in reply to printing metacpan

The print preview in Firefox really looks messy, but once I clicked on "Simplify Page"* it looks reasonable .

If not ...

You probably want to design your own @media:print css and perhaps even contribute to the metacpan project on git-hub.

HTH! :)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

*) or whatever it's called, in my German version it's "Seite vereinfachen".

PS: yes there are command line tools like pod2html or pod2pdf, but I don't see the point if you prefer browsing metacpan anyway.

Replies are listed 'Best First'.
Re^2: printing metacpan
by LanX (Saint) on Sep 14, 2018 at 10:10 UTC
    Sorry, I just realized that "Simplify Page" is only available on windows, which is weird.

    Most of the mess comes from the upper left navigation pane, since browsers are trying to expand some links to the underlying URL in the print.

    Since the links are often very long and not easily broken into another line, they are overlaying the actual POD.

    this is caused by this CSS setting

    @media print { // ... a[href]:after { content: " (" attr(href) ")"; } //..

    As already said changing the media CSS (like hiding navigation) would solve your issues either locally by amending Firefox settings or by providing a patch here

    https://github.com/metacpan/metacpan-web/issues

    edit

    especially https://github.com/metacpan/metacpan-web/issues/1786

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

      Sorry, I just realized that "Simplify Page" is only available on windows, which is weird.

      I never use MSWin32 and my Firefox 62.0 on Linux has "Simplify Page". Using it works well on MetaCPAN pages. HTH.

        Good to know, my Linux version was 59.0.2

        When I open this link from there I read:

        Windows only : Simplify Page is currently available on desktop PC only.

        Simplify Page is a Firefox feature that strips away clutter like buttons, ads, and background images from your web prints for better readability and paper/ink savings. The Simplify Page option appears in the Print Preview dialog when printing from a desktop PC.

        Though the wording is ambiguous ...

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        Wikisyntax for the Monastery FootballPerl is like chess, only without the dice