Commit Graph

21551 Commits

Author SHA1 Message Date
Richard Heck
d841355b7e Fix bug 5316 properly. The fix is to make the routine that reads a counter
update an existing counter rather than overwrite it.

This turns out to be more complicated than it might seem. There are two 
large parts to the patch. One moves the counter read routine out of TextClass
and into the Counter and Counters classes. The other changes the syntax of 
counters from:
	Counter
		Name whatever
	....
to:
	Counter whatever
	....
This allows us to get the name of the counter right away, so we can decide
whether it is an old one or a new one. So the layout format had to be 
changed (again), with corresponding layout2layout code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26779 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 14:37:28 +00:00
Richard Heck
2b234dad7d Comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26778 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 12:24:31 +00:00
Richard Heck
63644744fd Whitespace and comment cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26777 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 12:16:17 +00:00
Richard Heck
42666d2c92 Re-introduce bug 5316 for the paper class. The previous fix doesn't work
anyway, and this lets us test the new one.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26776 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 12:03:08 +00:00
Jürgen Spitzmüller
a04ba20552 * unicodesymbols:
- force some greek glyphs that are not properly supported by inputenc (part of bug 5239)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26774 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 11:30:53 +00:00
Jean-Marc Lasgouttes
f993482628 fix misleading debug message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26773 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 10:14:41 +00:00
Jürgen Spitzmüller
5b37720625 * linguistics.module:
- some corrections.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26772 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 07:15:01 +00:00
Richard Heck
da624a6d7c Update some of the most out of date bits of the FAQ.
Uwe, I've used change tracking here, too. If you don't want or need to check this, let me know, of just accept all changes and commit it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26771 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 04:47:46 +00:00
Richard Heck
93597a387e Correct out of date hyperlink.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26770 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 04:32:36 +00:00
Richard Heck
0f08a019a2 Update layout documentation.
Uwe, I've used change tracking with this, as we discussed. Please review the changes, accept or whatever, and recommit. You can let the translators know about this, too.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26769 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 04:24:41 +00:00
Richard Heck
7eb60756fd Remove unused code related to InsetEnvironment experiment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26768 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 04:23:26 +00:00
Richard Heck
64baf4dedc Update the rest to format 9, as well. The counter stuff will
need a new format, if we do it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26767 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 03:20:16 +00:00
Richard Heck
244cda474c Add a FIXME. We need to be more careful here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26766 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 03:16:26 +00:00
Richard Heck
be34425828 Update format number for layouts not using counters. The reason
is that the counter info will be updated later, without changing
the format number again.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26765 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 03:00:26 +00:00
Uwe Stöhr
61cb7ccfae elsarticle.lyx: some corrections
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26763 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 01:18:38 +00:00
Uwe Stöhr
347589f7a7 installer: register the file extensions ".lyx15" etc. that you get when exporting to older LyX formats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26762 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 21:48:07 +00:00
Richard Heck
4eadce28f7 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26760 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 19:48:43 +00:00
Richard Heck
ee4db4a133 Adapt stdinsets.inc and linguistics.module to the new InsetLayout framework.
There may be some other changes to be made here still, but they should be
fairly painless. What will need checking are InsetFlex's. Those that set 
MultiPar to true will now default to ForcePlain false and CustomPars true;
those that set MultiPar to false (or don't set it, since that's the default)
will have CustomPars false and ForcePlain true. If that's wrong, the right
tag can be added, but it must be AFTER the MultiPar tag, since MultiPar will
reset CustomPars and ForcePlain, as described in stdinsets.inc.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26759 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 19:46:19 +00:00
Richard Heck
7c61874c70 Forgot this bit from last commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26758 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 19:39:09 +00:00
Richard Heck
94bc5c3086 Further to r26743, add CustomPars and ForcePlain layout tags to InsetLayout,
so that the allowParagraphCustomization() and forcePlainLayout() features can
be independently controlled.

