]> git.lyx.org Git - lyx.git/log
lyx.git
14 years ago* biblioExample.bib: add missing entry (used in tufte-handout).
Jürgen Spitzmüller [Tue, 3 Nov 2009 16:38:35 +0000 (16:38 +0000)]
* biblioExample.bib: add missing entry (used in tufte-handout).

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

14 years agoFix (again) bug #5754: Caption inset not dissolved when unsetting longtable caption...
Vincent van Ravesteijn [Tue, 3 Nov 2009 13:06:52 +0000 (13:06 +0000)]
Fix (again) bug #5754: Caption inset not dissolved when unsetting longtable caption row.

I forgot that inset-begin jumps out of the Inset if the cursor is already at the begin.

see r31823.

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

14 years ago* tufte-handout.layout: load article.layout after tufte-book.layout, since the latter...
Jürgen Spitzmüller [Tue, 3 Nov 2009 11:52:35 +0000 (11:52 +0000)]
* tufte-handout.layout: load article.layout after tufte-book.layout, since the latter disables the Abstract, which is valid in the handout class.

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

14 years ago* tufte-book.layout: tufte provides hyperref.
Jürgen Spitzmüller [Tue, 3 Nov 2009 11:26:45 +0000 (11:26 +0000)]
* tufte-book.layout: tufte provides hyperref.

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

14 years agoFix gcc warnings.
Abdelrazak Younes [Mon, 2 Nov 2009 15:20:36 +0000 (15:20 +0000)]
Fix gcc warnings.

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

14 years agoFix gcc warning.
Abdelrazak Younes [Mon, 2 Nov 2009 15:15:47 +0000 (15:15 +0000)]
Fix gcc warning.
Richard, please check this out!

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

14 years agoFix bug #6240: Adding table row causes exception that triggers infinite loop in code.
Vincent van Ravesteijn [Mon, 2 Nov 2009 07:25:05 +0000 (07:25 +0000)]
Fix bug #6240: Adding table row causes exception that triggers infinite loop in code.

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

14 years agoFix bug #6144: Remover RegExp from them Menu and give the user the possibility to...
Vincent van Ravesteijn [Mon, 2 Nov 2009 06:55:40 +0000 (06:55 +0000)]
Fix bug #6144: Remover RegExp from them Menu and give the user the possibility to insert an empty RegExp in the Search field by choosing User defined.. in the Match.. combobox (what use does this option have ?).

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

14 years agoMove CollapseStatus from Inset to InsetCollapsable (where it belongs IMO).
Vincent van Ravesteijn [Mon, 2 Nov 2009 05:03:09 +0000 (05:03 +0000)]
Move CollapseStatus from Inset to InsetCollapsable (where it belongs IMO).

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

14 years agoFix (partly) bug #5754: Caption inset not dissolved when unsetting longtable caption...
Vincent van Ravesteijn [Mon, 2 Nov 2009 04:31:06 +0000 (04:31 +0000)]
Fix (partly) bug #5754: Caption inset not dissolved when unsetting longtable caption row.

This removes the caption-inset, which is made possible by the clean-up of the LFUN_INSET_DISSOLVE (see r31822 and r31756). This assumes that there is nothing else in the row than the caption inset. I think that should be the case, but this is not yet guaranteed.

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

14 years agoFix some remains of handling INSET_DISSOLVE (see r31756):
Vincent van Ravesteijn [Mon, 2 Nov 2009 04:01:45 +0000 (04:01 +0000)]
Fix some remains of handling INSET_DISSOLVE (see r31756):
- change cur.inset().nargs() to nargs() as we might actually be in the inset called nextInset(),
- set the enabling flag of the status struct, don't return this value,
- return whether we handled this request.

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

14 years agoFix bug #5063: We don't want the combo boxes to adjust to the contents. Also, make...
Vincent van Ravesteijn [Mon, 2 Nov 2009 02:21:10 +0000 (02:21 +0000)]
Fix bug #5063: We don't want the combo boxes to adjust to the contents. Also, make the logic exactly the same for all comboboxes.

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

