Commit Graph

24467 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
8c8675e2ca Fix a crash when spellchecking when a Math inset is the last inset in the document. Make sure that the words between a math inset and the next inset are spellchecked. Also fix the count of the number of words when there are math insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32489 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-12 02:56:06 +00:00
Uwe Stöhr
8515bea89a ja.po: updates by Koji
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32487 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-12 02:41:49 +00:00
Uwe Stöhr
8749c8af62 3 new Spanish translations of example files by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32486 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-12 02:41:27 +00:00
Vincent van Ravesteijn
e89a267c71 Do not save an emergency file after choosing to revert the document to the version saved on disk.
Now also when the user tries to load the document when it's already loaded.

see r32170.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32485 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-12 01:18:18 +00:00
Uwe Stöhr
c7dfe186fb preamble.cpp: fix comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32482 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-11 23:14:36 +00:00
Uwe Stöhr
9a47988959 stdtoolbars.inc: correct place for \Diamond
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32481 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-11 23:10:37 +00:00
Uwe Stöhr
91ce0aa188 preamble.cpp:
- proper solution to determine the quotes language
- add Kazakh, that we already support in LyX for ages


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32476 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-11 04:11:44 +00:00
Uwe Stöhr
5be89cdb7d stdtoolbars.inc: add missing entry for \Diamond; this symbol is part of amssymb, we support it, and it is also listed in the Math manual
(bug was reported here: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg78256.html)

Jürgen, also for branch?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32475 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-11 01:58:46 +00:00
Enrico Forestieri
9e423f23fa Spare a few cpu cycles on average.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32474 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-11 01:46:57 +00:00
Enrico Forestieri
c2befc2b1e Fix bug #6382: Wrong cursor placement when inserting math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32473 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-11 01:30:33 +00:00
Uwe Stöhr
6b26b4abd1 preamble.cpp: tex2lyx creates fileformat 264 - the encoding "ascii" is known to LyX since fileformat 262 so that a special handling for this encoding is no longer necessary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32472 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-11 01:26:07 +00:00
Uwe Stöhr
96c6a139c4 preamble.cpp: simplify code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32471 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-11 01:22:48 +00:00
Uwe Stöhr
a01b8a1d1c InsetCaption.cpp: revert unintended commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32470 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-11 01:01:58 +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
Richard Heck
19bec6e8bc Generate the magic label always. We'll need it other times, when we do
the other TOCs, in particular.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32466 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 20:36:12 +00:00
Richard Heck
a527de4f8f Prettify the grey notes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32465 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 20:19:52 +00:00
Richard Heck
0d0a1c6457 Don't double-escape things.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32464 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 20:19:41 +00:00
Richard Heck
f162067a61 Now how do you think that happened?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32463 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 20:11:46 +00:00
Richard Heck
cd242c7b87 Update notes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32462 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 20:05:55 +00:00
Richard Heck
e5afe8db66 This really gets the TOC working now. We auto-generate labels for the
paragraphs the TOC targets, and link to them.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32461 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 20:03:35 +00:00
Richard Heck
46e70895a9 CSS for the TOC, and a couple small fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32460 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 19:28:00 +00:00
Richard Heck
ffe73b795b Initial work for InsetTOC. This does actually write a TOC, but without
any links. That is the next step.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32459 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 18:30:48 +00:00
Richard Heck
d2f85c7978 Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32458 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 18:12:35 +00:00
Richard Heck
ad67f42b17 Removing debugging code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32457 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 16:44:33 +00:00
Richard Heck
69666056ca Cosmetic repairs to my updateLabels() changes, thanks to Andre's
comments. Added comments per Pavel's suggestion.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32453 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 13:25:31 +00:00
Jürgen Spitzmüller
28ce123a18 Simplify the definition of multi-accented polytonic Greek, patch by Günter Milde.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32450 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 08:26:22 +00:00
Uwe Stöhr
a831919c0c preamble.cpp: simplify code and reintroduce code that was accidentally deleted in previous commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32449 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 03:07:36 +00:00
Uwe Stöhr
64ede202fa preamble.cpp: set correct quotes language (currently an Italian document gets the non-existing quotes language "italian")
- also to branch?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32448 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 02:41:33 +00:00
Uwe Stöhr
d04377a231 preamble.cpp: adjust comments for better clarity
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32447 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 02:29:49 +00:00
Uwe Stöhr
23e97ea72a German UserGuide.lyx: formatting fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32444 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 00:57:49 +00:00
Uwe Stöhr
fea997f075 InsetCaption.cpp: add a comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32443 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-09 23:36:59 +00:00
Vincent van Ravesteijn
e3b26029cc Fix bug #6365: tex2lyx uses wrong encoding in the preamble.
Everything is ok while reading the file, but when the lyxfile is written, only the first byte of a double-byte character is written to the file. This is because t.character() is sort of defined as cs_[0] in which cs_ is a docstring. This thus seems to fail for multi-byte characters.

Compare with src\tex2lyx\text.cpp line: 1250.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32441 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-09 12:29:48 +00:00
Jean-Marc Lasgouttes
ccfcd71b36 Get rid of Token::asString(), which is equivalent to cs().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32439 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-09 11:53:16 +00:00
Jean-Marc Lasgouttes
52061b8313 Speedup updateMacroInstances. This has some effect on document loading time:
it was a significant part of this time


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32435 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-08 22:41:10 +00:00
Jean-Marc Lasgouttes
b2dd36916b fix compilation with qt 4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32433 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-08 12:27:44 +00:00
Jürgen Spitzmüller
fa7b247485 indicate that we're opening a dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32430 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-08 08:37:08 +00:00
Uwe Stöhr
7b6aafa893 UserGuide.lyx: don't pollute the TOC unnecessarily
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32426 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-08 00:19:16 +00:00
Uwe Stöhr
2481ee78f3 Math.lyx: typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32423 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 23:32:08 +00:00
Uwe Stöhr
f354b05df5 installer: sync with branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32422 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 23:31:35 +00:00
Pavel Sanda
01f46c0079 Change string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32420 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 23:27:24 +00:00
Uwe Stöhr
cef0077454 configure.py: add default viewers/editors for 4 file types
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32414 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 19:34:41 +00:00
Vincent van Ravesteijn
99a9d3dd69 Simplify code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32413 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 19:06:15 +00:00
Jürgen Spitzmüller
f2011d0d20 a bit more elaboration.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32410 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 13:46:46 +00:00
Uwe Stöhr
bf820ca578 configure.py: fix #3349 also for Windows by using Inkscape.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32409 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 13:45:13 +00:00
Uwe Stöhr
e9409489b1 Math.lyx: fix #6369
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32407 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 13:27:53 +00:00
Jürgen Spitzmüller
123a589bf8 * Fix bug #2144: Merge the two identical classes g-brief-de and g-brief-en into one class g-brief.
The German layouts are replaced by the English ones.
German localization is now done as it is supposed to be: via gettext.

A file format change was needed to do this.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32406 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 11:53:25 +00:00
Jürgen Spitzmüller
e0959b74e8 some more elaboration.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32405 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 11:47:01 +00:00
Jürgen Spitzmüller
ade51f4291 * document previous file format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32400 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 11:23:46 +00:00
Jürgen Spitzmüller
99042cf2fc * lyx.rpm.README:
- update.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32396 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 09:56:33 +00:00
Jürgen Spitzmüller
e31a4f5041 * templates/dinbrief.lyx:
- typo.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32393 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 09:26:54 +00:00