At present, these are active only for InsetFlex. In future, they should be made
active for InsetCollapsable, in general. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26757 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 19:38:22 +00:00
Peter Kümmel
30260f0a4d underlying filesystem is case insensitive
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26756 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 19:37:56 +00:00
Uwe Stöhr
2801a09aaf external_templates: don't hardcode the chess extension as suggested by Vincent and Jürgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26753 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 19:25:31 +00:00
Uwe Stöhr
dfcd6fb7ea make Latvian documents compilable, fixes http://bugzilla.lyx.org/show_bug.cgi?id=5324
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26752 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 19:12:12 +00:00
Pavel Sanda
bba02237ea Typo from Bennett
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26751 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 18:09:51 +00:00
Uwe Stöhr
e50a15959d fr.po: updates by Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26750 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 18:09:24 +00:00
Peter Kümmel
9229214eea fix bug 5332: preferences opens wrong folder for keyboard maps when there is no valid map
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26748 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 14:11:04 +00:00
Uwe Stöhr
e20c1520cc uk.po: updates from Yuri
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26747 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 13:56:37 +00:00
Uwe Stöhr
8d11bc23be BufferParams.cpp: make Lithuanian documents compilable, fixes http://bugzilla.lyx.org/show_bug.cgi?id=5323
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26746 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 13:42:37 +00:00
Peter Kümmel
f4787aa9c9 Use long path names when comparing FileNames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26745 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 12:08:21 +00:00
Peter Kümmel
cab745d661 Fix bug 2235: jpeg capital letters (.JPG) does not work with pdflatex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26744 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 11:51:18 +00:00
Jürgen Spitzmüller
e7b99324ca * InsetFlex.h:
- correct the enabling of paragraph and layout changes as far as this
	  is possible with the current interface (see FIXMEs).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26743 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 11:00:48 +00:00
Jürgen Spitzmüller
f9e0957eb8 * InsetIndex.h:
- disallow layout and paragraph changes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26742 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 10:44:30 +00:00
Jürgen Spitzmüller
19372cb052 * InsetBox.h (allowParagraphCustomization):
- fix logic, constify.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26741 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 10:22:53 +00:00
Jürgen Spitzmüller
e996067afa * InsetCollapsable.cpp (getStatus):
- this code is now in InsetText.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26740 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 10:05:18 +00:00
Jürgen Spitzmüller
a0e6594ced fix bug 3434.
* InsetText.cpp (getStatus):
	- correctly disable layout and paragraph settings.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26739 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 09:51:28 +00:00
Enrico Forestieri
964a4fac79 Fix bug 1784
http://bugzilla.lyx.org/show_bug.cgi?id=1784


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26737 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 00:50:39 +00:00
Uwe Stöhr
8b165c9c39 modernCV.lyx: correct my last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26735 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 00:35:59 +00:00
Uwe Stöhr
c36e8ba51b modernCV.lyx: update the file as then nasty spacing bug is fixed since version 0.7 of moderncv
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26734 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 00:32:03 +00:00
Uwe Stöhr
ff832e4eab - external_templates: fix http://bugzilla.lyx.org/show_bug.cgi?id=5320, patch by Vincent
- chessgame.lyx: adapt file to the change

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26733 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 23:38:16 +00:00
Richard Heck
0f8e99e17c Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26732 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 17:35:00 +00:00
Richard Heck
90254ec5eb Fix the paper class, as well.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26731 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 16:27:46 +00:00
Richard Heck
363d662da7 The stdcounters.inc file must be loaded early.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26730 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 16:15:26 +00:00
Peter Kümmel
0d75676233 don't reinvent the wheel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26729 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 15:57:26 +00:00
Uwe Stöhr
767e024214 - po-file remerge
- de.po updates

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26728 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 14:21:40 +00:00
Uwe Stöhr
087f580db9 elsart.layout: adapt naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26725 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 14:17:31 +00:00
Jürgen Spitzmüller
4d3aa2d69d * elsart.layout:
- less confusing categorization.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26723 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 13:35:10 +00:00
Uwe Stöhr
4c6058dcd5 EmbeddedObjects.lyx: describe the new tabulator size listings option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26721 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 13:32:47 +00:00
Uwe Stöhr
aeb46802dc chessgame.lyx: update fileformat and replace some ERT
But, the document is not compilable! (also not in 1.5 branch)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26720 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 12:33:32 +00:00
Peter Kümmel
e3a494d322 fix bug 4693, Exporting files doesn't create the files in the correct folder
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26718 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 12:05:06 +00:00
Uwe Stöhr
7b6bf2ec9b - iopart.layout: fix some bugs
- iop-article.lyx: fix 2 typos

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26713 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 11:32:06 +00:00