]> git.lyx.org Git - lyx.git/log
lyx.git
13 years agoCustomization.lyx:
Uwe Stöhr [Sat, 14 Aug 2010 01:36:40 +0000 (01:36 +0000)]
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

13 years agolayout files:
Uwe Stöhr [Sat, 14 Aug 2010 01:28:47 +0000 (01:28 +0000)]
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

13 years agode.po:
Uwe Stöhr [Sat, 14 Aug 2010 01:02:29 +0000 (01:02 +0000)]
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

13 years agoFix bug #6851: Wrong screen fonts with old style macros such as \bf and \rm.
Enrico Forestieri [Sat, 14 Aug 2010 00:22:04 +0000 (00:22 +0000)]
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

13 years agoKOMA-script layout files: don't check for KOMA-script's internal dependencies, scrbas...
Uwe Stöhr [Sat, 14 Aug 2010 00:09:07 +0000 (00:09 +0000)]
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

13 years ago* scrclass.inc: add support for \subtitle.
Jürgen Spitzmüller [Fri, 13 Aug 2010 11:32:07 +0000 (11:32 +0000)]
* scrclass.inc: add support for \subtitle.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35133 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoInsetGraphics.cpp: fix a comment
Uwe Stöhr [Fri, 13 Aug 2010 00:17:12 +0000 (00:17 +0000)]
InsetGraphics.cpp: fix a comment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35131 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoColor.cpp: use the same frame color for inset frames and captions frames
Uwe Stöhr [Thu, 12 Aug 2010 12:31:05 +0000 (12:31 +0000)]
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

13 years agoremove unused headers
Jean-Marc Lasgouttes [Thu, 12 Aug 2010 09:38:22 +0000 (09:38 +0000)]
remove unused headers

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35129 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* sk.po
Kornel Benko [Wed, 11 Aug 2010 17:12:55 +0000 (17:12 +0000)]
* sk.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35126 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* configure.py:
Jürgen Spitzmüller [Wed, 11 Aug 2010 16:44:48 +0000 (16:44 +0000)]
* configure.py:
- properly separate platex and latex.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35125 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agotranslate new context menu item: Remove from personal dictionary
Stephan Witt [Wed, 11 Aug 2010 15:41:15 +0000 (15:41 +0000)]
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

13 years agoconfigure.py:
Uwe Stöhr [Wed, 11 Aug 2010 00:57:48 +0000 (00:57 +0000)]
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

13 years agojss.layout:
Uwe Stöhr [Wed, 11 Aug 2010 00:43:01 +0000 (00:43 +0000)]
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

13 years agolittle cleanup to memoir class
Jean-Marc Lasgouttes [Tue, 10 Aug 2010 22:34:08 +0000 (22:34 +0000)]
little cleanup to memoir class

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35120 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoImprove the error reporting, or checking, in configure.py.
Richard Heck [Tue, 10 Aug 2010 21:43:08 +0000 (21:43 +0000)]
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

13 years agoFix a syntax error in the class declaration. This created an error in
Jean-Marc Lasgouttes [Tue, 10 Aug 2010 19:01:28 +0000 (19:01 +0000)]
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

13 years agobuffer_ --> buffer()
Richard Heck [Tue, 10 Aug 2010 14:44:59 +0000 (14:44 +0000)]
buffer_ --> buffer()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35117 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoloadIfNeeded() returns a pointer to the loaded child, so it's silly to
Richard Heck [Tue, 10 Aug 2010 14:39:12 +0000 (14:39 +0000)]
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

13 years agoInvalidate caches when the parent is reset.
Richard Heck [Tue, 10 Aug 2010 14:37:06 +0000 (14:37 +0000)]
Invalidate caches when the parent is reset.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35115 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agobuffer_ --> buffer()
Richard Heck [Tue, 10 Aug 2010 14:28:24 +0000 (14:28 +0000)]
buffer_ --> buffer()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35114 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoComments on the caching mechanism.
Richard Heck [Tue, 10 Aug 2010 14:26:34 +0000 (14:26 +0000)]
Comments on the caching mechanism.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35113 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix some bugs in the bibinfo caching mechanism. Comments to follow.
Richard Heck [Tue, 10 Aug 2010 14:12:48 +0000 (14:12 +0000)]
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