14 years agoGuiBox.cpp: fix typo is comment
Uwe Stöhr [Sun, 1 Nov 2009 23:23:54 +0000 (23:23 +0000)]
GuiBox.cpp: fix typo is comment

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

14 years agoFix bug #6297: Use of Fraktur font in boxed equation does not automatically include...
Vincent van Ravesteijn [Sun, 1 Nov 2009 22:16:49 +0000 (22:16 +0000)]
Fix bug #6297: Use of Fraktur font in boxed equation does not automatically include amssymb.

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

14 years agotufte-handout.layout: remove code that is already inherited from tufte-book.layout
Uwe Stöhr [Sun, 1 Nov 2009 02:49:05 +0000 (02:49 +0000)]
tufte-handout.layout: remove code that is already inherited from tufte-book.layout

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

14 years agoFix r31814: we have to close the tab not hide it. Also rename the closeCurrentTab...
Vincent van Ravesteijn [Sat, 31 Oct 2009 18:14:21 +0000 (18:14 +0000)]
Fix r31814: we have to close the tab not hide it. Also rename the closeCurrentTab() function to hideCurrentTab().

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

14 years agoClose the correct tab when clicking one while the active tab is in another tabworkare...
Vincent van Ravesteijn [Sat, 31 Oct 2009 18:10:18 +0000 (18:10 +0000)]
Close the correct tab when clicking one while the active tab is in another tabworkarea. This was fixed in r31072 for the cornerbutton; now it is fixed for the buttons on the tabs themselves.

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

14 years agoFrench UserGuide.lyx: correct a string as proposed by Abdel: http://www.mail-archive...
Uwe Stöhr [Sat, 31 Oct 2009 01:00:29 +0000 (01:00 +0000)]
French UserGuide.lyx: correct a string as proposed by Abdel: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg155387.html

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

14 years agoDo not issue the warning introduced in r31809 if we are setting the parent for the...
Vincent van Ravesteijn [Fri, 30 Oct 2009 15:33:54 +0000 (15:33 +0000)]
Do not issue the warning introduced in r31809 if we are setting the parent for the first time, or we are removing the parent.

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

14 years agoIssue a warning if a document has two parents. We should do something smart then...
Vincent van Ravesteijn [Fri, 30 Oct 2009 15:24:35 +0000 (15:24 +0000)]
Issue a warning if a document has two parents. We should do something smart then, but what?

- Do we want to ask the user which of the parents he would like to be the document's parent ?
- Do we want to disable any functionality related to parents ? Like references, bibliography, document outline etc.

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

14 years ago* LyXaction.cpp: typo and an improved description for LFUN_COMMAND_EXECUTE.
Vincent van Ravesteijn [Fri, 30 Oct 2009 15:14:23 +0000 (15:14 +0000)]
* LyXaction.cpp: typo and an improved description for LFUN_COMMAND_EXECUTE.

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

