Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jonasbn (1153)

  reversethis-{gro.napc} {ta} {nbsanoj}
AOL IM: BJonasN (Add Buddy, Send Message)

Perl Programmer located in Copenhagen, Denmark. Active member of Copenhagen Perl Mongers.

Author of:

  • Business::DK::CPR
  • Business::DK::CVR
  • Business::DK::PO
  • Business::OnlinePayment::CashCow
  • Date::Holidays
  • Date::Holidays::Abstract
  • Date::Holidays::Super
  • Date::Pregnancy
  • Games::Bingo
  • Games::Bingo::Bot
  • Games::Bingo::Print
  • Module::Info::File
  • Module::Template::Setup
  • Test::Timer

and maintainer of:

  • Tie::Tools
  • XML::Conf
  • Workflow

Journal of jonasbn (1153)

Monday October 22, 2007
03:50 AM

Safari; Go to page #

[ #34729 ]

I have been subscribed to O'Reilly's Safari for almost a year and I get better and better at remembering to use it. At the same time I have started using Perl::Critic, so I ran into a problem with Safari. Since Perl::Critic references page numbers for policies in Damian Conway's PBP, so it would be nice to be able to jump to page numbers in Safari, but I have not been able to locate this functionality and I have concluded that it is not there.

So I wrote some feedback to O'Reilly on this and got a response.

We are sorry for the inconvenience caused to you in this regard.


I think I will survive, but I still hope they will implement it though

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • You would think with an online book service you could do exactly that.
    • The concept of a physical page is somewhat nebulous in HTML. Correlating references between a printed book with its physical limitations and an online version is trickier than it might seem.

      • When translating from the one to the other, we know the page breaks, right?

        Why can't you insert appropriate bookmarks at the page breaks at that point?
        • Page breaks (and even page numbers) are artifacts of the layout process for printing. As I understand the Safari conversion process, there's no pagination metadata in the DocBook XML sources.

          • So what you'd need to do is have a program that lays out the document for printing, and while laying it out emits the original document marked up with information from the layout process. That marked up document could then be laid out for the web with the additional information.

            I can understand why it hasn't been done yet. But it is in principle doable.
            • Well the problem brings me back to PBP and Perl::Critic, Perl::Critic should not reference pages in some book, the moment a new edition comes out everything will have to be refactored.

              So Perl::Critic should refer to policies, either by number or name, the latter preferred. I actually use this listing [] a lot, but it is somewhat brief on the descriptions, but it is the closest I have found to a canonical list.

              Perl::Critic is evolving beyond PBP, but still you have to read about and understand some of the polic