Commit Graph

21631 Commits

Author SHA1 Message Date
Enrico Forestieri
0a90c42b86 Fix bugs #6047, #4043, and #5394.
6047: Lyx 1.6.3 unable to typeset the third chemical equation of the
      file mhchem.lyx (package mhchem)
4043: mhchem support
5394: support for the mhchems's \ce command
The \ce and \cf insets are text mode environments that allow entering
spaces and mathmode commands. LyX leaves them alone and doesn't try to
be smart, i.e., the behaviour is exactly the same we had in the old days
with text-in-math mode environments, before the introduction of the
\ensuremath and \lyxmathsym macros. This means that in those environments
one has to know what he is doing, as LyX will not offer any protection.
The hack of enclosing \ce and \cf in a \text{} environment in order to
be able to enter spaces is no longer necessary.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30338 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-03 00:05:58 +00:00
Uwe Stöhr
7e2391c64c UserGuide.lyx: remove an obsolete sentence; spotted by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30336 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-02 12:42:13 +00:00
Uwe Stöhr
ec146287dc Spanish documentation and translation updates by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30334 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-02 12:29:02 +00:00
Jürgen Spitzmüller
7664ae5347 * PrefLanguageUi.ui: correct tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30329 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-01 08:26:06 +00:00
Enrico Forestieri
0d6f47799c LyX works with automake 1.11, as far as I can tell after testing it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30328 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 23:35:08 +00:00
Enrico Forestieri
68d936250e Add some cygwin stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30327 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 23:28:48 +00:00
Pavel Sanda
f5df95c8b6 Make Vincent happy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30326 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 18:33:33 +00:00
Uwe Stöhr
fc3f7b6575 SCons: sort
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30319 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 11:57:28 +00:00
Jürgen Spitzmüller
7720592b2d * GuiApplication.cpp (readUiFiles):
- only reset settings if a file with Toolbars has changed. This should significantly decrease
	  the number of circumstances where the settings are lost unnecessarily.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30317 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 11:00:16 +00:00