13 years agoMissing invalidations of bibfile cache.
Richard Heck [Mon, 9 Aug 2010 21:35:44 +0000 (21:35 +0000)]
Missing invalidations of bibfile cache.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35111 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoIntroduce new tag ParbreakIsNewline in Layout and InsetLayout (not yet used)
Jean-Marc Lasgouttes [Mon, 9 Aug 2010 21:20:29 +0000 (21:20 +0000)]
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

13 years agofix bug #6786: InsetLayout name containing spaces is incompatible with keybindings...
Jean-Marc Lasgouttes [Mon, 9 Aug 2010 20:37:31 +0000 (20:37 +0000)]
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

13 years agoRevert r35106.
Richard Heck [Mon, 9 Aug 2010 19:17:44 +0000 (19:17 +0000)]
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

13 years agoRestore language handling
Kornel Benko [Mon, 9 Aug 2010 18:49:34 +0000 (18:49 +0000)]
Restore language handling

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35107 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoDon't need this argument, since it was only ever called thus:
Richard Heck [Mon, 9 Aug 2010 18:00:46 +0000 (18:00 +0000)]
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

13 years agoChange error message. Reason why appears later.
Richard Heck [Mon, 9 Aug 2010 17:33:43 +0000 (17:33 +0000)]
Change error message. Reason why appears later.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35105 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoMinor cleanup. We don't need the deleted call, as that is done at the
Richard Heck [Mon, 9 Aug 2010 17:14:45 +0000 (17:14 +0000)]
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

13 years agoMore work toward speeding up the bibfile caching stuff.
Richard Heck [Mon, 9 Aug 2010 17:01:51 +0000 (17:01 +0000)]
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

13 years agoDo not invalidate cache unless we find some BibTeX insets. Part of
Richard Heck [Mon, 9 Aug 2010 16:18:57 +0000 (16:18 +0000)]
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

13 years agoFinish implementation of "use system colors" checkbox.
Jean-Marc Lasgouttes [Mon, 9 Aug 2010 12:15:02 +0000 (12:15 +0000)]
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

13 years agocut and paste error
Jean-Marc Lasgouttes [Mon, 9 Aug 2010 09:41:36 +0000 (09:41 +0000)]
cut and paste error

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35100 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* es.po: update from Ignacio.
Jürgen Spitzmüller [Mon, 9 Aug 2010 07:11:29 +0000 (07:11 +0000)]
* es.po: update from Ignacio.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35097 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAdd new pref use_system_colors (defaults to true).
Jean-Marc Lasgouttes [Sun, 8 Aug 2010 23:11:02 +0000 (23:11 +0000)]
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

13 years agoRemove DPI from preference dialog. The variable is kept in
Jean-Marc Lasgouttes [Sun, 8 Aug 2010 20:32:26 +0000 (20:32 +0000)]
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

13 years agoReplace ugly wavy line with a dotted line for misspelled words.
Jean-Marc Lasgouttes [Sun, 8 Aug 2010 17:41:28 +0000 (17:41 +0000)]
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

13 years agospacing
Jean-Marc Lasgouttes [Sun, 8 Aug 2010 14:48:15 +0000 (14:48 +0000)]
spacing

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35093 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agofix oversight
Jean-Marc Lasgouttes [Sun, 8 Aug 2010 14:34:59 +0000 (14:34 +0000)]
fix oversight

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35092 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoClean-up the code with respect to PassThru insets and layouts.
Jean-Marc Lasgouttes [Sat, 7 Aug 2010 22:07:49 +0000 (22:07 +0000)]
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

13 years ago* de.po: some updates.
Jürgen Spitzmüller [Sat, 7 Aug 2010 14:43:05 +0000 (14:43 +0000)]
* de.po: some updates.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35088 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* po/.*po: remerge.
Jürgen Spitzmüller [Sat, 7 Aug 2010 14:36:18 +0000 (14:36 +0000)]
* po/.*po: remerge.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35087 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* sk.po
Kornel Benko [Sat, 7 Aug 2010 13:43:38 +0000 (13:43 +0000)]
* sk.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35082 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoBug #6842, part II
Jean-Marc Lasgouttes [Sat, 7 Aug 2010 11:42:27 +0000 (11:42 +0000)]
Bug #6842, part II

