]> git.lyx.org Git - lyx.git/log
lyx.git
13 years agocamke: when checking for a variable then also use it
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

13 years agoGerman Tutorial.lyx: change \overrightarrow to \vec as requested on the lyx-docs...
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

13 years agocmake: also build merged on mac
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

13 years agoEnumitem's "Labeling/LyX-List" should not change the original layout.
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

13 years agoParse Flex insets defined in the layout. This is needed e.g. for
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

13 years agomath macros do not understand \newcommand* and \renewcommand*
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

13 years agoFix invalid \size output with no active layout before sectioning environments.
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

13 years ago#7220 correct spell check state ranges for word splits
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

13 years agoUpdate it.po
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

13 years agoinstaller: don't use Python 3.x for LyX; fixes #7143
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

13 years agostdmenus.inc: remove item that produced incorrect LaTeX code: a framed box can only...
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

13 years agoMerge the AdvancedSearch.lyx file to the UserGuide.lyx
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

13 years agoFix misparsing of \usepackage in
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

13 years agohyperref support for tex2lyx
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

13 years agocmake: add all info files and the cmake macros
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

13 years agocmake: add all info files and the cmake macros
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

13 years agoFix crash in lyx -e latex lib/doc/Shortcuts.lyx: theApp() is 0 in batch mode.
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

13 years agoforgot to declare debugToken() in r37117
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

13 years agoGerman EmbeddedObjects.lyx: some translations
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

13 years ago* uk.po from Yuri
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

13 years agoRevert r37092. The fix was wrong.
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

13 years ago* id.po: Update from Waluyo.
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

13 years agoEmbeddedObjects.lyx: description of new support for \includeonly , many thanks Jürgen!
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

13 years agoFix bug #7212: Paragraph::forToc has to include the labelString.
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

13 years agoUserGuide.lyx: some changes by Jürgen
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

13 years agoLyX remembers the state and geometry of the advanced find and replace dockview.
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

13 years agopo-files: remerge all to fix #7213
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

13 years agoFrench EmbeddedObjects.lyx: updates from Siegfried
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

13 years agoPDFOptions.cpp: revert r37111 because this broke the compilation of some documentatio...
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

13 years agoFix several false errors "stray '}' in text" that were caused by
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

13 years agoAvoid crash on exiting LyX while Adv Search is shown in full-screen mode.
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

13 years agoPDFOptions.cpp: revert fix for #7048 for now, see discussion in the bug report
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

13 years agoFix bug #7106: iterator out of range while copying multi-row math.
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

13 years ago* InsetCommand.cpp (decodeInsetParam):
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

13 years agoBetter fix for part 3 of bug #7182: LyX truncates file names to about 25 chars.
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

13 years agoUpdate doxy for selection-paste.
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

13 years agoFix bug #5600: View source panel isn't updating after restart.
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

13 years agoFix bug #5082: Outline visibility not remembered.
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

13 years agoTypo.
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

13 years agoFix bug #7096: Wrong LaTeX export for layouts with intitle=true in branches.
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

13 years agoFix bug #7125: Insertion of a math macro cannot be undone.
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

13 years agoFix bug 7137: Main WA disappears on wrap-around dialog.
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

13 years agoFix part 3 of bug #7182: LyX truncates file names to about 25 chars.
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

13 years agoFix part 2 of bug #7182: LyX truncates file names to about 25 chars.
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

13 years agoFix UI glitch in the prefs dialog (bug 7190).
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

13 years agoFix bug #7099: Fix bug #7099: Math toolbars don't autoshow.
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

13 years agoThis comment introduced in r37075 was wrong. We should never end up here!
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

13 years agoFix bug #7099: Math toolbars don't autoshow.
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

13 years agoUpdate it.po
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

13 years agoFix bug #7050: Assert when using DecimalAlignment in tables.
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

13 years agoRemove unused member variable GuiToolbar::name_.
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

13 years agoFix another instance of "visibility >= MATH". This was forgotten in r37068.
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

13 years agoRemove GuiToolbar::allowauto_ and define this property in the Toolbars.h::Visibility...
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