Uwe Stöhr
7f163c0117 EmbeddedObjects.lyx: new section about subfloats (This is already explained elsewhere but users requested to have it here with an example that every type can have subfloats and to have an example for the two different placements.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30315 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 09:35:48 +00:00
Uwe Stöhr
a8c427f51d Spanish EmbeddedObjects.lyx: update by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30313 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 08:38:49 +00:00
Vincent van Ravesteijn
c4feab5f13 Cosmetics, squeeze some warnings, remove unused code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30310 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 00:10:55 +00:00
Vincent van Ravesteijn
c0ac23512e Cosmetics and constify.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30309 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 23:43:23 +00:00
Jean-Marc Lasgouttes
4594b1425b add onoff support for "inset-modify changetype xxx" in include inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30305 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 12:41:43 +00:00
Jürgen Spitzmüller
2efcbb74d6 * do not change name of QSettings config file on LyX version change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30301 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 08:44:32 +00:00
Jürgen Spitzmüller
74aad3cb41 * stdmenus.inc: revert unintended change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30297 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 06:27:12 +00:00
Jürgen Spitzmüller
bf2567b44f * Standardize Capitalization. Skip the controverse AMS environments for now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30296 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 06:19:21 +00:00
Pavel Sanda
4c15e3fb55 Squash warn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30294 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-28 22:12:16 +00:00
Pavel Sanda
0bde349a04 Capitalize
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30293 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-28 22:02:47 +00:00
Pavel Sanda
336164a9ce typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30292 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-28 21:53:31 +00:00
Pavel Sanda
943776d064 Add missing file, sort scons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30290 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-28 12:23:02 +00:00
Pavel Sanda
a0682f4c90 Sort
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30289 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-28 12:23:00 +00:00
Pavel Sanda
f3ecb54404 Damp colors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30287 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-28 11:29:18 +00:00
Pavel Sanda
ee863456a1 Save translators work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30284 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-28 11:14:27 +00:00
Pavel Sanda
43caa1fe8a * LFUNs.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30282 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-28 10:37:36 +00:00
Pavel Sanda
8a5b5b2e35 Keep numbering
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30281 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-28 10:37:34 +00:00
Jürgen Spitzmüller
50c94f6a67 Add Rob Oakes to the Credits.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30279 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-28 08:41:03 +00:00
Jürgen Spitzmüller
3a16b6dbf7 Implement LFUN_OUTLINE_DRAGMOVE.
Contribution by Rob Oakes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30278 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-28 08:40:34 +00:00
Pavel Sanda
5fdfa59131 Cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30270 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-26 12:40:08 +00:00
Pavel Sanda
db18ee7c8c Set it in both cases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30269 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-26 12:40:07 +00:00
Pavel Sanda
e4c05dd04d Fix ui naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30268 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-26 12:35:21 +00:00
Pavel Sanda
7d2331fc17 Shouldn't be needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30267 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-26 12:30:22 +00:00
Pavel Sanda
b627182bb4 Move to tristate version of locking property
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30265 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-26 12:25:51 +00:00
Jürgen Spitzmüller
8f3ee7c3a4 * stdcontext.inc:
- Rename "Toggle Label" to "Show Label"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30257 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-26 10:42:13 +00:00
Pavel Sanda
2ebd79adea Add some doc about direct svn revision number usage.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30256 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-25 22:24:52 +00:00
Pavel Sanda
7355a53a73 Guify setting of svn locking property
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30255 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-25 14:48:11 +00:00
Pavel Sanda
7df973465a Bring extended manual back to normal formatting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30254 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-25 14:48:03 +00:00
Pavel Sanda
533d0c2a9f Search for both elyxer and elyxer.py.
Patch from Sven Hoexter.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30251 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-24 19:09:33 +00:00
Uwe Stöhr
c8218c119a installer: require NSIS 2.45 because of the fixed Indonesian translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30247 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-23 20:37:00 +00:00
Enrico Forestieri
5415144621 Fix bug #6033: Initial character sometimes eaten by math-insert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30246 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-23 18:01:31 +00:00
Jean-Marc Lasgouttes
042c5bf425 Fix bug http://www.lyx.org/trac/ticket/6026
LyX crashes when backward selecting during formula writing

The problem is basically that the anchor is not set (because there is no
selection going on) and BufferView::mouseSetCursor does not handle this.

 * Cursor.cpp (anchor): return immediately when there is no selection.

 * BufferView.cpp (mouseSetCursor): reset anchor before setting cursor



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30245 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-23 14:54:35 +00:00
Jean-Marc Lasgouttes
7e5bdec673 fix assertion when inserting math inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30244 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-23 14:47:29 +00:00
Jean-Marc Lasgouttes
01b290e2dd Fix part of bug http://www.lyx.org/trac/ticket/2566
We use Inset::producesOutput to skip things like notes and inactive
branches.

	* buffer_funcs.cpp (countWords): align code style with countChars;
	skip insets for which producesOutput() is false.
	(countChars): honor Inset::producesOutput.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30242 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-23 09:46:48 +00:00
Abdelrazak Younes
8a421dcd37 Really spellcheck continuously.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30241 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-23 09:17:39 +00:00
Abdelrazak Younes
5d40a42f60 Paragraph::collectWords() and MenuDefinition::expandSpellingSuggestions(): reuse Paragraph::spellCheck().
Paragraph::collectWords() now also collects spellchecker suggested words for inline word completion.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30240 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-23 08:54:21 +00:00
Pavel Sanda
ae9bcc7760 Fix of fix of fix of fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30239 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-23 08:20:10 +00:00
Uwe Stöhr
8a765440cb move the obsolete DocStyle.lyx file to an attic folder as requested
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30237 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-23 01:25:12 +00:00
Uwe Stöhr
78d5d57e11 EmbeddedObjects.lyx: add a sentence about branches in child documents
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30235 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-23 01:19:44 +00:00
Abdelrazak Younes
e8d462799c Proper fix for the warning that Pavel noticed. The problem was that the local variable d shadowed the private d one.
And I of course also put back the semi-colon fix.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30233 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-22 22:08:04 +00:00
Abdelrazak Younes
369b0714d6 Crash fix: end of doc check was wrong following previous cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30232 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-22 21:49:48 +00:00