]> git.lyx.org Git - features.git/commit
* PDFOptions.cpp:
authorJürgen Spitzmüller <spitz@lyx.org>
Mon, 18 Apr 2011 10:55:11 +0000 (10:55 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Mon, 18 Apr 2011 10:55:11 +0000 (10:55 +0000)
commitcd20c9aa4fa2f8b32d5034bc7515700c24d5d440
treed09616fd30fb8e185830a0bbee9caedebbb83389
parent876f9c7797b79bd829036e4bda798408f0c0b1d6
* PDFOptions.cpp:
If a class has already loaded hyperref (i.e., if \hypersetup is already defined),
immediately issue \hypersetup to prevent a LaTeX error (bug #7459).

This still assures that \hypersetup is called \AtBeginDocument if hyperref is loaded by
a class \AtBeginDocument (such as modernCV, see #7048).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38438 a592a061-630c-0410-9148-cb99ea01b6c8
src/PDFOptions.cpp