Commit Graph

25112 Commits

Author SHA1 Message Date
Uwe Stöhr
3b2dbce542 layout files: partly revert r35139: setspace is not part of all LaTeX distributions by default, sorry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35147 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 12:32:51 +00:00
Uwe Stöhr
8ea2a6985d g-brief layouts: they require the europs package
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35146 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 03:00:00 +00:00
Uwe Stöhr
a4ffe5b190 g-brief2.layout: fix format and thus #6856, sorry for the noise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35145 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 02:24:06 +00:00
Uwe Stöhr
7468d5caa0 broadway.layout: there are no styles Abstract and Date that can be deleted
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35144 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 02:17:03 +00:00
Uwe Stöhr
9676ae6a96 g-brief2.lyout: whitespace
Note that LyX does no longer accept this layout, see #6856 )

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35143 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 02:13:38 +00:00
Uwe Stöhr
3b60256554 moderncv.layout: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35142 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 01:41:57 +00:00
Uwe Stöhr
f5cab80e7e Customization.lyx:
- make it compilable
- clarify a statement

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35140 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 01:36:40 +00:00
Uwe Stöhr
25b3a8c611 layout files:
- remove dependencies of standard LaTeX-packages like article, fontenc, babel, etc.
- The class need only be specified as optional argument if the name of the LaTeX class file and the name of the layout file are different or if there are no packages to load.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35139 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 01:28:47 +00:00
Uwe Stöhr
a886b2f849 de.po:
- fix a shortcut conflict
- some translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35138 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 01:02:29 +00:00
Enrico Forestieri
61791114a1 Fix bug #6851: Wrong screen fonts with old style macros such as \bf and \rm.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35136 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 00:22:04 +00:00
Uwe Stöhr
004901eef6 KOMA-script layout files: don't check for KOMA-script's internal dependencies, scrbase and typearea are already part of KOMA-script
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35135 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 00:09:07 +00:00
Jürgen Spitzmüller
168dd45dec * scrclass.inc: add support for \subtitle.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35133 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-13 11:32:07 +00:00
Uwe Stöhr
5f62c2ed6a InsetGraphics.cpp: fix a comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35131 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-13 00:17:12 +00:00
Uwe Stöhr
f6f59757ac Color.cpp: use the same frame color for inset frames and captions frames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35130 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-12 12:31:05 +00:00
Jean-Marc Lasgouttes
60445ede53 remove unused headers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35129 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-12 09:38:22 +00:00
Kornel Benko
197f281b5e * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35126 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-11 17:12:55 +00:00
Jürgen Spitzmüller
891e858ac1 * configure.py:
- properly separate platex and latex.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35125 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-11 16:44:48 +00:00
Stephan Witt
59fb67164f translate new context menu item: Remove from personal dictionary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35124 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-11 15:41:15 +00:00
Uwe Stöhr
7f072cc5d7 configure.py:
- use eLyXer not only for HTML but also for HTML (MS Word) if it is found; this is simply the same code as we are already using for HTML converter check
- fix a bug that the copier calling would be wrong if neither eLyXer nor tex4ht is found (this is already fixed in the HTML converter check

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35122 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-11 00:57:48 +00:00
Uwe Stöhr
8b19571edc jss.layout:
- remove a4wide because this package is obsolete since about 15 years and listed in l2tabu, one get get a correct A4 layout with the geometry package that is already fully supported by LyX
- fix web link to the JSS package

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35121 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-11 00:43:01 +00:00
Jean-Marc Lasgouttes
0deb3d0f02 little cleanup to memoir class
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35120 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-10 22:34:08 +00:00
Richard Heck
7d8b56a21d Improve the error reporting, or checking, in configure.py.
There doesn't seem to be any way to report an error other than by
exiting.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35119 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-10 21:43:08 +00:00
Jean-Marc Lasgouttes
e3e2568073 Fix a syntax error in the class declaration. This created an error in
configure.py, without any good explanation. Annoying.

Thanks to Jean-Pierre for spotting it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35118 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-10 19:01:28 +00:00
Richard Heck
06b1525f7d buffer_ --> buffer()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35117 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-10 14:44:59 +00:00
Richard Heck
700c3dc0ef loadIfNeeded() returns a pointer to the loaded child, so it's silly to
throw away its return value and then go find a pointer to the loaded
child!!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35116 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-10 14:39:12 +00:00
Richard Heck
89e50feaf2 Invalidate caches when the parent is reset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35115 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-10 14:37:06 +00:00
Richard Heck
b28eca7476 buffer_ --> buffer()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35114 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-10 14:28:24 +00:00
Richard Heck
856b01b6da Comments on the caching mechanism.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35113 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-10 14:26:34 +00:00
Richard Heck
2203d7aa0a Fix some bugs in the bibinfo caching mechanism. Comments to follow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35112 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-10 14:12:48 +00:00
Richard Heck
0ac2636d28 Missing invalidations of bibfile cache.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35111 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 21:35:44 +00:00
Jean-Marc Lasgouttes
6aa26820fd Introduce new tag ParbreakIsNewline in Layout and InsetLayout (not yet used)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35110 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 21:20:29 +00:00
Jean-Marc Lasgouttes
920798c4d6 fix bug #6786: InsetLayout name containing spaces is incompatible with keybindings/toolbars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35109 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 20:37:31 +00:00
Richard Heck
350b82fd62 Revert r35106.
Help needed here. Why isn't this equivalent?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35108 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 19:17:44 +00:00
Kornel Benko
9d09dca920 Restore language handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35107 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 18:49:34 +00:00
Richard Heck
35f3f7cbc4 Don't need this argument, since it was only ever called thus:
it->fillWithBibKeys(d->bibinfo_, it);
This could be useful later, if we decide to try to do the work that
fillWithBibKeys did from updateLabels().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35106 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 18:00:46 +00:00
Richard Heck
506716a1d2 Change error message. Reason why appears later.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35105 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 17:33:43 +00:00
Richard Heck
2a6109e972 Minor cleanup. We don't need the deleted call, as that is done at the
beginning of updateBuffer() anyway.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35104 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 17:14:45 +00:00
Richard Heck
e992140685 More work toward speeding up the bibfile caching stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35103 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 17:01:51 +00:00
Richard Heck
4509607bf6 Do not invalidate cache unless we find some BibTeX insets. Part of
#6846.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35102 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 16:18:57 +00:00
Jean-Marc Lasgouttes
b01fcee92d Finish implementation of "use system colors" checkbox.
ColorCache: 
  * method isSystem() allows to know whether a color can be overridden by system colors
  * method get() has a variant that accepts a bool (system color or not)
  * code simplifications
GuiPrefs:
  * hide colors set from the system when they are inherited
  * syncronize list of colors and checkbox


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35101 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 12:15:02 +00:00
Jean-Marc Lasgouttes
aba279a928 cut and paste error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35100 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 09:41:36 +00:00
Jürgen Spitzmüller
43dfee5c1f * es.po: update from Ignacio.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35097 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 07:11:29 +00:00
Jean-Marc Lasgouttes
17729b9346 Add new pref use_system_colors (defaults to true).
What is missing is some feedback on what colors are 
set from the system (they should be disabled in the
color list).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35096 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-08 23:11:02 +00:00
Jean-Marc Lasgouttes
088059724d Remove DPI from preference dialog. The variable is kept in
LyXRC, since we do need the value in the code. If this is
a problem, I can define some QApplication::getDPI() and give
up configurability altogether.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35095 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-08 20:32:26 +00:00
Jean-Marc Lasgouttes
a2230142fa Replace ugly wavy line with a dotted line for misspelled words.
I hope this one is not going to be controversial.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35094 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-08 17:41:28 +00:00
Jean-Marc Lasgouttes
fde0a4bb26 spacing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35093 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-08 14:48:15 +00:00
Jean-Marc Lasgouttes
c77b7483ea fix oversight
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35092 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-08 14:34:59 +00:00
Jean-Marc Lasgouttes
1a18cdfb39 Clean-up the code with respect to PassThru insets and layouts.
The goal is first to remove explicit testing against ERT_CODE, 
and second to allow to define layouts with the same properties as ERT insets.

This commit does not change behaviour 
* rename OutputParams::verbatim to pass_thru
* disable encoding switch inside pass_thru layouts



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35091 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-07 22:07:49 +00:00
Jürgen Spitzmüller
bdb7ab7faf * de.po: some updates.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35088 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-07 14:43:05 +00:00
Jürgen Spitzmüller
a66c00557c * po/.*po: remerge.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35087 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-07 14:36:18 +00:00