Make sure that Package can be initialized several time.s
Make sure that Package is not used before being initialized.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35080 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* GuiPrefs.cpp:
Jürgen Spitzmüller [Sat, 7 Aug 2010 11:31:28 +0000 (11:31 +0000)]
* GuiPrefs.cpp:
- do not allow to change a format's short name if the format is used by a converter (fixes crash issue #6815).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35079 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoset locale correctly before parsing command line (bug #6842)
Jean-Marc Lasgouttes [Sat, 7 Aug 2010 11:18:04 +0000 (11:18 +0000)]
set locale correctly before parsing command line (bug #6842)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35078 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoset more colors from qt palette
Jean-Marc Lasgouttes [Sat, 7 Aug 2010 10:48:32 +0000 (10:48 +0000)]
set more colors from qt palette

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35077 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoMake sure that the current undo element is finished before marking stacks dirty
Jean-Marc Lasgouttes [Sat, 7 Aug 2010 10:40:25 +0000 (10:40 +0000)]
Make sure that the current undo element is finished before marking stacks dirty

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35075 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix default colors for workarea.
Jean-Marc Lasgouttes [Sat, 7 Aug 2010 09:21:44 +0000 (09:21 +0000)]
Fix default colors for workarea.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35074 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago- InsetTabular.cpp: floats must not be inserted to tables, fixes #6844
Uwe Stöhr [Sat, 7 Aug 2010 03:16:38 +0000 (03:16 +0000)]
- InsetTabular.cpp: floats must not be inserted to tables, fixes #6844
- InsetCaption.cpp: margin notes and footnotes are not allowed in captions

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35073 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoSpanish EmbeddedObjects.lyx: translations by Ignacio
Uwe Stöhr [Sat, 7 Aug 2010 02:33:51 +0000 (02:33 +0000)]
Spanish EmbeddedObjects.lyx: translations by Ignacio

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35071 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoEmbeddedObjects.lyx: some corrections by J.R. Hudson
Uwe Stöhr [Sat, 7 Aug 2010 01:39:34 +0000 (01:39 +0000)]
EmbeddedObjects.lyx: some corrections by J.R. Hudson

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35070 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #3733: 'undo' does not revert 'changed' status for file
Jean-Marc Lasgouttes [Fri, 6 Aug 2010 23:54:04 +0000 (23:54 +0000)]
Fix bug #3733: 'undo' does not revert 'changed' status for file

* src/LyXAction.cpp: add ReadOnly flag to LFUN_UNDO and LFUN_REDO, since
  we do not want the dispatch mechanism to mark buffer dirty after them.
* src/BufferView.cpp: handle "by hand" the activation of undo/redo
* src/Undo.cpp: add lyx_clean member to UndoElement and make sure to
  maintain it with undo operations; add a new markDirty() member for UndoStack
* src/Buffer.cpp: when saving a document, mark the undo and redo stacks
  elements as dirty.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35068 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoMove layout i18n stuff into its own section.
Richard Heck [Fri, 6 Aug 2010 21:37:45 +0000 (21:37 +0000)]
Move layout i18n stuff into its own section.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35067 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoIEEEtran provides theorems.
Richard Heck [Fri, 6 Aug 2010 20:49:15 +0000 (20:49 +0000)]
IEEEtran provides theorems.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35065 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoLocalLayout.ui:
Uwe Stöhr [Fri, 6 Aug 2010 16:54:18 +0000 (16:54 +0000)]
LocalLayout.ui:
- set the SVN EOL style
- add SCons entry

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35063 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoForgot this file.
Richard Heck [Fri, 6 Aug 2010 11:30:18 +0000 (11:30 +0000)]
Forgot this file.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35062 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoA UI for document-local layout information. LyX has supported this for a
Richard Heck [Thu, 5 Aug 2010 22:47:42 +0000 (22:47 +0000)]
A UI for document-local layout information. LyX has supported this for a
while, but without any UI for it. (There has been local layout in the
Customization manual for a long time, in fact.)

Yes, this is an advanced feature. But, absent a layout editor, it is the
one thing that will make it easier, and possible, for "normal users" to
experiment with layout without having to go through reconfiguration,
etc, etc. To keep too many people from shooting themselves, we validate
the layout information before allowing the user to apply it.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35061 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoInitialize some LyX colors from Qt. Currently what is done is plain text and selectio...
Jean-Marc Lasgouttes [Thu, 5 Aug 2010 22:41:34 +0000 (22:41 +0000)]
Initialize some LyX colors from Qt. Currently what is done is plain text and selection (both font and background).

I am not sure that there is something else that we can get from QPalette. Maybe
cursor color, if someone tells me how to get it.

Only tested on mac. I can revert if this causes problems on linux or windows.

I have to check too that it still works in non-gui mode.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35060 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoMake sure the layout has actually been closed. Otherwise, you can have:
Richard Heck [Thu, 5 Aug 2010 21:32:19 +0000 (21:32 +0000)]
Make sure the layout has actually been closed. Otherwise, you can have:
Style NewStyle
all by itself at the end of a file, and LyX is perfectly happy.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35059 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRemove unused variables, add questions. Anyone know?
Richard Heck [Thu, 5 Aug 2010 20:25:29 +0000 (20:25 +0000)]
Remove unused variables, add questions. Anyone know?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35058 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRenaming.
Richard Heck [Thu, 5 Aug 2010 20:25:04 +0000 (20:25 +0000)]
Renaming.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35057 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoImprove the error message a bit. LyX CAN produce output in such cases,
Richard Heck [Thu, 5 Aug 2010 20:15:29 +0000 (20:15 +0000)]
Improve the error message a bit. LyX CAN produce output in such cases,
just not PDF, etc.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35056 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoImplement LFUN_SPELLING_REMOVE (patch from switt)
Jean-Marc Lasgouttes [Thu, 5 Aug 2010 20:10:40 +0000 (20:10 +0000)]
Implement LFUN_SPELLING_REMOVE (patch from switt)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35055 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoLayout dependencies patch from Julien Rioux.
Richard Heck [Thu, 5 Aug 2010 20:07:56 +0000 (20:07 +0000)]
Layout dependencies patch from Julien Rioux.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35054 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agosilence some warnings by removing unused parameters
Jean-Marc Lasgouttes [Thu, 5 Aug 2010 19:00:57 +0000 (19:00 +0000)]
silence some warnings by removing unused parameters

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35053 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRemove some obsolete "if you're using Qt" language.
Richard Heck [Thu, 5 Aug 2010 15:18:18 +0000 (15:18 +0000)]
Remove some obsolete "if you're using Qt" language.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35052 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRemove \Nameref entry. Forgotten before....
Richard Heck [Thu, 5 Aug 2010 02:17:07 +0000 (02:17 +0000)]
Remove \Nameref entry. Forgotten before....

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35050 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* linguistics.lyx:
Jürgen Spitzmüller [Wed, 4 Aug 2010 12:08:19 +0000 (12:08 +0000)]
* linguistics.lyx:
* de/linguistics.lyx:
- indicate if required packages are installed (via info inset)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35048 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* Check for float.sty, which is a required package.
Jürgen Spitzmüller [Wed, 4 Aug 2010 11:53:23 +0000 (11:53 +0000)]
* Check for float.sty, which is a required package.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35046 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agotiny simplification
Jean-Marc Lasgouttes [Tue, 3 Aug 2010 22:31:16 +0000 (22:31 +0000)]
tiny simplification

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35045 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* fr-po: update from Jean-Pierre
Jürgen Spitzmüller [Tue, 3 Aug 2010 15:29:40 +0000 (15:29 +0000)]
* fr-po: update from Jean-Pierre

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35043 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #6736: 2.0.0 alpha 3, spell check on the fly bug
Jean-Marc Lasgouttes [Mon, 2 Aug 2010 21:20:59 +0000 (21:20 +0000)]
Fix bug #6736: 2.0.0 alpha 3, spell check on the fly bug

This bug is related to the fact that the cusor remember the current font.

The on-the-fly spell status should really not be kept in the Font object, but
rather in metrics, IMO.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35041 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* GuiLog.cpp: refine warning detection:
Jürgen Spitzmüller [Mon, 2 Aug 2010 16:38:41 +0000 (16:38 +0000)]
* GuiLog.cpp: refine warning detection:
- detect "LaTeX Font Warning"
- detect "Class X Warning"
- package warnings can contain dots ("Package pdftex.def Warning")

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35040 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoStyle and a sanity check.
Richard Heck [Mon, 2 Aug 2010 15:40:33 +0000 (15:40 +0000)]
Style and a sanity check.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35039 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* es.po: update from Ignacio.
Jürgen Spitzmüller [Mon, 2 Aug 2010 08:02:17 +0000 (08:02 +0000)]
* es.po: update from Ignacio.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35037 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAdd a comment.
Richard Heck [Fri, 30 Jul 2010 15:50:42 +0000 (15:50 +0000)]
Add a comment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35036 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoUpdate comments a bit.
Richard Heck [Thu, 29 Jul 2010 16:55:02 +0000 (16:55 +0000)]
Update comments a bit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35035 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoInfo on image scaling.
Richard Heck [Thu, 29 Jul 2010 16:44:53 +0000 (16:44 +0000)]
Info on image scaling.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35034 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoNew section for math
Richard Heck [Thu, 29 Jul 2010 16:40:48 +0000 (16:40 +0000)]
New section for math

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35033 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoImplement independent output scaling for math images (and, I suppose,
Richard Heck [Thu, 29 Jul 2010 16:38:58 +0000 (16:38 +0000)]
Implement independent output scaling for math images (and, I suppose,
for any other sort of image for which we produce a preview on export,
e.g., eventually, for InsetExternal).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35032 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoMinor updates to XHTML info.
Richard Heck [Thu, 29 Jul 2010 16:22:25 +0000 (16:22 +0000)]
Minor updates to XHTML info.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35031 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoUpdate to math info.
Richard Heck [Thu, 29 Jul 2010 16:19:16 +0000 (16:19 +0000)]
Update to math info.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35030 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoMinor style stuff.
Richard Heck [Thu, 29 Jul 2010 15:57:08 +0000 (15:57 +0000)]
Minor style stuff.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35029 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoMathML and HTML definitely can't handle MathUnknown!!
Richard Heck [Thu, 29 Jul 2010 15:48:01 +0000 (15:48 +0000)]
MathML and HTML definitely can't handle MathUnknown!!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35028 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoMathML and HTML can't handle XYArrow.
Richard Heck [Thu, 29 Jul 2010 15:46:26 +0000 (15:46 +0000)]
MathML and HTML can't handle XYArrow.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35027 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoHTML for xarrows.
Richard Heck [Thu, 29 Jul 2010 15:44:17 +0000 (15:44 +0000)]
HTML for xarrows.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35026 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoMathML and HTML definitely can't handle XYMatrix.
Richard Heck [Thu, 29 Jul 2010 15:38:01 +0000 (15:38 +0000)]
MathML and HTML definitely can't handle XYMatrix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35025 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFramework for math export exceptions. We can throw these if we find
Richard Heck [Thu, 29 Jul 2010 15:37:42 +0000 (15:37 +0000)]
Framework for math export exceptions. We can throw these if we find
something we don't know how to handle and fall back to images.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35024 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoUpdate notes a bit.
Richard Heck [Thu, 29 Jul 2010 15:34:32 +0000 (15:34 +0000)]
Update notes a bit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35023 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAllow images to be export even when LyXRC says no previews.
Richard Heck [Thu, 29 Jul 2010 15:17:58 +0000 (15:17 +0000)]
Allow images to be export even when LyXRC says no previews.

I'll try to figure out how to get rid of the magic booleans.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35022 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoComment.
Richard Heck [Thu, 29 Jul 2010 14:29:54 +0000 (14:29 +0000)]
Comment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35021 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoI guess I like this better.
Richard Heck [Thu, 29 Jul 2010 00:00:37 +0000 (00:00 +0000)]
I guess I like this better.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35020 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoMove the error message out of LayoutFileList::load() and have it be
Richard Heck [Wed, 28 Jul 2010 21:03:27 +0000 (21:03 +0000)]
Move the error message out of LayoutFileList::load() and have it be
reported by the caller. Otherwise, you could get the error message the
first time, and then it would succeed the second!!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35019 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agocheck for presence of pipe, care for LyX-2.0 user dir
Stephan Witt [Tue, 27 Jul 2010 19:37:35 +0000 (19:37 +0000)]
check for presence of pipe, care for LyX-2.0 user dir

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35018 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoport from branch:
Uwe Stöhr [Mon, 26 Jul 2010 01:40:09 +0000 (01:40 +0000)]
port from branch:
EmbeddedObjects.lyx: Typos and grammar fixes by John Hudson, part 2/2

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35017 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoUpdate it.po
Enrico Forestieri [Mon, 26 Jul 2010 00:37:17 +0000 (00:37 +0000)]
Update it.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35015 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoport from branch:
Uwe Stöhr [Sun, 25 Jul 2010 19:14:38 +0000 (19:14 +0000)]
port from branch:
- EmbeddedObjects.lyx: revision of the footnote section
- English EmbeddedObjects.lyx: Typos and grammar fixes by John Hudson, part 1

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35014 a592a061-630c-0410-9148-cb99ea01b6c8