13 years agonn.po: update by Ingar.
Jürgen Spitzmüller [Mon, 3 Jan 2011 09:49:25 +0000 (09:49 +0000)]
nn.po: update by Ingar.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37067 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix wrong setting of bibinset options if \cite{*} was found.
Georg Baum [Sun, 2 Jan 2011 18:16:23 +0000 (18:16 +0000)]
Fix wrong setting of bibinset options if \cite{*} was found.
Improve heuristic for outputting \bibliographystyle: Now it is suppressed
if \bibliography follows immediately, since LyX adds it automatically in that
case.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37066 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agotex2lyx: Do not swallow a user defined \parindent
Georg Baum [Sun, 2 Jan 2011 16:54:58 +0000 (16:54 +0000)]
tex2lyx: Do not swallow a user defined \parindent

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37065 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoImprove tex2lyx roundtrip of test-insets.tex:
Georg Baum [Sun, 2 Jan 2011 15:39:48 +0000 (15:39 +0000)]
Improve tex2lyx roundtrip of test-insets.tex:
- Replace special verbatim commands by standard LaTeX, since it would be
  extremely difficult to make tex2lyx understand them)
- Comment duplicated \bibliography{xampl}, since LaTeX cannot handle two
  \bibliography calls
- Fix a regression with spaces after commands, introduced in r36943
- Parse \multicolumn with space/comments between two arguments correctly
- Parse optional arguments correctly if there are space or comments between
  the command and the argument
- Remove duplicate "LyX" phrase handling (I overlooked that in r37052)
- Add new commands created with \let to the list of known commands. This is
  needed to parse the arguments correctly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37064 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #7200: Crash when replacing newline by InsetQuote.
Vincent van Ravesteijn [Sun, 2 Jan 2011 12:07:33 +0000 (12:07 +0000)]
Fix bug #7200: Crash when replacing newline by InsetQuote.

We have to call cap::replaceSelection before determining whether we can insert an InsetQuote or a normal quote.

At least we should have updated the par variable after calling cap::replaceSelection, because the paragraph might have been deleted.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37063 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago#7201 return "correct" wrong spelled word when before a dot - exclude the dot from...
Stephan Witt [Sun, 2 Jan 2011 11:31:28 +0000 (11:31 +0000)]
#7201 return "correct" wrong spelled word when before a dot - exclude the dot from spell checker result

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37062 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoSolve shortcut clash in it.po
Enrico Forestieri [Sun, 2 Jan 2011 00:42:52 +0000 (00:42 +0000)]
Solve shortcut clash in it.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37061 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoCorrectly show in italic shape the uppercase greek letters inserted in
Enrico Forestieri [Sat, 1 Jan 2011 19:24:16 +0000 (19:24 +0000)]
Correctly show in italic shape the uppercase greek letters inserted in
a \mathit inset.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37060 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRevert r36465 and r36467. Soon to be replaced by proper code for correctly
Enrico Forestieri [Sat, 1 Jan 2011 19:19:32 +0000 (19:19 +0000)]
Revert r36465 and r36467. Soon to be replaced by proper code for correctly
show on screen italic uppercase greek letters.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37059 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAlso copying the document language to the find/replace WA cursors' current language...
Tommaso Cucinotta [Fri, 31 Dec 2010 15:07:03 +0000 (15:07 +0000)]
Also copying the document language to the find/replace WA cursors' current language. This avoids typing in the replace WA results in underscored text while editing non-English documents.
This addresses (and hopefully closes) #6171.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37058 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoCopy document params (including language settings) to find and replace WAs buffers...
Tommaso Cucinotta [Fri, 31 Dec 2010 14:35:16 +0000 (14:35 +0000)]
Copy document params (including language settings) to find and replace WAs buffers on activation of Advanced Search.
This hopefully fixes #6171, i.e., when copying from main document with non-English language to find/replace WAs,
the pasted text is not underlined anymore.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37057 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agopartial fix for bug 6986: Use the right tex2lyx (at least if tex2lyx is installed)
Georg Baum [Fri, 31 Dec 2010 12:07:58 +0000 (12:07 +0000)]
partial fix for bug 6986: Use the right tex2lyx (at least if tex2lyx is installed)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37056 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAlso prevent replacement of LyX => \LyX{} if it is part of a word.
Georg Baum [Fri, 31 Dec 2010 11:59:33 +0000 (11:59 +0000)]
Also prevent replacement of LyX => \LyX{} if it is part of a word.
The automatic replacement in LyX is pretty broken (see bug 4752).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37055 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agopartial man page update (it is still horribly outdated)
Georg Baum [Fri, 31 Dec 2010 11:57:25 +0000 (11:57 +0000)]
partial man page update (it is still horribly outdated)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37054 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agotex2lyx/preamble.cpp: support for
Uwe Stöhr [Fri, 31 Dec 2010 07:31:59 +0000 (07:31 +0000)]
tex2lyx/preamble.cpp: support for
- polytonic Greek
- Mongolian
- Mexican Spanish

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37053 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoTranslate "\LyX{}" and "LyX" correctly in tex2lyx
Georg Baum [Thu, 30 Dec 2010 21:56:55 +0000 (21:56 +0000)]
Translate "\LyX{}" and "LyX" correctly in tex2lyx

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37052 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix translation of \pagebreak and \linebreak with optional arguments.
Georg Baum [Thu, 30 Dec 2010 21:03:36 +0000 (21:03 +0000)]
Fix translation of \pagebreak and \linebreak with optional arguments.
Please don't add new features to tex2lyx without testing.
In this case, the test case was even provided in test-insets.tex.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37051 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agofix translation of \nobreakdash in tex2lyx
Georg Baum [Thu, 30 Dec 2010 20:38:47 +0000 (20:38 +0000)]
fix translation of \nobreakdash in tex2lyx

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37050 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAdd -roundtrip argument to tex2lyx for tex->lyx->tex roundtrip testing.
Georg Baum [Thu, 30 Dec 2010 20:29:33 +0000 (20:29 +0000)]
Add -roundtrip argument to tex2lyx for tex->lyx->tex roundtrip testing.
The reasons for doing this in tex2lyx instead of an external script are:
- Correct choice of latex/pdflatex export
- Using the correct LyX executable regardless of running inplace or from an
  installation, or with or without version suffix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37049 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAddressing #6560.
