Commit Graph

23191 Commits

Author SHA1 Message Date
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
Jürgen Spitzmüller
5efa496d61 * templates/dinbrief.lyx:
- minor spelling fixes and clarifications.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32391 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 09:23:18 +00:00
Jürgen Spitzmüller
410b731196 * dinbrief.layout: adjust margin so that German translation fits again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32390 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 09:12:13 +00:00
Jürgen Spitzmüller
1da4189f55 * g-brief-de.layout: do not use localized strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32385 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 07:13:37 +00:00
Vincent van Ravesteijn
e6d1759340 CitationUI and InsetMathChar:
squeeze warnings

output_xhtml:
  fix whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32380 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 01:28:14 +00:00
Richard Heck
5280ae1609 Better citation dialog fixes from Edwin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32379 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-06 23:35:07 +00:00
Richard Heck
025138f30c Minor XHTML fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32378 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-06 22:53:47 +00:00
Peter Kümmel
6fa6bcf1a9 just discovered qtcreators feature 'replace tabs on save' ;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32377 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-06 22:43:38 +00:00
Peter Kümmel
f69ec61315 no timeout when starting up a process, cleanup error message when error code in not 0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32376 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-06 22:40:16 +00:00
Pavel Sanda
782785ab5e Layout changes for Citation dialog from Richard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32375 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-06 16:27:04 +00:00
Jürgen Spitzmüller
bfcc4f9f55 * dinbrief.layout: do not use localized strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32373 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-06 12:10:54 +00:00
Richard Heck
5bfb8069da Simple bash script to update all layouts to current format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32372 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-06 03:30:24 +00:00
Pavel Sanda
89bdacdeec Typos, patch from Sven.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32371 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-05 23:18:21 +00:00
Richard Heck
f1d54dd07c Formatting for layout2layout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32370 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-05 22:56:16 +00:00
Richard Heck
c48c33cf3a Update all layout files to format 19.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32369 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-05 22:55:38 +00:00
Jürgen Spitzmüller
1e53d6d506 * update to the French beamer conference template, by Jean-Pierre.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32361 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-05 11:34:51 +00:00
Vincent van Ravesteijn
61ceded4f2 Fix HunspellChecker when the path is specified with a trailing '/'. (and revert previous stupid commit).
see: http://thread.gmane.org/gmane.editors.lyx.devel/123324

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32357 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-05 03:55:03 +00:00
Vincent van Ravesteijn
3b520b9523 Fix HUnspellChecker when the path is specified with a trailing '/'.
see: http://thread.gmane.org/gmane.editors.lyx.devel/123324

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32356 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-05 03:37:05 +00:00
Vincent van Ravesteijn
03a0da1a49 Fix bug #6356: Reloading image does not work for compiling.
Refresh the file info, otherwise InsetGraphics::latex might still think that the file does not exist.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32355 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-05 02:56:19 +00:00
Vincent van Ravesteijn
0acff0aa75 Add a FileName::refresh function and replace one call to lastModified which was just meant to refresh the file info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32354 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-05 02:50:34 +00:00
Vincent van Ravesteijn
80ac638d42 Fix trunk after r32352.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32353 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-05 01:07:38 +00:00
Vincent van Ravesteijn
b56e4c5697 Do not start loading a preview each time one is added. This caused LyX to generate LaTeX code of the document over and over again for each math inset. As a consequence, the loading of the User's Guide took ages.
Fixes a bug introduced in r32157 while fixing bug #4360.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32352 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-05 00:43:28 +00:00
Richard Heck
ab267e0f81 Fix strange problem reported by Stefano Franchi.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32339 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-04 17:38:30 +00:00
Richard Heck
7256c934dd Minor fix for previous configure.py patch from Julien Rioux.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32338 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-04 16:08:39 +00:00
Pavel Sanda
8a14b116e0 Insert explicit layout version number.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32337 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-04 15:08:33 +00:00
Pavel Sanda
7814b9c857 Comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32336 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-04 13:40:40 +00:00
Pavel Sanda
061b55c5f4 VCS: do not allow to run VCS stuff in parallel with editation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32335 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-04 13:38:34 +00:00