On Jan 11, 2011, at 18:14, Patrik Jonsson wrote:

> On Tue, Jan 11, 2011 at 10:43 AM, Christiaan Hofman <cmhof...@gmail.com> 
> wrote:
>>> These glitches unfortunately make this popup feature, which is great
>>> in principle, mostly useless.
>> 
>> I am a bit allergic to such unwarranted generalizing remarks.
> 
> I'm sorry, I hope people realize that there is an implied "TO ME"
> qualifier attached to any such statements, since I'm obviously only
> expressing my opinion.  Nevertheless, in MY experience, it really is
> mostly useless to ME. Other people may think it's great, and that's
> good for them. That, however, does not make me any happier.
> 
>> No, there's no scrolling involved, so it's a totally different thing. 
>> Moreover, it's also really not a question about whether things could be done 
>> differently. Of course they could, but that does not mean it should be done. 
>> Links should point to the start of relevant content. So if the link does not 
>> do that, this is a problem of the link, not of the way it's interpreted. 
>> Trying to "fix" that only will result in doing it wrong in the generic case 
>> where the link is correct, that's most definitely not an improvement. And in 
>> fact, we DO shift the preview tooltips up a bit.
> 
> Ok, I understand your point. However, to me it seems like a perfectly
> valid, alternative strategy would be to *center* the link.

If generically the target is NOT the center, assuming that it IS the center 
will GENERICALLY do it wrong.

> It depends
> on whether ones idea of reading a pdf is either that a link means the
> reader will go to the target and then only read *down* on from there
> or if a link points to a "region of interest" and the reader may well
> want to look at the text immediately preceding the target as well.
> There is no fundamental axiom saying that putting the link in the
> upper left corner is the correct way.

Uhm, yes, there is. A (PDF) link targets a point, not a region. That should be 
the beginning of whatever it refers to. A link to a section should point to the 
beginning of that section, not some arbitrary point in the middle. Every viewer 
assumes this. And this is, BTW also true for e.g. HTML links and web viewers.

> The purpose of a pdf viewer is
> to help the user read pdfs, and there is no "proven correct" way of
> doing that.

There is a general correct way, and that's what we assume, and should assume. 

> Saying that LaTeX should change seems like tilting at
> windmills,

Quite the opposite. LaTeX should generate its PDF as the PDF format expects, 
otherwise it's LaTeX trying to tilt windmills (last I checked PDF is far more 
ubiquitous than latex). 

> so I believe my life would be net improved if I could tweak
> the behavior of Skim. So, I ask you again to please point out the
> relevant part in the code so I can fiddle with it myself. I don't
> think that is too much to ask for.
> 
> Regards,
> 
> /Patrik

The behavior for the tooltip preview is in SKImageToolTipContext.m, and for 
synctex in SKPDFView.m

Christiaan


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Skim-app-users mailing list
Skim-app-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to