Tommaso Cucinotta [Thu, 30 Dec 2010 17:59:59 +0000 (17:59 +0000)]
Addressing #6560.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37048 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix of #4388 also for non advanced find.
Tommaso Cucinotta [Thu, 30 Dec 2010 15:34:09 +0000 (15:34 +0000)]
Fix of #4388 also for non advanced find.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37047 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* uk.po: update by Yuri.
Jürgen Spitzmüller [Thu, 30 Dec 2010 08:47:34 +0000 (08:47 +0000)]
* uk.po: update by Yuri.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37046 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agofix typo: double semicolon at line end of code
Stephan Witt [Wed, 29 Dec 2010 21:34:33 +0000 (21:34 +0000)]
fix typo: double semicolon at line end of code

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37044 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoApplying (variation of) fix by stwitt to solve #7172.
Tommaso Cucinotta [Wed, 29 Dec 2010 19:59:41 +0000 (19:59 +0000)]
Applying (variation of) fix by stwitt to solve #7172.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37043 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* sk.po
Kornel Benko [Wed, 29 Dec 2010 18:20:12 +0000 (18:20 +0000)]
* sk.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37042 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* de.po: update.
Jürgen Spitzmüller [Wed, 29 Dec 2010 17:06:21 +0000 (17:06 +0000)]
* de.po: update.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37041 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* uk.po: update by Yuri.
Jürgen Spitzmüller [Wed, 29 Dec 2010 16:57:44 +0000 (16:57 +0000)]
* uk.po: update by Yuri.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37040 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agofix some typos. Patch by Yuri Chornoivan.
Jürgen Spitzmüller [Wed, 29 Dec 2010 16:57:04 +0000 (16:57 +0000)]
fix some typos. Patch by  Yuri Chornoivan.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37039 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoes.po: update from Ignacio.
Jürgen Spitzmüller [Wed, 29 Dec 2010 16:25:11 +0000 (16:25 +0000)]
es.po: update from Ignacio.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37038 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* GuiPrefs.{cpp,h}:
Jürgen Spitzmüller [Wed, 29 Dec 2010 13:50:22 +0000 (13:50 +0000)]
* GuiPrefs.{cpp,h}:
- update screen font sizes in dialog after prefs change, since the localization of float values might have changed.
  (fixes bug 6771).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37035 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* id.po: Update from Waluyo.