14 years agoFix LyX after r31772 (bug #6294).
Vincent van Ravesteijn [Fri, 30 Oct 2009 14:57:21 +0000 (14:57 +0000)]
Fix LyX after r31772 (bug #6294).

The declaration should match the definition.

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

14 years agoAdded Spacing.cpp to the list for tex2lyx too
Kornel Benko [Fri, 30 Oct 2009 06:06:28 +0000 (06:06 +0000)]
Added Spacing.cpp to the list for tex2lyx too

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

14 years agoUserGuide.lyx: "Close Tab Group" was renamed to "Close Current View"
Uwe Stöhr [Fri, 30 Oct 2009 03:33:52 +0000 (03:33 +0000)]
UserGuide.lyx: "Close Tab Group" was renamed to "Close Current View"

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

14 years agotufte-handout.lyx:
Uwe Stöhr [Fri, 30 Oct 2009 02:12:50 +0000 (02:12 +0000)]
tufte-handout.lyx:
- part is a valid section heading, (if you don't use it, you even won't see PDF bookmarks in the output)
- use starred section headings since the tufte classes by default omit numbers of section headings

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

14 years agoStandard Layout should be MultiPar. Now, because LFUN_BREAK_PARAGRAPHS really uses...
Vincent van Ravesteijn [Fri, 30 Oct 2009 00:33:56 +0000 (00:33 +0000)]
Standard Layout should be MultiPar. Now, because LFUN_BREAK_PARAGRAPHS really uses the MultiPar property, it is necessary to set it correctly.

see r31793.

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

14 years agoFix part of bug #6251: When closing a buffer, only close the direct children. All...
Vincent van Ravesteijn [Thu, 29 Oct 2009 23:28:08 +0000 (23:28 +0000)]
Fix part of bug #6251: When closing a buffer, only close the direct children. All grandchildren will be closed recursively by the children _and_ before it will be close by the grandparent.

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

14 years agoDissect closeWorkArea and closeBuffer.
Vincent van Ravesteijn [Thu, 29 Oct 2009 23:22:50 +0000 (23:22 +0000)]
Dissect closeWorkArea and closeBuffer.

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

14 years agoRemove parameter from cur.reset(). All calls had buffer().inset() as parameter.
Vincent van Ravesteijn [Thu, 29 Oct 2009 22:46:04 +0000 (22:46 +0000)]
Remove parameter from cur.reset(). All calls had buffer().inset() as parameter.

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

14 years agoThese shouldn't be there as they have nothing to do with the layout of the Inset.
Vincent van Ravesteijn [Thu, 29 Oct 2009 22:13:48 +0000 (22:13 +0000)]
These shouldn't be there as they have nothing to do with the layout of the Inset.

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

14 years agoText3.cpp: fix unintended fall-throughs.
Vincent van Ravesteijn [Thu, 29 Oct 2009 22:08:05 +0000 (22:08 +0000)]
Text3.cpp: fix unintended fall-throughs.

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

14 years agoMove the call to LFUN_SET_COLOR from the handling of LFUN_BRANCH_ADD_INSERT to LFUN_B...
Vincent van Ravesteijn [Thu, 29 Oct 2009 22:06:27 +0000 (22:06 +0000)]
Move the call to LFUN_SET_COLOR from the handling of LFUN_BRANCH_ADD_INSERT to LFUN_BRANCH_ADD. Now, the sequence "branch-add A" + "branch-insert A" doesn't result in an undefined branch Inset in the document.

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

14 years agoAnother fix for bug #5061: A slight correction of the patch shown described in http...
Vincent van Ravesteijn [Thu, 29 Oct 2009 21:02:19 +0000 (21:02 +0000)]
Another fix for bug #5061: A slight correction of the patch shown described in http://permalink.gmane.org/gmane.editors.lyx.devel/113507.

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

14 years agoFix bug #6292: Ensure the current language is set correctly after dissolving an Inset.
Vincent van Ravesteijn [Thu, 29 Oct 2009 13:36:22 +0000 (13:36 +0000)]
Fix bug #6292: Ensure the current language is set correctly after dissolving an Inset.

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

14 years agoBetter fix for bug #6270. The outer braces are swallowed only for user
Enrico Forestieri [Thu, 29 Oct 2009 13:24:02 +0000 (13:24 +0000)]
Better fix for bug #6270. The outer braces are swallowed only for user
defined macros, so better use a brace inset only when strictly needed.

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

14 years agotufte-handout.layout: the layout inherits everything from tufte-book, therefore remov...
Uwe Stöhr [Thu, 29 Oct 2009 02:59:06 +0000 (02:59 +0000)]
tufte-handout.layout: the layout inherits everything from tufte-book, therefore remove unused code and load the tufte-book.layout

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

14 years agoscons/scons_manifest.py: remove unneeded includes
Uwe Stöhr [Wed, 28 Oct 2009 23:51:42 +0000 (23:51 +0000)]
scons/scons_manifest.py: remove unneeded includes

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

14 years agoCompareUi: set scaledContents, resave in 4.4 designer
Pavel Sanda [Wed, 28 Oct 2009 18:35:46 +0000 (18:35 +0000)]
CompareUi: set scaledContents, resave in 4.4 designer

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

14 years agoremove special TEX2LYX code in Spacing,h
Jean-Marc Lasgouttes [Wed, 28 Oct 2009 10:07:10 +0000 (10:07 +0000)]
remove special TEX2LYX code in Spacing,h

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

14 years agoAdded FontInfo.cpp to tex2lyx sources to make it compilable again
Kornel Benko [Wed, 28 Oct 2009 06:18:56 +0000 (06:18 +0000)]
Added FontInfo.cpp to tex2lyx sources to make it compilable again

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

14 years agoscons_manifest.py: fix SCons after r31772
Uwe Stöhr [Tue, 27 Oct 2009 23:07:50 +0000 (23:07 +0000)]
scons_manifest.py: fix SCons after r31772

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

14 years agoWhat we mean by a label in HTML output and what LyX means by a label
Richard Heck [Tue, 27 Oct 2009 19:51:30 +0000 (19:51 +0000)]
What we mean by a label in HTML output and what LyX means by a label
aren't the same thing, so we won't be generating default CSS for those.

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

14 years agoWe should have a default tag for InsetLayout, too, I think. So here it is.
Richard Heck [Tue, 27 Oct 2009 19:46:47 +0000 (19:46 +0000)]
We should have a default tag for InsetLayout, too, I think. So here it is.

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

14 years agoPut the InsetLayout default CSS stuff to use.
Richard Heck [Tue, 27 Oct 2009 19:17:52 +0000 (19:17 +0000)]
Put the InsetLayout default CSS stuff to use.

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

14 years agoShouldn't have removed this.
Richard Heck [Tue, 27 Oct 2009 19:17:44 +0000 (19:17 +0000)]
Shouldn't have removed this.

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

14 years agoUpdate layout format.
Richard Heck [Tue, 27 Oct 2009 19:03:30 +0000 (19:03 +0000)]
Update layout format.

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

14 years agoA bit more cleanup, after JMarc.
Richard Heck [Tue, 27 Oct 2009 18:23:53 +0000 (18:23 +0000)]
A bit more cleanup, after JMarc.

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

14 years agoMove some functions that only required a FontInfo parameter from Font.*
Jean-Marc Lasgouttes [Tue, 27 Oct 2009 16:16:15 +0000 (16:16 +0000)]
Move some functions that only required a FontInfo parameter from Font.*
to FontInfo.*

This allows tex2lyx to use the plain FontInfo object (via Layout), and to remove
several '#ifdef TEX2LYX' in the code

Reorder a bit the makefile in tex2lyx

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

14 years agoDefault CSS for InsetLayout.
Richard Heck [Tue, 27 Oct 2009 14:33:01 +0000 (14:33 +0000)]
Default CSS for InsetLayout.

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

14 years agoForgot this in a previous commit.
Richard Heck [Tue, 27 Oct 2009 14:32:45 +0000 (14:32 +0000)]
Forgot this in a previous commit.

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

14 years agoRenaming.
Richard Heck [Tue, 27 Oct 2009 14:14:24 +0000 (14:14 +0000)]
Renaming.

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

14 years agoWe need to do some cleanup on the layout name before we can
Richard Heck [Tue, 27 Oct 2009 13:58:23 +0000 (13:58 +0000)]
We need to do some cleanup on the layout name before we can
use it as a class name.

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

14 years agoFix up some of the HTML tags now that we have default CSS.
Richard Heck [Tue, 27 Oct 2009 13:39:39 +0000 (13:39 +0000)]
Fix up some of the HTML tags now that we have default CSS.
There's more to be done here.

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

14 years agoAdd routine to create default CSS for layouts.
Richard Heck [Tue, 27 Oct 2009 13:30:53 +0000 (13:30 +0000)]
Add routine to create default CSS for layouts.

JMarc (or others), please check the #ifdef here. If you'd prefer to
do this some other way, let me know.

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

14 years agoRename some things to improve clarity.
Richard Heck [Tue, 27 Oct 2009 13:29:26 +0000 (13:29 +0000)]
Rename some things to improve clarity.

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

14 years agoSince LyX uses "INHERIT" as a default, we do not want it for HTML.
Richard Heck [Tue, 27 Oct 2009 13:27:26 +0000 (13:27 +0000)]
Since LyX uses "INHERIT" as a default, we do not want it for HTML.
Also reformat things.

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

14 years agoFix typo.
Richard Heck [Tue, 27 Oct 2009 13:04:13 +0000 (13:04 +0000)]
Fix typo.

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

14 years agoClearer function names, thanks to Abdel.
Richard Heck [Tue, 27 Oct 2009 12:13:34 +0000 (12:13 +0000)]
Clearer function names, thanks to Abdel.

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

14 years agotufte-book.layout: correct date of last change
Uwe Stöhr [Tue, 27 Oct 2009 03:14:27 +0000 (03:14 +0000)]
tufte-book.layout: correct date of last change

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

14 years ago- tufte-handout: new layout
Uwe Stöhr [Tue, 27 Oct 2009 03:12:18 +0000 (03:12 +0000)]
- tufte-handout: new layout
- tufte-book.layout; synchronize with the tufte-handout.layout
- tufte-book.lyx: add important note and improve the documentation according the example file for the similar tufte-handout class
- biblioExample.bib: new entry used by the tufte example files

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

14 years agonew layout: tufte-book
Uwe Stöhr [Tue, 27 Oct 2009 01:46:16 +0000 (01:46 +0000)]
new layout: tufte-book

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

14 years agoFix bug #6193: Crash when navigating away from an empty super/subscript.
Vincent van Ravesteijn [Tue, 27 Oct 2009 00:11:56 +0000 (00:11 +0000)]
Fix bug #6193: Crash when navigating away from an empty super/subscript.

I still don't know why it is that bad that this call is made below, but this seems to fix the problem.

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

14 years agoMove (part of) LFUN_DISSOLVE_INSET into InsetText.
Vincent van Ravesteijn [Mon, 26 Oct 2009 23:49:43 +0000 (23:49 +0000)]
Move (part of) LFUN_DISSOLVE_INSET into InsetText.
- put the InsetFlex specific part into InsetFlex,
- honor the argument given to the LFUN also for normal Insets as the description already stated,
- fix bug #6285: context menu action goes to the wrong inset.

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

14 years ago* InsetTabular.h: Whitespace.
Vincent van Ravesteijn [Mon, 26 Oct 2009 22:21:07 +0000 (22:21 +0000)]
* InsetTabular.h: Whitespace.

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

14 years agoInitial work for the layout2css stuff. Basically, we have a routine
Richard Heck [Mon, 26 Oct 2009 21:35:35 +0000 (21:35 +0000)]
Initial work for the layout2css stuff. Basically, we have a routine
here, and lots of support, that writes font information to CSS format.

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

14 years agoTry to deal with one of the big problems here, namely, that we
Richard Heck [Mon, 26 Oct 2009 20:53:46 +0000 (20:53 +0000)]
Try to deal with one of the big problems here, namely, that we
can't just output Standard as <p>, or anything else, because we
have structures like:
  this is text <branch>and more text</branch> and more
which would then come out as:
  <p>this is text <p>and more text</p> and more</p>
So we use the OutputParam html_in_par to try to signal when we
are already in a paragraph. It is expected that we will need to
do some bug fixing here.

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

14 years agoRename one output param and add a new one.
Richard Heck [Mon, 26 Oct 2009 20:47:12 +0000 (20:47 +0000)]
Rename one output param and add a new one.

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

14 years agoMove the defaults to Layout.
Richard Heck [Mon, 26 Oct 2009 20:45:29 +0000 (20:45 +0000)]
Move the defaults to Layout.

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

14 years agoSome framework stuff for default-generated CSS.
Richard Heck [Mon, 26 Oct 2009 16:13:09 +0000 (16:13 +0000)]
Some framework stuff for default-generated CSS.

The actual generation is still to come.

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

14 years agofix linking of Compare.o with autotools
Jean-Marc Lasgouttes [Mon, 26 Oct 2009 15:45:33 +0000 (15:45 +0000)]
fix linking of Compare.o with autotools

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

14 years agofix Ui of GuiCompare to work with Qt 4.2
Jean-Marc Lasgouttes [Mon, 26 Oct 2009 15:45:01 +0000 (15:45 +0000)]
fix Ui of GuiCompare to work with Qt 4.2

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

14 years agoAllow the suppression of LyX's own labels.
Richard Heck [Mon, 26 Oct 2009 02:51:51 +0000 (02:51 +0000)]
Allow the suppression of LyX's own labels.

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

14 years agoDon't wrap empty labels.
Richard Heck [Mon, 26 Oct 2009 02:37:31 +0000 (02:37 +0000)]
Don't wrap empty labels.

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

14 years agoThis commit does two things.
Richard Heck [Mon, 26 Oct 2009 02:21:59 +0000 (02:21 +0000)]
This commit does two things.

First, it introduces some sensible defaults for the html
output; these are described in layout.h and implemented in
the openTag, etc, routines.

Second, it modifies the way standard environments are handled.
The previous version was outputing the label for each paragraph
of e.g. a theorem.

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

14 years agoRevert previous commit.
Richard Heck [Mon, 26 Oct 2009 02:19:07 +0000 (02:19 +0000)]
Revert previous commit.

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

14 years ago- UserGuide.lyx: describe the new features
Uwe Stöhr [Mon, 26 Oct 2009 01:38:40 +0000 (01:38 +0000)]
- UserGuide.lyx: describe the new features
  - preview size
  - option for pilcrows
- English UserGuide.lyx: accept changes

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

14 years agoSome initial HTML for theorem environments.
Richard Heck [Mon, 26 Oct 2009 01:04:31 +0000 (01:04 +0000)]
Some initial HTML for theorem environments.

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

14 years agoRemove const modifier from the correct function.
Vincent van Ravesteijn [Sun, 25 Oct 2009 14:00:29 +0000 (14:00 +0000)]
Remove const modifier from the correct function.

see r31737.

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

14 years agoDon't set the read-only flags of the documents. The GuiCompare is modal anyway, so...
Vincent van Ravesteijn [Sun, 25 Oct 2009 13:56:44 +0000 (13:56 +0000)]
Don't set the read-only flags of the documents. The GuiCompare is modal anyway, so the user shouldn't be able to change something.

This reverts part of r31736.

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

14 years agoCall the Compare thread from the GuiCompare dialog.
Vincent van Ravesteijn [Sun, 25 Oct 2009 13:41:46 +0000 (13:41 +0000)]
Call the Compare thread from the GuiCompare dialog.

Furthermore:
- increase safety,
- improve error handling,
- minor cleanups,
- set documents to read-only while running the thread.

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

14 years agoAdds the threaded Compare class, which will eventually do the comparison between...
Vincent van Ravesteijn [Sun, 25 Oct 2009 10:43:16 +0000 (10:43 +0000)]
Adds the threaded Compare class, which will eventually do the comparison between two documents.

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

14 years agoFix warnings
Pavel Sanda [Sun, 25 Oct 2009 09:28:02 +0000 (09:28 +0000)]
Fix warnings

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

14 years ago* PrefDisplayUi.ui: add tooltip.
Jürgen Spitzmüller [Sun, 25 Oct 2009 09:15:18 +0000 (09:15 +0000)]
* PrefDisplayUi.ui: add tooltip.

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

14 years agoA couple comments and some very minor cleanup.
Richard Heck [Sun, 25 Oct 2009 02:22:36 +0000 (02:22 +0000)]
A couple comments and some very minor cleanup.

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

14 years agoAdd an HTML output flavor, and do something with it.
Richard Heck [Sun, 25 Oct 2009 01:48:14 +0000 (01:48 +0000)]
Add an HTML output flavor, and do something with it.

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

14 years agoMore typos.
Richard Heck [Sat, 24 Oct 2009 20:25:35 +0000 (20:25 +0000)]
More typos.

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

14 years agoFix a couple typos.
Richard Heck [Sat, 24 Oct 2009 20:21:54 +0000 (20:21 +0000)]
Fix a couple typos.

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

14 years agoscons_manifest.py: fix SCons
Uwe Stöhr [Sat, 24 Oct 2009 18:21:39 +0000 (18:21 +0000)]
scons_manifest.py: fix SCons

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

14 years ago* Makefile.am: add missing file
Jürgen Spitzmüller [Sat, 24 Oct 2009 17:06:53 +0000 (17:06 +0000)]
* Makefile.am: add missing file

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

14 years agoChange to camelbumpstyle.
Vincent van Ravesteijn [Sat, 24 Oct 2009 17:04:09 +0000 (17:04 +0000)]
Change to camelbumpstyle.

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

14 years agoRemove unused compile script that dates back to my initial Qt4 port...
Abdelrazak Younes [Sat, 24 Oct 2009 16:49:42 +0000 (16:49 +0000)]
Remove unused compile script that dates back to my initial Qt4 port...

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

14 years agoMake trunk compile for now.
Vincent van Ravesteijn [Sat, 24 Oct 2009 16:17:24 +0000 (16:17 +0000)]
Make trunk compile for now.

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

14 years agoset eol-styles.
Vincent van Ravesteijn [Sat, 24 Oct 2009 16:15:28 +0000 (16:15 +0000)]
set eol-styles.

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

14 years agoFix another problem related to bug #6284.
Enrico Forestieri [Sat, 24 Oct 2009 15:54:03 +0000 (15:54 +0000)]
Fix another problem related to bug #6284.
When pasting "# a" within \mbox{} through Ctrl+Shift+V, the space is
correctly retained. However, using Ctrl+Shift+V for pasting "^ a" into
\mbox{}, the space gets swallowed. This is fixed by this patch.

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

14 years agoAdds the user interface for the new Comparison feature.
Vincent van Ravesteijn [Sat, 24 Oct 2009 15:47:05 +0000 (15:47 +0000)]
Adds the user interface for the new Comparison feature.

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

14 years agoAdd a global accessible function loadIfNeeded().
Vincent van Ravesteijn [Sat, 24 Oct 2009 14:57:28 +0000 (14:57 +0000)]
Add a global accessible function loadIfNeeded().

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

14 years agoChanges in buffer_funcs.cpp::newUnnamedFile():
Vincent van Ravesteijn [Sat, 24 Oct 2009 14:20:00 +0000 (14:20 +0000)]
Changes in buffer_funcs.cpp::newUnnamedFile():
- the prefix can now be supplied,
- there can be more types of unnamed files,
- the code is made more concise,
- templatefile parameter is made optional,
- "newfile" is made translatable.

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

14 years agoFix a typo and clarify the logic around the return value. Note that this
Richard Heck [Sat, 24 Oct 2009 12:31:59 +0000 (12:31 +0000)]
Fix a typo and clarify the logic around the return value. Note that this
would allow us to do something after copying, if we should later want to
do that.

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

14 years agoext_copy.py: fix #6234 for trunk
Uwe Stöhr [Sat, 24 Oct 2009 00:55:28 +0000 (00:55 +0000)]
ext_copy.py: fix #6234 for trunk

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

14 years agoFix bug #6280: Wrong context menu is opened in an auto-opened inset.
Vincent van Ravesteijn [Sat, 24 Oct 2009 00:02:41 +0000 (00:02 +0000)]
Fix bug #6280: Wrong context menu is opened in an auto-opened inset.

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