Commit Graph

15 Commits

Author SHA1 Message Date
Pavel Sanda
2eb75da023 PDFoptions: improve the functionality in case the hyperrref is
already loaded by the textclass.

Some corner cases still missing (see fixme and link below).
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg134643.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22660 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-24 01:20:51 +00:00
Jürgen Spitzmüller
804e912910 Fix hyperref-soul conflict and sanitize hyperref management
* src/BufferParams.cpp:
	- always require hyperref if it's used.
	- only call PDFOptions::writeLaTeX if hyperref is required
	  (and not provided by textclass).
* src/PDFOptions.{cpp,h}:
	- (writeLaTeX): remove unneeded hyper_required argument
* src/LaTeXFeatures.cpp:
	- special definition for pdflatex ct markup when hyperref is used
	  (fix bug 4504).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22629 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-19 11:17:12 +00:00
André Pönitz
a8cd9a4b8f cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h"
in header files when possible. Adjust .cpp files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21358 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 22:17:22 +00:00
Uwe Stöhr
7075eaadef The huge URL patch:
- rename the lfun to href-insert.png
- rename the files to Hyperlink...
- the former URLUi produces now \href commands (hyperref)

Only missing thing is the lyx2lyx conversion routine - this will be done by Richard

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20950 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 19:06:09 +00:00
Uwe Stöhr
38dfe36093 PDFOptions: Pavel's final touches patch
PDFSupportUi.ui: recreated dialog to fix the appearance in the dialog settings dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20881 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 00:34:23 +00:00
Uwe Stöhr
d0cd79a7ed PDFOptions: patch by Pavel to store the settings when the user switches hyperref temporarily off
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20456 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-23 19:17:22 +00:00
Uwe Stöhr
65a9b1a683 PDFOptions: replace bookmarkslevel edit field by a spinbox (by Pavel)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20441 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 22:18:44 +00:00
André Pönitz
9e879d112b some code wstyle issues.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20408 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 09:49:50 +00:00
Richard Heck
6881ac8c4c Fix from Pavel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20406 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 02:10:50 +00:00
Richard Heck
51179197c6 Whitespace issues.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20405 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 02:01:30 +00:00
Richard Heck
d26f4eacea Compilation and linking fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20404 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 01:51:08 +00:00
Richard Heck
2539f2e5eb Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20403 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 01:17:41 +00:00
Richard Heck
d71a15c593 Fix comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20400 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 00:03:47 +00:00
Uwe Stöhr
06b5c55102 PDFOptions.h: forgot and endif this in last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20396 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 23:19:37 +00:00
Uwe Stöhr
cfa00f8342 add missing file PDFOptions.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20395 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 23:16:59 +00:00