Commit Graph

3330 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
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
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
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
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
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
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
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
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
Uwe Stöhr
674455d95a elsart.layout: declare it obsolete to distinguish it from the actual one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26712 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 11:23:39 +00:00
Uwe Stöhr
c4570a96da - new layour for the elsarticle class
- remove the template for elsart, as this class is obsolete since elsarticle was released (Elsevier does no longer accept publications with elsart.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26710 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 01:46:48 +00:00
Uwe Stöhr
9245fca907 sigplanconf.layout: some fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26709 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 00:51:11 +00:00
Uwe Stöhr
510f7db943 chkconfig.ltx, LaTeXConfig.lyx: it turns out that the fonts of the psnffs package are not always bundled together, so we (already) check for each of them. I added the 3 missing fonts.
Should also be done in branch, Jürgen?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26706 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 21:50:32 +00:00
Uwe Stöhr
8051296872 elsart.layout: \thanks can have an optional argument, see http://www.mail-archive.com/lyx-users@lists.lyx.org/msg64095.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26704 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 20:25:54 +00:00
Uwe Stöhr
4a75fe0310 update the ACM SIGPLAN files to latest layout and fileformat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26703 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 20:08:29 +00:00
Uwe Stöhr
5a4059e74b new layout and template file for ACM SIGPLAN articles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26700 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 19:47:42 +00:00
Uwe Stöhr
31ac738f7c template files: fileformat and partly other updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26699 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 16:27:56 +00:00
Uwe Stöhr
78d8b107fb UserGuide.lyx: describe the new outliner options
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26688 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-02 23:53:44 +00:00
Uwe Stöhr
e654f6c0de UserGuide.lyx: fix a math superscript
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26687 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-02 23:25:36 +00:00
Uwe Stöhr
8461827e90 example files: fileformat and partly other updates second part
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26674 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 20:26:35 +00:00
Uwe Stöhr
0668df3828 - listings.lyx
- Minipage.lyx

delete both example files as their content is already completely included in the EmbeddedObjects manual
Can also be done for branch Jürgen?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26666 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 01:06:30 +00:00
Uwe Stöhr
d89aa94268 - listings.lyx
- Minipage.lyx

delete both example files as their content is already completely included in the EmbeddedObjects manual
Can also be done for branch Jürgen?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26665 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 01:01:34 +00:00
Uwe Stöhr
6a7a6a2c38 example files: fileformat and partly other general updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26664 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 00:59:36 +00:00
Uwe Stöhr
2f52e63640 Braille.lyx: update the file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26663 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 00:36:58 +00:00
Pavel Sanda
4006e089c9 let the sun shine
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26661 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 23:55:08 +00:00
Pavel Sanda
31b1ad0407 * Make braille.module consistent.
Uwe, please check this patch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26658 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 23:39:24 +00:00
Enrico Forestieri
70939b7e77 Fix bug 5297
http://bugzilla.lyx.org/show_bug.cgi?id=5297


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26657 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 23:29:11 +00:00
Uwe Stöhr
7382c55fd7 add support for TABs in Listings, fileformat change, fixes http://bugzilla.lyx.org/show_bug.cgi?id=3629 , patch by Vincent, lyx2lyx and UI stuff by me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26647 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 18:00:02 +00:00
Jean-Marc Lasgouttes
ede2dbfade Cleanup and layoutification of the InsetInfo class.
* InsetInfo.cpp (InsetInfo): derive from InsetCollapsable instead of 
	InsetText, so that we can use InsetLayout. Should be reverted when the 
	layout stuff is migrated to InsetText or some lower level.
	(initTranslator, nameTranslator): moved outside of the class.
	(name, neverIndent): added.
	(draw, setMouseHover): removed.
	(updateInfo): cleanup and use layout
	(read, setInfo): make sure to reset layout.

	* lib/layouts/stdinsets.inc: add layouts for the various Info insets.
	These are used for both display and output.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26646 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 14:11:40 +00:00
Uwe Stöhr
abe3a94845 UserGuide.lyx: add footnote about PostScript drivers
EmbeddedObjects.lyx: revise the Listings section

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26631 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 23:08:56 +00:00
Pavel Sanda
2ad3979482 Add note.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26625 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 15:58:08 +00:00