]>
git.lyx.org Git - lyx.git/log
Georg Baum [Fri, 21 Jan 2011 18:29:10 +0000 (18:29 +0000)]
Translate all known box insets. This is needed since the super-clever preamble
parser discards all needed packages like calc.sty or framed.sty, so the
resulting document would be uncompilable with those boxes as ERT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37287
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Fri, 21 Jan 2011 18:23:32 +0000 (18:23 +0000)]
Fix python error:
UnboundLocalError: local variable 'elyxerfound' referenced before assignment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37286
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 21 Jan 2011 13:24:23 +0000 (13:24 +0000)]
Update years
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37284
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 21 Jan 2011 13:08:33 +0000 (13:08 +0000)]
* cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37283
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 21 Jan 2011 13:08:21 +0000 (13:08 +0000)]
String cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37282
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 21 Jan 2011 00:47:13 +0000 (00:47 +0000)]
Removing support for eLyXer as a module
Patch from Alex Fernandez.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg165022.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37279
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 21 Jan 2011 00:24:25 +0000 (00:24 +0000)]
Remerge sv.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37277
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 21 Jan 2011 00:24:22 +0000 (00:24 +0000)]
* sv.po from Jim
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37276
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Thu, 20 Jan 2011 23:39:08 +0000 (23:39 +0000)]
Fix bug #6720 (Better error handling of instant preview)
Patch from Ale revised by me.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37274
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Thu, 20 Jan 2011 21:48:04 +0000 (21:48 +0000)]
* id.po from Waluyo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37272
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 20 Jan 2011 16:38:41 +0000 (16:38 +0000)]
Fix bug #7214 as best we can. The point here is that we only
want to add the \clearpage if the class has chapters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37266
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 20 Jan 2011 16:28:42 +0000 (16:28 +0000)]
Fix several layout related problems revealed by -dbg tclass.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37265
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 19 Jan 2011 22:04:45 +0000 (22:04 +0000)]
Fix conversion of nested box insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37264
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 19 Jan 2011 16:58:07 +0000 (16:58 +0000)]
Miniscule cleanup in Converters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37263
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 19 Jan 2011 14:58:20 +0000 (14:58 +0000)]
Must be a vestige of some earlier code....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37262
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 19 Jan 2011 14:29:46 +0000 (14:29 +0000)]
Use the typedef.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37261
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 19 Jan 2011 14:09:44 +0000 (14:09 +0000)]
Simplify the new graph code just a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37260
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Wed, 19 Jan 2011 11:18:52 +0000 (11:18 +0000)]
* InsetBox.cpp: framed boxes can have paragraph breaks and environments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37258
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Wed, 19 Jan 2011 09:03:41 +0000 (09:03 +0000)]
#7240
Make Graph more thread save by removing unneeded sharing of data between function calls:
1. Q_
When Q_ is used then it always has been cleared before usage in bfs_init
(if bfs_init returns false Q_ is not used).
Therefore we could make Q_ local to the functions.
2. vertices_[].path
.path is only used in getPath, and the pathes are always cleared before usage,
so the pathes could also be local.
The locks are not needed here any more. When there will be errors due to
race conditions, we could not solve them here. We have to lock at higher
places.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37257
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 18 Jan 2011 23:11:27 +0000 (23:11 +0000)]
Silly typos. Thanks, Stephan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37256
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 18 Jan 2011 19:35:54 +0000 (19:35 +0000)]
Update prefs2prefs again. Thanks Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37255
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 18 Jan 2011 16:50:43 +0000 (16:50 +0000)]
Add conversion of \language_use_babel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37254
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 18 Jan 2011 15:42:27 +0000 (15:42 +0000)]
Update all of our bind and ui files to format 1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37253
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 18 Jan 2011 15:41:16 +0000 (15:41 +0000)]
Script for automatic updating of ui and bind files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37252
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 18 Jan 2011 15:40:07 +0000 (15:40 +0000)]
Thinko.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37251
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 18 Jan 2011 15:37:20 +0000 (15:37 +0000)]
Improve the prefs2prefs scripts a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37250
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stephan Witt [Tue, 18 Jan 2011 15:30:59 +0000 (15:30 +0000)]
#7149 improve the comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37249
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stephan Witt [Tue, 18 Jan 2011 15:22:10 +0000 (15:22 +0000)]
#7149 fix a crash on file-open with having some view but no current one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37248
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 18 Jan 2011 15:09:43 +0000 (15:09 +0000)]
Format conversion for bind files. This completes the coding part of the
rc2rc project. (Was there a bug number for that? I can't find it, if
there was.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37247
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 18 Jan 2011 15:07:26 +0000 (15:07 +0000)]
Move bind file format tag to LyXAction.cpp, and rename it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37246
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Tue, 18 Jan 2011 09:57:03 +0000 (09:57 +0000)]
Rename --enable-profiling to --enable-gprof to pave the way for a configure option for normal profiling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37245
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 17 Jan 2011 21:49:28 +0000 (21:49 +0000)]
Update error message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37244
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 17 Jan 2011 15:54:51 +0000 (15:54 +0000)]
Don't try to convert any of the preference files except the user's own.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37243
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 17 Jan 2011 15:07:54 +0000 (15:07 +0000)]
Previous two commits did the wrong thing. This is right.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37242
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 17 Jan 2011 15:02:54 +0000 (15:02 +0000)]
Forgot this part.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37241
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 17 Jan 2011 14:59:59 +0000 (14:59 +0000)]
Thanks, Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37240
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 16 Jan 2011 20:43:19 +0000 (20:43 +0000)]
Remove extra return.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37236
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 16 Jan 2011 20:38:08 +0000 (20:38 +0000)]
Factor out the code that actually does the reading of UI files. This is
preparatory to prefs2prefs conversion here, which will be the last piece
of that work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37235
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 16 Jan 2011 20:30:23 +0000 (20:30 +0000)]
We don't want to write an empty string here. Keep it the default, unless
something else has been provided. (This is only an issue when no spell
checkers are detected.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37234
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 16 Jan 2011 20:28:43 +0000 (20:28 +0000)]
Conversion routines for preference files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37233
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 16 Jan 2011 19:55:03 +0000 (19:55 +0000)]
Remove debugging comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37232
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 16 Jan 2011 19:53:36 +0000 (19:53 +0000)]
Conversion routines for bind files.
All the LFUNs listed in the release notes should be properly converted.
If not, then changes should be made to the file:
lib/scripts/prefs2prefs-lfuns.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37231
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 16 Jan 2011 19:51:02 +0000 (19:51 +0000)]
Utility functions for converting preference files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37230
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 16 Jan 2011 19:14:14 +0000 (19:14 +0000)]
Fix bug #7239, or at least try to do so. We need to output the command
here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37229
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Sun, 16 Jan 2011 18:13:37 +0000 (18:13 +0000)]
* sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37228
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 16 Jan 2011 09:53:56 +0000 (09:53 +0000)]
return empty EdgePath() on error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37227
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 16 Jan 2011 04:02:59 +0000 (04:02 +0000)]
Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37226
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 16 Jan 2011 03:59:43 +0000 (03:59 +0000)]
A little more work on prefs2prefs.
More to come, Pavel!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37225
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 15 Jan 2011 22:39:46 +0000 (22:39 +0000)]
start the timer in the correct thread
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37224
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 15 Jan 2011 21:40:09 +0000 (21:40 +0000)]
update other build systems, use lyx::Mutex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37223
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 15 Jan 2011 21:06:28 +0000 (21:06 +0000)]
Fix crash on Windows:
1. open LYX
2. CRTL-N
3. CRTL-D hold D --> crash
Graph must be thread save to fix this.
And for sure, we need a mutex also later.
Mutex is a simple wrapper around QMutex, with
pseudo-value semantic.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37222
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sat, 15 Jan 2011 20:51:20 +0000 (20:51 +0000)]
Some very old spots from Ignatio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37221
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sat, 15 Jan 2011 20:30:02 +0000 (20:30 +0000)]
Make sweave example working. Patch from Liviu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37220
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sat, 15 Jan 2011 20:11:02 +0000 (20:11 +0000)]
Add comment to sweave
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37219
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sat, 15 Jan 2011 20:06:13 +0000 (20:06 +0000)]
add comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37218
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 15 Jan 2011 19:52:55 +0000 (19:52 +0000)]
fix #7240 Random crashes: iconv() is not thread save
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37217
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stephan Witt [Sat, 15 Jan 2011 12:09:23 +0000 (12:09 +0000)]
make thesaurus usable for readonly documents
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37216
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sat, 15 Jan 2011 08:10:50 +0000 (08:10 +0000)]
* id.po from Waluyo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37215
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Fri, 14 Jan 2011 20:06:15 +0000 (20:06 +0000)]
Ignore \protect if it is directly in front of \LyX{} (otherwise it would
accumulate for each round trip, since LyX writes \protect if needed)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37214
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Fri, 14 Jan 2011 20:00:55 +0000 (20:00 +0000)]
Import notefontcolor (one more step towards a working roundtrip for the LyX documentation)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37213
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 14 Jan 2011 18:25:00 +0000 (18:25 +0000)]
Don't need these.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37212
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 14 Jan 2011 17:49:56 +0000 (17:49 +0000)]
* cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37211
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 14 Jan 2011 07:29:19 +0000 (07:29 +0000)]
* id.po from Waluyo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37210
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 13 Jan 2011 21:31:14 +0000 (21:31 +0000)]
Allow the warning to be disabled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37209
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 13 Jan 2011 21:25:10 +0000 (21:25 +0000)]
Update to documentation concerning unavailable packages, etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37208
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 13 Jan 2011 21:19:14 +0000 (21:19 +0000)]
Fix bug #7044: Better error messages when modules are unavailable. Patch
from Julien Rioux, modified by me.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37207
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 13 Jan 2011 21:04:52 +0000 (21:04 +0000)]
Proper longtable support for XHTML output. This fixes bug #6995.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37206
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Thu, 13 Jan 2011 21:01:29 +0000 (21:01 +0000)]
Fix bug #7231 (Math macro arguments miss braces when input into a file)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37205
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 13 Jan 2011 20:19:15 +0000 (20:19 +0000)]
These do sometimes get called when we do not know whether it is a
longtable or not, e.g., in the docbook and xhtml output routines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37204
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 13 Jan 2011 18:30:24 +0000 (18:30 +0000)]
This should be const.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37203
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 13 Jan 2011 15:52:59 +0000 (15:52 +0000)]
Doc for NoCounter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37202
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 13 Jan 2011 15:46:53 +0000 (15:46 +0000)]
Fix #7238.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37201
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Thu, 13 Jan 2011 14:31:02 +0000 (14:31 +0000)]
no shared lyx libraries are supported
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37200
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 13 Jan 2011 01:47:41 +0000 (01:47 +0000)]
OK, the previous idea, that we don't need to check the masters of other
counters, was silly. So here we do.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37198
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 12 Jan 2011 23:22:06 +0000 (23:22 +0000)]
Add comment.
The reason we don't need to do what I say we don't need to do is that a
given counter doesn't really care about whether it has a master. It's
when the master is stepped that we check for which other ones to reset.
So if the master doesn't exist, nothing will happen, anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37197
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 12 Jan 2011 23:20:07 +0000 (23:20 +0000)]
Update all layouts to format 31.
Should have done this first!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37196
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 12 Jan 2011 23:19:02 +0000 (23:19 +0000)]
Add NoCounter to layouts that need it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37195
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 12 Jan 2011 23:12:28 +0000 (23:12 +0000)]
Add NoCounter lines to inc files that need them.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37194
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 12 Jan 2011 22:53:41 +0000 (22:53 +0000)]
Add NoCounter layout tag. When working on output of equation numbers, I
noticed that article, for example, still has a counter "chapter". This
surprised me.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37193
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 12 Jan 2011 22:23:27 +0000 (22:23 +0000)]
Inset::addToToc() can and should be const. It wasn't, I take it, because
of things like:
pit.push_back(CursorSlice(*this));
which I've had to change to:
pit.push_back(CursorSlice(const_cast<InsetCaption &>(*this)));
and similarly in a few other places.
If anyone thinks we should instead have:
explicit CursorSlice(Inset const &);
then we can also do that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37192
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 12 Jan 2011 22:03:15 +0000 (22:03 +0000)]
Exclude more conditional commands from preamble parsing:
LyX would output the parsed stuff unconditionally, so we must not translate
it in LyX document settings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37191
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 12 Jan 2011 21:25:45 +0000 (21:25 +0000)]
Fix bug #7230. Changes at r36974 had not been done properly. But this is
better than what we had, anyway, since we do not calculate the tocstring
unless we need it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37190
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 12 Jan 2011 21:19:01 +0000 (21:19 +0000)]
add list of missing tex2lyx features
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37189
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 12 Jan 2011 21:04:39 +0000 (21:04 +0000)]
Fix language handling in tex2lyx:
- Add missing babel synonyms (taken from a standard TeXLive 2010 install).
Some synonyms might still be missing (if they are defined not by babel
itself, but additional packages). Adding these is now simple: Only
known_languages and known_coded_languages need to be touched.
- Translate babel language name arguments of \foreignlanguage and
\selectlanguage to LyX names.
- Translate second argument of \foreignlanguage to LyX.
- Cleanup mixed language names in the preamble parser: Now all checks are
done with LyX names, not a mix of babel and LyX names. This sets correct
quotes even if the language as given as an alias.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37188
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 12 Jan 2011 19:54:46 +0000 (19:54 +0000)]
Fix bug #7233: amsthm does not work with the redefined \[ command of fixltx2e.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37187
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 12 Jan 2011 16:04:59 +0000 (16:04 +0000)]
Fix bug #6894. We save counter information during updateBuffer(), and
then output \setcounter macros during snippet generation, so that we get
the right equation values.
Note: It would be possible to use this same machinery to fix bugs in
instant preview, e.g., that you always get things like (0.3) as equation
numbers, if you use equations numbered by section. I'll perhaps post a
patch for that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37186
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 12 Jan 2011 13:50:46 +0000 (13:50 +0000)]
Complete fix for bug #7225.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37185
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 12 Jan 2011 13:40:47 +0000 (13:40 +0000)]
Remove obsolete comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37184
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Wed, 12 Jan 2011 13:30:34 +0000 (13:30 +0000)]
* RELEASE-NOTES
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37183
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Wed, 12 Jan 2011 10:12:14 +0000 (10:12 +0000)]
Update enumitem module and add documentation for it.
From Guenter Milde.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37182
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 11 Jan 2011 23:55:20 +0000 (23:55 +0000)]
XHTML output was a mess for grids output as LaTeX. This will probably
still be a mess in many cases, but hopefully we won't have to go here
very often.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37181
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 11 Jan 2011 23:34:59 +0000 (23:34 +0000)]
Fix equation number output for MathML+HTML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37180
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 11 Jan 2011 23:18:56 +0000 (23:18 +0000)]
Fix equation number output for XHTML+MathML. HTML to come.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37179
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 11 Jan 2011 21:36:41 +0000 (21:36 +0000)]
sv.po update from Jim Rotmalm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37178
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 11 Jan 2011 19:35:52 +0000 (19:35 +0000)]
Record and use equation numbers. This is towards getting equation
numbering in XHTML output, but it's just as easy to fix this in the LyX
display.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37177
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 11 Jan 2011 18:46:41 +0000 (18:46 +0000)]
When getting packages via miktex 3 minutes is to short for
the timeout. 30 minutes should be enough, also for very big documents.
#7228
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37176
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 10 Jan 2011 23:28:52 +0000 (23:28 +0000)]
cmake: we have 2011 and more white space changes, won't call it "use tabs" ;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37175
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 10 Jan 2011 23:24:00 +0000 (23:24 +0000)]
cmake: we have 2011 and more white space changes, won't call "use tabs" ;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37174
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 10 Jan 2011 23:01:13 +0000 (23:01 +0000)]
cmake: cmake is really a strange macro language
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37173
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 10 Jan 2011 22:51:38 +0000 (22:51 +0000)]
Remerge sv.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37171
a592a061 -630c-0410-9148-
cb99ea01b6c8