|
From: <mh...@us...> - 2013-07-24 21:13:00
|
Revision: 18255
http://sourceforge.net/p/sbml/code/18255
Author: mhucka
Date: 2013-07-24 21:12:57 +0000 (Wed, 24 Jul 2013)
Log Message:
-----------
The settings for hyperref caused the PDF to always open on the front page, so when people quit their PDF viewer and restarted it, the viewer wouldn't go back to the page where they left. Fixed.
This took a bit of experimentation, but I found the source of the problem. It's an unexpected consequence of using an option that displays the bookmarks expanded when you first open the document. The option is for the hyperref latex package and is set in sbmlpkgspec.cls. The documentation for the option does not imply it would affect previewer's ability to reopen to the last page viewed, and at first I didn't think it did, but then testing in something other than Acrobat revealed that, sure enough, there's a difference between using the option and not using it.
Modified Paths:
--------------
trunk/project/tex/sbmlpkgspec/sbmlpkgspec.cls
Modified: trunk/project/tex/sbmlpkgspec/sbmlpkgspec.cls
===================================================================
--- trunk/project/tex/sbmlpkgspec/sbmlpkgspec.cls 2013-07-24 20:19:23 UTC (rev 18254)
+++ trunk/project/tex/sbmlpkgspec/sbmlpkgspec.cls 2013-07-24 21:12:57 UTC (rev 18255)
@@ -1,12 +1,10 @@
-%% ============================================================================
-%% Filename: sbmlpkgspec.cls
+%% Filename: sbmlpkgspec.cls -*- mode: latex -*-
%% Description: LaTeX style file for SBML Level 3 package specifications
%% Author(s): Michael Hucka <mh...@ca...>
%% Organization: California Institute of Technology
%% Date created: 2011-08-11
-%% https://sbml.svn.sourceforge.net/svnroot/sbml/trunk/project/tex/sbmlpkgspec
%%
-%% Copyright 2007-2012 California Institute of Technology, Pasadena, CA, USA.
+%% Copyright 2007-2013 California Institute of Technology, Pasadena, CA, USA.
%%
%% This file is free software; you can redistribute it and/or modify it
%% under the terms of the GNU Lesser General Public License as published
@@ -29,7 +27,6 @@
%% You should have received a copy of the GNU Lesser General Public License
%% along with this library; if not, write to the Free Software Foundation,
%% Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
-%% ============================================================================
\def\filedate{2012/11/30}
\NeedsTeXFormat{LaTeX2e}
@@ -137,7 +134,6 @@
bookmarksnumbered=true]{hyperref}
\else
\RequirePackage[pdftex,breaklinks=true,colorlinks=true,
- bookmarks=true,bookmarksopen=true,bookmarksopenlevel=2,
pdfhighlight=/O,linkcolor={sbmlblue},citecolor={sbmlblue},
urlcolor={sbmlblue},anchorcolor={sbmlblue},bookmarksnumbered]{hyperref}
\fi
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|