Commit Graph

245 Commits

Author SHA1 Message Date
Richard Heck
fd03b1280e Allow for "Provides babel 1".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34937 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 14:49:30 +00:00
Richard Heck
47db764ccc Nameref support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34884 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-13 03:23:29 +00:00
Uwe Stöhr
e2e63b4b1b support for the ISO C-series paper formats; fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34883 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-13 01:06:20 +00:00
Richard Heck
2c19192582 Clarify error message slightly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34881 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-12 18:11:26 +00:00
Richard Heck
456827950b Support "Provides fontenc".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34720 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-28 17:23:48 +00:00
Uwe Stöhr
cacad71fa2 BufferParams.cpp: fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34710 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-26 17:03:47 +00:00
Pavel Sanda
9f9104d9c4 Introduce output_sync ui for forward/reverse search
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34498 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 11:36:00 +00:00
Richard Heck
cfce27108c Output these params only when they are not default. (In the case of
html_latex_*, we'll put the default elsewhere.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34492 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-24 19:38:14 +00:00
Richard Heck
b174e5616e Simplify storage of html_latex_* info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34491 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-24 19:34:43 +00:00
Jürgen Spitzmüller
050d2f077d * restore correct indendation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34460 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-23 09:37:51 +00:00
Uwe Stöhr
3d91ff0e40 BufferParams.cpp: fix #6714
OK also for branch?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34451 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-22 13:05:07 +00:00
Uwe Stöhr
8a8b59a68b BufferParams.cpp: the default paper format of course don't require the geometry package; patch by Rob Oakes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34442 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-21 01:33:50 +00:00
Enrico Forestieri
60860ba7e2 Fix bug #5247: physical paper size settings are not honoured by pdflatex export
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34435 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-18 18:10:54 +00:00
Uwe Stöhr
0600e656f8 * GuiDocument:
- fix #6699; use_geometry now only means that the user don't want to have custom margins; that geometry also needs to be loaded for some paper formats is already done in BufferParams.cpp
- remove portraitChanged() because this was useless - A4 landscape is still A4 and still uses the default margins

* BufferParams.cpp: only output the margins if the option "Default margins" is not checked - this was a bug in the margins UI

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34429 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-18 02:56:36 +00:00
Uwe Stöhr
10dc64bd18 - paper.h: fix comment
- BufferParams.cpp: fix the default case

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34428 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-18 01:34:07 +00:00
Uwe Stöhr
700447301c support for all page sizes that are supported by the geometry package; fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34427 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-18 01:22:08 +00:00
Uwe Stöhr
1ef3692019 - BufferParams.cpp: change string to make it more clear (requested by Jean-Pierre)
- GuiView.cpp: fix grammar/logic

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34406 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-15 02:58:23 +00:00
Richard Heck
5678dc566f New XHTML math options. Format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34250 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-21 15:18:25 +00:00
Pavel Sanda
e5ce07206c BranchList:
*FilenameSuffix -> *FileNameSuffix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34244 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-21 01:19:35 +00:00
Pavel Sanda
41b81f09e1 Forgot these two.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34237 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-21 01:19:23 +00:00
Pavel Sanda
62ca7f3ae5 Proper camel case for FileName.absFilename
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34234 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-21 01:19:09 +00:00
Richard Heck
f187093d1e Do not try to set LyX-side display colors from within the Buffer reading
routines. 

See http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg159389.html.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34103 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-09 12:35:37 +00:00
Uwe Stöhr
c553682702 Buffer.cpp: show the correct color that is set for the document
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34086 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-08 02:13:05 +00:00
Uwe Stöhr
84a2af2edb fileformat change: support to specify the background color of shaded boxes
- new buffer parameter \boxbgcolor

(I'm still working on the remaining issue #6626 as this affect not only this feature.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34083 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-08 00:14:08 +00:00
Richard Heck
907df4570d Fix bug #6611. This also gives us a more robust fall-back in case we are
completely unable to load a text class. At least not very long ago, if
we were unable even to load article, we would crash. Not now. We will
ALWAYS have at least a really basic class (nothing but Standard!)
available.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34080 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-07 16:15:26 +00:00
Richard Heck
dfe751c701 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34076 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-07 13:21:10 +00:00
Uwe Stöhr
9b072f6e64 don't use any longer the page background color white as being the default (equal no color) because document classes might have other colors as default
(The default color is still internally white because we have to set a color but the color is only used when the user explicitly specified it.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34058 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-05 20:31:10 +00:00
Uwe Stöhr
2001b6548c BufferParams.cpp: whitespace and comment fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34047 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 23:59:42 +00:00
Uwe Stöhr
f8735c3678 Bufferparams.cpp: add a fixme as reminder
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34044 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 23:49:22 +00:00
Uwe Stöhr
4e2cd30657 fileformat change: support to specify a document-wide font color
- new buffer parameter \fontcolor
- the default color is internally black because we have to set a color
- the font color is only used when the user explicitly specified a color

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34042 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 23:39:36 +00:00
Uwe Stöhr
879ed8e2ed fileformat change:
- support for Turkmen

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34000 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-01 00:40:19 +00:00
Uwe Stöhr
33978c0b1b fileformat change:
- support to change the greyed-out note font color (fixes #3865)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33962 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 00:46:50 +00:00
Vincent van Ravesteijn
1e4ccc2d22 Fix bug #6617: Allowing "compressed documents" be the default.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33870 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-26 14:02:56 +00:00
Richard Heck
ce5603d445 Better error message. Idea Julien's.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33866 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-25 15:25:14 +00:00
Richard Heck
1577c83484 Improve yet further the error reporting when we try to load a document
class that is unavailable. 

In addition, add some explanations about this kind of thing to the User
Guide, to which we can direct the user in the error message. This kind
of question comes up often enough that we need something right up front
about it. It isn't enough to have it in the other manuals.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33864 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-25 00:44:15 +00:00
Richard Heck
cf8646083f Fix bug #3686, by collecting information about missing prerequisites for
document classes, etc. Patch from Julien Rioux.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33838 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-22 12:25:16 +00:00
Richard Heck
d8a1720d56 Give ourselves a little more flexibility about math output under XHTML.
I think it will be worth implementing a version of pure HTML output, for
some uses, a la eLyXer.

Note that at present none of this does anything, and there is no UI to
set it. I just want to make sure it's in the file format, in case I do
not get to this before 2.0.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33794 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-18 20:35:08 +00:00
Peter Kümmel
870e4549f9 cmake: fix merge build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33645 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 16:18:16 +00:00
Jürgen Spitzmüller
de50c5248e * handle encoding in PDF options gracefully.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33604 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-01 17:39:41 +00:00
Jürgen Spitzmüller
425d092204 * fix spelling in comments to please John.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33262 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 14:44:21 +00:00
Jürgen Spitzmüller
7a7ab8f14b Add an option to assure that all aux files are maintained when using the includeonly feature, so that the
page numbering and the references of the master file are maintained in the included children (bug 1005).

I made this optional since some people use \includeonly to save compilation time, but a proper aux file update
needs a full compilation of the complete master prior to the compilation of the \includeonly master.

Hence, a new buffer param is introduced (file format change). 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32936 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 13:25:41 +00:00
Jürgen Spitzmüller
1ccfe14914 * Add native support for \includeonly (bug 5360).
File format change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32826 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 10:01:26 +00:00
Richard Heck
28e9474f7a Some BufferParams for XHTML output.
These are not actually implemented yet, but I wanted to make sure to get
them into the format now, so even if I can't implement them before the
1.7 release, I can do so during the release cycle, without a format
change. I don't expect that to happen, but you never know....


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32683 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-30 22:22:33 +00:00
Uwe Stöhr
83b1c48846 replace links to bugzilla with links to trac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32469 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-11 00:59:10 +00:00
Jürgen Spitzmüller
df329341aa * Add support for per-document fontenc setting (bug 5730)
File format change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32228 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-29 14:43:00 +00:00
Uwe Stöhr
d5099c8605 - introduce option to suppress the LaTeX package mhchem, fileformat change
The fileformat change is also needed because of our mistake that we load mhchem since LyX 1.6.4 automatically so that files created with LyX 1.6.4 won't compile under LyX 1.6.3. Now at least all files created or opened with LyX 1.7 can be reverted to the fileformat of LyX 1.6.x and can therefore be read by all LyX 1.6.x versions.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31941 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-11 01:48:07 +00:00
Jürgen Spitzmüller
db0c752fc2 remove obsolete comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31088 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 09:04:07 +00:00
Jürgen Spitzmüller
7087b7b686 * BufferParams.cpp: fix initialization of index colors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31084 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 08:01:35 +00:00
Uwe Stöhr
5f877e218a BufferParams.cpp: make the suppress date feature safer because we cannot be sure that every document class has a \date command
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31071 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 23:43:59 +00:00
Uwe Stöhr
33eec90086 new document option to suppress the default date, fileformat change, fixes #5823
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31028 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 00:52:33 +00:00