Jürgen Spitzmüller [Wed, 29 Dec 2010 11:22:48 +0000 (11:22 +0000)]
* id.po: Update from Waluyo.

Pavel, do you receive messages to po-updates?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37034 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* sk.po
Kornel Benko [Wed, 29 Dec 2010 08:26:39 +0000 (08:26 +0000)]
* sk.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37033 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #7198: Assertion when calling inset-modify for a InsetSpace with a different...
Vincent van Ravesteijn [Wed, 29 Dec 2010 06:00:22 +0000 (06:00 +0000)]
Fix bug #7198: Assertion when calling inset-modify for a InsetSpace with a different argument than "space"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37032 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAdd some extra information about bug #3684.
Vincent van Ravesteijn [Wed, 29 Dec 2010 05:50:50 +0000 (05:50 +0000)]
Add some extra information about bug #3684.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37031 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #7187: Font painting problems with emulated scaling.
Vincent van Ravesteijn [Wed, 29 Dec 2010 05:35:03 +0000 (05:35 +0000)]
Fix bug #7187: Font painting problems with emulated scaling.

When creating the QFontMetrics object, we should specify a QPaintDevice. 0 is a paint device which is screen-compatible or pixmap-compatible. This makes sure that the correct DPI is used in font metrics calculations.

see also:
http://bugreports.qt.nokia.com/browse/QTBUG-16331.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37030 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoWhen collecting strings from ui-files, transform the html entity '"'
Enrico Forestieri [Wed, 29 Dec 2010 02:00:27 +0000 (02:00 +0000)]
When collecting strings from ui-files, transform the html entity '"'
to '"' for the sake of gettext tools, which are html-agnostic.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37029 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoUpdate it.po
Enrico Forestieri [Tue, 28 Dec 2010 23:56:36 +0000 (23:56 +0000)]
Update it.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37028 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRemerge po-files
Enrico Forestieri [Tue, 28 Dec 2010 23:34:33 +0000 (23:34 +0000)]
Remerge po-files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37027 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agolyx_pot.py cannot deal with raw newlines in ui files. So, use the
Enrico Forestieri [Tue, 28 Dec 2010 23:29:51 +0000 (23:29 +0000)]
lyx_pot.py cannot deal with raw newlines in ui files. So, use the
html entity "
" and then transform it to "\n".

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37026 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago" de.po: update.
Jürgen Spitzmüller [Tue, 28 Dec 2010 17:01:45 +0000 (17:01 +0000)]
" de.po: update.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37023 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* id.po: Update from Waluyo.
Jürgen Spitzmüller [Tue, 28 Dec 2010 16:58:30 +0000 (16:58 +0000)]
* id.po: Update from Waluyo.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37022 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #7194 (Crash closing master while child documents are opened)
Enrico Forestieri [Tue, 28 Dec 2010 15:47:05 +0000 (15:47 +0000)]
Fix bug #7194 (Crash closing master while child documents are opened)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37021 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agomore careful check for mathed to normal text change and vice versa for correct displa...
Stephan Witt [Tue, 28 Dec 2010 13:20:20 +0000 (13:20 +0000)]
more careful check for mathed to normal text change and vice versa for correct display of misspelled markers

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37020 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agorevert change 37018 for PersonalWordList.cpp, commiting it was a mistake
Stephan Witt [Mon, 27 Dec 2010 22:05:37 +0000 (22:05 +0000)]
revert change 37018 for PersonalWordList.cpp, commiting it was a mistake

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37019 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agofix a crash when moving cursor from text to a math inset with spellcheck_continuously on
Stephan Witt [Mon, 27 Dec 2010 21:59:17 +0000 (21:59 +0000)]
fix a crash when moving cursor from text to a math inset with spellcheck_continuously on

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37018 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agofix parsing of test document
Georg Baum [Mon, 27 Dec 2010 21:12:40 +0000 (21:12 +0000)]
fix parsing of test document

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37017 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agofix parsing of \let: tex2lyx must not enclose the arguments with {}.
Georg Baum [Mon, 27 Dec 2010 20:15:24 +0000 (20:15 +0000)]
fix parsing of \let: tex2lyx must not enclose the arguments with {}.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37016 a592a061-630c-0410-9148-cb99ea01b6c8