]>
git.lyx.org Git - lyx.git/log
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
Peter Kümmel [Mon, 10 Jan 2011 22:49:12 +0000 (22:49 +0000)]
cmake: add the CMakeLists files, so cmake will check if a cmake file has changed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37170
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 10 Jan 2011 22:47:58 +0000 (22:47 +0000)]
cmake: make the merged build much more usable by adding all the source files to the IDE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37169
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 10 Jan 2011 22:44:22 +0000 (22:44 +0000)]
New Swedish translation from Jim Rotmalm.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37168
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 10 Jan 2011 17:27:56 +0000 (17:27 +0000)]
When hyperref is active, define the \LyX macro in a way that does
not break in PDF table of contents (using texorpdfstring).
Uwe, this should allow you to remove some ERT from the documentation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37164
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stephan Witt [Mon, 10 Jan 2011 10:23:10 +0000 (10:23 +0000)]
#7209 avoid a crash in inMacroMode(): one cannot get the previous atom of an empty math cell
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37162
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stephan Witt [Mon, 10 Jan 2011 09:44:55 +0000 (09:44 +0000)]
#7208 reset undo group level in Undo::clear() too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37161
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 10 Jan 2011 09:38:20 +0000 (09:38 +0000)]
Cursor: constify.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37160
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 10 Jan 2011 00:06:36 +0000 (00:06 +0000)]
Back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37159
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 9 Jan 2011 23:45:51 +0000 (23:45 +0000)]
Prepare beta3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37157
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 9 Jan 2011 22:48:25 +0000 (22:48 +0000)]
Final remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37156
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 9 Jan 2011 17:55:16 +0000 (17:55 +0000)]
Clear undo/redo stack when reloading buffer. This fixes #7208.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37155
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 9 Jan 2011 00:55:40 +0000 (00:55 +0000)]
camke: when checking for a variable then also use it
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37154
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 8 Jan 2011 19:15:43 +0000 (19:15 +0000)]
German Tutorial.lyx: change \overrightarrow to \vec as requested on the lyx-docs list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37153
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 8 Jan 2011 17:16:12 +0000 (17:16 +0000)]
cmake: also build merged on mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37152
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 7 Jan 2011 22:18:43 +0000 (22:18 +0000)]
Enumitem's "Labeling/LyX-List" should not change the original layout.
Patch from Guenter.
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg84689.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37150
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Fri, 7 Jan 2011 21:04:16 +0000 (21:04 +0000)]
Parse Flex insets defined in the layout. This is needed e.g. for
lib/doc/Math.lyx, since tex2lyx swallows the LyX part of the preamble, and
thus \shortcut would not be defined.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37149
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Fri, 7 Jan 2011 20:21:10 +0000 (20:21 +0000)]
math macros do not understand \newcommand* and \renewcommand*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37148
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Fri, 7 Jan 2011 19:58:31 +0000 (19:58 +0000)]
Fix invalid \size output with no active layout before sectioning environments.
Fix missing \size reset after sectioning environments.
Fix invalid \lang default (use english instead, as in the preamble)
Convert hard coded layout output of caption insets to Context class.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37147
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stephan Witt [Fri, 7 Jan 2011 15:20:58 +0000 (15:20 +0000)]
#7220 correct spell check state ranges for word splits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37146
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Fri, 7 Jan 2011 01:09:23 +0000 (01:09 +0000)]
Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37145
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Fri, 7 Jan 2011 00:28:45 +0000 (00:28 +0000)]
installer: don't use Python 3.x for LyX; fixes #7143
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37144
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 6 Jan 2011 23:53:32 +0000 (23:53 +0000)]
stdmenus.inc: remove item that produced incorrect LaTeX code: a framed box can only have page breaks when there is no inner box, but this item created an framed box with a minipage as inner box _and_ allowed page breaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37142
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 6 Jan 2011 23:25:22 +0000 (23:25 +0000)]
Merge the AdvancedSearch.lyx file to the UserGuide.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37141
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 6 Jan 2011 21:38:26 +0000 (21:38 +0000)]
Fix misparsing of \usepackage in
\@ifundefined{textcolor}{\usepackage{color}}{}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37140
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 6 Jan 2011 20:57:16 +0000 (20:57 +0000)]
hyperref support for tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37138
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Thu, 6 Jan 2011 18:57:49 +0000 (18:57 +0000)]
cmake: add all info files and the cmake macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37137
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Thu, 6 Jan 2011 18:54:25 +0000 (18:54 +0000)]
cmake: add all info files and the cmake macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37136
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 6 Jan 2011 18:40:39 +0000 (18:40 +0000)]
Fix crash in lyx -e latex lib/doc/Shortcuts.lyx: theApp() is 0 in batch mode.
Unfortunately the commandline export of InsetInfo is still broken for MENU_INFO.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37134
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 6 Jan 2011 18:36:03 +0000 (18:36 +0000)]
forgot to declare debugToken() in r37117
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37133
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 6 Jan 2011 16:29:56 +0000 (16:29 +0000)]
German EmbeddedObjects.lyx: some translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37130
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Thu, 6 Jan 2011 14:47:39 +0000 (14:47 +0000)]
* uk.po from Yuri
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37129
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Thu, 6 Jan 2011 13:41:50 +0000 (13:41 +0000)]
Revert r37092. The fix was wrong.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37127
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Thu, 6 Jan 2011 13:11:39 +0000 (13:11 +0000)]
* id.po: Update from Waluyo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37126
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 6 Jan 2011 02:17:54 +0000 (02:17 +0000)]
EmbeddedObjects.lyx: description of new support for \includeonly , many thanks Jürgen!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37124
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Thu, 6 Jan 2011 01:12:38 +0000 (01:12 +0000)]
Fix bug #7212: Paragraph::forToc has to include the labelString.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37123
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 6 Jan 2011 00:59:15 +0000 (00:59 +0000)]
UserGuide.lyx: some changes by Jürgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37122
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Thu, 6 Jan 2011 00:52:46 +0000 (00:52 +0000)]
LyX remembers the state and geometry of the advanced find and replace dockview.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37121
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 6 Jan 2011 00:48:38 +0000 (00:48 +0000)]
po-files: remerge all to fix #7213
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37120
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 5 Jan 2011 23:34:32 +0000 (23:34 +0000)]
French EmbeddedObjects.lyx: updates from Siegfried
NOTE: this document is uncompilable due to #7211
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37119
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 5 Jan 2011 23:23:18 +0000 (23:23 +0000)]
PDFOptions.cpp: revert r37111 because this broke the compilation of some documentation files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37118
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 5 Jan 2011 20:32:45 +0000 (20:32 +0000)]
Fix several false errors "stray '}' in text" that were caused by
misinterpreting "\}" as "}" when it occured inside a pair of unescaped
braces, like in "\code{@\{*\}r||p\{1in\}@\{*\}}".
The reason for this bug is that Token::character() behaves differently in
tex2lyx than in mathed. See the comment in Parser.h for a more general fix.
For now I played on the safe side and only changed those places where I
definitely know that the old code was wrong.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37117
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Wed, 5 Jan 2011 15:08:08 +0000 (15:08 +0000)]
Avoid crash on exiting LyX while Adv Search is shown in full-screen mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37115
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 5 Jan 2011 00:59:39 +0000 (00:59 +0000)]
PDFOptions.cpp: revert fix for #7048 for now, see discussion in the bug report
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37111
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Tue, 4 Jan 2011 19:43:52 +0000 (19:43 +0000)]
Fix bug #7106: iterator out of range while copying multi-row math.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37108
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 4 Jan 2011 11:32:04 +0000 (11:32 +0000)]
* InsetCommand.cpp (decodeInsetParam):
- use correct params for INDEX_CODE and INDEX_PRINT_CODE (bug 7180).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37104
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Tue, 4 Jan 2011 09:41:27 +0000 (09:41 +0000)]
Better fix for part 3 of bug #7182: LyX truncates file names to about 25 chars.
Now, when hovering the tabs, the full paths are shown as a tooltip.
see r37084.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37101
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 4 Jan 2011 01:41:53 +0000 (01:41 +0000)]
Update doxy for selection-paste.
The whole thing was introduced in r28154.
JMarc, could you improve the description doxies for selection-paste and primary-selection-paste ?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37097
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Tue, 4 Jan 2011 00:00:20 +0000 (00:00 +0000)]
Fix bug #5600: View source panel isn't updating after restart.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37096
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 Jan 2011 23:23:09 +0000 (23:23 +0000)]
Fix bug #5082: Outline visibility not remembered.
When a document with a InsetTOC was closed, the outline was closed. But this shouldn't happen because editedInset("toc") does never return something.
The reason that this happened was that if currentBufferView() is 0, we don't even care wehther inset was specified. If inset is specified, it should match the editedInset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37094
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 Jan 2011 21:38:19 +0000 (21:38 +0000)]
Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37093
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 Jan 2011 21:23:38 +0000 (21:23 +0000)]
Fix bug #7096: Wrong LaTeX export for layouts with intitle=true in branches.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37092
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 Jan 2011 20:39:14 +0000 (20:39 +0000)]
Fix bug #7125: Insertion of a math macro cannot be undone.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37088
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 Jan 2011 20:04:03 +0000 (20:04 +0000)]
Fix bug 7137: Main WA disappears on wrap-around dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37085
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 Jan 2011 18:50:37 +0000 (18:50 +0000)]
Fix part 3 of bug #7182: LyX truncates file names to about 25 chars.
Now, when hovering the tabs, the longer name is shown as a tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37084
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 Jan 2011 18:44:52 +0000 (18:44 +0000)]
Fix part 2 of bug #7182: LyX truncates file names to about 25 chars.
Now, when hovering the lastfiles menu, the full file names are shown in the statusbar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37083
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 3 Jan 2011 17:21:22 +0000 (17:21 +0000)]
Fix UI glitch in the prefs dialog (bug 7190).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37081
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 Jan 2011 16:49:15 +0000 (16:49 +0000)]
Fix bug #7099: Fix bug #7099: Math toolbars don't autoshow.
When applying the preference we need to save the full session information, because when this information is not yet saved, we will lose it forever. We can enter the preferences without a saved state when we start LyX with a modified default.ui.
see also: r37075 and r37076.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37077
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 Jan 2011 15:56:27 +0000 (15:56 +0000)]
This comment introduced in r37075 was wrong. We should never end up here!
However, it cannot hurt to warn the user and fall back to the defaults in case.
The real cause of bug #7099 is something else (which I will fix soon).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37076
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 Jan 2011 14:39:41 +0000 (14:39 +0000)]
Fix bug #7099: Math toolbars don't autoshow.
In GuiApplication::readUIFile() the settings for views gets removed if the ui file is newer than the saved timestamp in the settings. Later the non existing settings will be used to initialize the visibility. The default value for a non existing setting is 0. The visibility_ variable does never get changed afterwards. And therefore
we will again write 0 to the registry.
We should have read the ui file instead when we can't find the registry value.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37075
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Mon, 3 Jan 2011 14:28:33 +0000 (14:28 +0000)]
Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37074
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 Jan 2011 14:12:53 +0000 (14:12 +0000)]
Fix bug #7050: Assert when using DecimalAlignment in tables.
The problem is/was that when copying an InsetTableCell?, the macrocontext_position_ and the buffer_ were not copied. That's why in InsetTabular?@splitCell@521 and in InsetTabular::TeXRow() and in InsetTabular::metrics we manually copy this into the new object.
However, splitCell() returns the object by-value. So, when we call
InsetTableCell tail = splitCell(head, column_info[c].decimal_point, hassep);
the new object is copied into tail and we lose the buffer_ and macro_contextposition. Later we will crash.
What does *nix in this case ? Apparently they don't make buffer and/or macro_contextposition 0.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37072
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 Jan 2011 12:39:56 +0000 (12:39 +0000)]
Remove unused member variable GuiToolbar::name_.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37070
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 Jan 2011 12:14:44 +0000 (12:14 +0000)]
Fix another instance of "visibility >= MATH". This was forgotten in r37068.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37069
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 Jan 2011 11:42:01 +0000 (11:42 +0000)]
Remove GuiToolbar::allowauto_ and define this property in the Toolbars.h::Visibility enum.
Now, there is the bug that autoallow is incorrectly set to true when visibility_ has the Visibility::SAMEROW flag. One shouldn't use >= on an enum (GuiToolbar::setVisibility), as newly added items will exhibit unexpected behaviour.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37068
a592a061 -630c-0410-9148-
cb99ea01b6c8