Commit Graph

595 Commits

Author SHA1 Message Date
Richard Heck
6033b020f3 Cosmetics, mostly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25490 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 18:50:50 +00:00
Richard Heck
d48038c87d Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25489 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 18:22:59 +00:00
Richard Heck
166e3b8c0f Remove the FIXME.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25488 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 18:22:28 +00:00
Richard Heck
bc6c3d91ae Fix up convert_subfig a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25487 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 18:21:53 +00:00
Richard Heck
28fcaad580 Fix lstparams reversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25486 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 18:17:16 +00:00
Richard Heck
e07caa5f52 Fix up some of the reversion and conversion routines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25485 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 18:09:29 +00:00
Richard Heck
175959580f Fix include reversion routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25484 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 17:41:56 +00:00
Richard Heck
3a2153b287 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25482 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 17:23:51 +00:00
Richard Heck
13f95530be Fix whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25478 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 16:22:55 +00:00
Richard Heck
10f7b8cb35 Fix bug 4984: Revert Flex URL to InsetURL.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25477 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 16:12:32 +00:00
Uwe Stöhr
e2e78fa20a - support for polytonic Greek, fileformat incremented to 338, fixes bug 4969, patch by me and Jürgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25356 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-22 23:21:46 +00:00
Jürgen Spitzmüller
ae760fa72b * Fix lyx2lyx and thereby make install (bug 4953).
* Whitespace.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25259 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 14:06:14 +00:00
Abdelrazak Younes
4a1be58591 - Simplify prefs, graphics and external display options which are now true or false.
- the display combo in the prefs, external and graphics dialogs are gone
- the lyxrc display_graphics option now overrides any local inset display option
- The external template format has a new tag: Preview
- format incremented to 337


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25245 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-13 07:34:55 +00:00
Jürgen Spitzmüller
0f07e83733 Wrap figures can also have subfloats. I simply forgot that when implementing subfloat support.
Well, here it is. Fixes one part of bug 4927. There's a remaining problem on conversion of onld subfigs with LaTeX content (e.g. \label). I'll fix that in a second step.

There's 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25148 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 16:05:52 +00:00
Jürgen Spitzmüller
d7eaaba900 ** support for CJK font argument. File Format change **
* src/BufferParams.{cpp,h}:
	- new param fontsCJK (font_cjk).

* src/output_latex.cpp:
	- use fontsCJK param.

* src/Buffer.cpp:
	- increase file format

* src/frontends/qt4/GuiDocument.cpp:
* src/frontends/qt4/ui/FontUi.ui:
	- GUI for the CJK font param

* lib/lyx2lyx/lyx_1_6.py:
	- remove font_cjk param on reversion.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25135 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 06:18:34 +00:00
Richard Heck
592dbb3284 The UserGuide now exports happily to 1.5.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25131 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 05:00:53 +00:00
Richard Heck
d12eea121c Conversion and reversion routines for Standard --> PlainLayout --> Plain Layout business.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25130 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 03:54:18 +00:00
Richard Heck
a54ede0aff Some comments on future cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25126 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 22:37:09 +00:00
Richard Heck
9990563fbb The 1.5.x User's Guide now loads in 1.6.svn.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25089 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 00:41:38 +00:00
Richard Heck
66799e41fd Another typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25087 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 00:05:03 +00:00
Richard Heck
d866df82ea Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25086 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 23:24:04 +00:00
Richard Heck
e41875173f Add some LaTeX <--> LyXText conversions.
A lot more of this needs to be done.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25081 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 19:47:18 +00:00
Richard Heck
a97fbaa685 More work fixing lyx2lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25080 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 19:42:53 +00:00
Richard Heck
0bc17b0c65 Really get revert_nocite working.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25058 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 19:59:15 +00:00
Richard Heck
44d46835fe Fix the increment of i here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25055 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 15:01:28 +00:00
Richard Heck
f7db6b62aa Revert inadvertent commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25054 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 15:00:23 +00:00
Richard Heck
9ae7fa2f36 Just a comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25053 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 14:57:33 +00:00
Richard Heck
3d4f1ca1bc Make revert_nocite work again. Similar issues with ranges and changing indices.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25052 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 14:55:47 +00:00
Richard Heck
cefb583528 Similar range-->while stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25051 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 14:27:43 +00:00
Richard Heck
843fa219b6 Fix convert_spaceinset again.
The problem here is that
  for i in range(len(document.body)):
sets the range BEFORE we do any of our manipulations. But those manipulations 
can make document.body longer. As a result, we can fail to test some lines.
Instead, use:
  while i < len(document.body):
and increment i in the while loop.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25050 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 14:22:11 +00:00
Jürgen Spitzmüller
16ad4a928d * lib/lyx2lyx/lyx_1_6.py:
- revert wrong commit (rev. 25033)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25048 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 10:24:27 +00:00
Richard Heck
983c002dd5 More lyx2lyx fixes. Same issue.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25041 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 02:26:56 +00:00
Richard Heck
180b205049 More fixes, same issue.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25040 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 02:22:44 +00:00
Richard Heck
b40db6b561 Fix revert btprint lyx2lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25039 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 02:21:29 +00:00
Richard Heck
74141d4f72 Fixes for the fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25038 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 02:18:51 +00:00
Richard Heck
3e70c177a9 Fix for revert_nocite lyx2lyx. Warnings as before.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25037 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 02:14:15 +00:00
Richard Heck
f7158c0d29 More lyx2lyx fixes. Same warning as before.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25036 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 02:04:33 +00:00
Richard Heck
72a84b1c09 Fix framed notes lyx2lyx reversion. Again, this was a mechanical fix. It should be checked.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25035 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 01:50:39 +00:00
Richard Heck
d70f3a1f3b Fix framed notes lyx2lyx.
Note that this is a mechanical fix. Someone should check that it works.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25034 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 01:45:19 +00:00
Richard Heck
24165dfe3d Fix a bunch of backslashes.
If this is wrong, someone revert it. But I think it must be right.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25033 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 01:37:43 +00:00
Richard Heck
07d7b03773 Fix the encoding.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25032 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 01:33:17 +00:00
Richard Heck
b5ce6e4bda Fix space inset lyx2lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25031 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 01:28:31 +00:00
Richard Heck
2a47858dda Fix remaining issues with InsetSpace. The identifier "Space" used in the .lyx
file has been changed to "space" to match the identifier used for the inset in
Inset.cpp and for the dialog in GuiView.cpp.

In future, we will want to get a similar uniformity elsewhere: The identifier
used in the LyX file should match the one used as inset identifier. The easy
way to do this, in the code, is to have insets write themselves this way:
	os << insetName(lyxCode()) << " ";
rather than at present:
	os << "space ";
Similar things could then happen elsewhere. E.g., if the dialog names are in
sync with the inset names, then we could do something like:
	hideDialogs(insetName(lyxCode()), this);
rather than
	hideDialogs("space", this);
and perhaps even put that into the Inset destructor rather than have specific
versions in each inset---with a test for whether there is such a dialog, of
course.

But this is all for later.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25016 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-30 15:38:43 +00:00
Uwe Stöhr
b2b4cb1fe3 BufferParams.cpp: fix the order for page sizes, fileformat change is needed, fixes http://bugzilla.lyx.org/show_bug.cgi?id=4868
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24792 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-15 22:54:13 +00:00
Jürgen Spitzmüller
4144ef2223 * lib/lyx2lyx/lyx_1_6.py:
- more work on InsetIndex reversion. Now InsetSpecialChar and font switches are
	  handled (within limits)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24716 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-11 08:17:14 +00:00
Jürgen Spitzmüller
27ac72bfa9 * lib/lyx2lyx/lyx_1_6.py:
- more work on InsetIndex reversion. Still lots left to do.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24711 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-10 17:19:26 +00:00
Jürgen Spitzmüller
e2ed743c23 * lib/lyx2lyx/lyx_1_6.py:
- partial fix of bug 4838 (reversion of new index inset to 1.5)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24697 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-09 10:53:08 +00:00
Jürgen Spitzmüller
7d5fd32778 * lib/layouts/apa.layout:
- Use styleguide-conforming headings in the APA layout (bug 4827).

* src/Buffer.cpp:
	- file format change to 333.

* lib/lyx2lyx/lyx_1_6.py:
	- convert obsoleted layouts.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24694 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-09 08:57:32 +00:00
José Matox
999889716a No need to change LyX.py everytime there is a file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24684 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-08 10:01:38 +00:00
Jürgen Spitzmüller
7bf20758b5 fix bug 4837.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24682 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-08 09:43:27 +00:00
Pavel Sanda
13e42a8c73 Introduce groups for graphics insets. That includes:
- GuiGraphics dialog field for setup new groups.
- Graphics context menu for assigning to certain group.
- Fileformat change for groupId field in Graphics inset.
- Undo mechanism added to inset-apply, for catching changes
  in preference dialog.
- Qt designer 4.4 used now.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24644 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 21:13:09 +00:00
Jürgen Spitzmüller
98b51ebfbc * lyx2lyx/lyx_1_6.py (revert_rotfloat, revert_widesideways, revert_subfig):
- when searching \begin_inset Float, exclude \begin_inset FloatList (bug 4824)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24608 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 06:37:25 +00:00
Edwin Leuven
832bbc4329 fix: http://bugzilla.lyx.org/show_bug.cgi?id=4688
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24598 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-04 07:51:50 +00:00
Jürgen Spitzmüller
a8d19aeff5 whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24568 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-30 20:16:37 +00:00
Jürgen Spitzmüller
95767b840b support for rightarrowfill, leftarrowfill, upbracefill, downbracefill, by Helge Hafting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24567 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-30 20:11:57 +00:00
Jürgen Spitzmüller
764b5cf859 support for default master document.
file format change.

This is the last feature for today. Promised.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24540 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 16:38:56 +00:00
Richard Heck
63f7d0318c We don't need to report this. Sometimes this will be absent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24391 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 16:35:33 +00:00
José Matox
b749e175c6 Fix calls to find_default_layout (guarentee arguments consistency)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24371 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 21:29:44 +00:00
Jürgen Spitzmüller
a125dab7fd * lyx_1_6.py:
- fix typo in new helper function.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24366 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 17:03:21 +00:00
Bo Peng
76d272da30 Embedding: revert embedding options and extra_embedded_files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24328 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-18 17:06:03 +00:00
Edwin Leuven
448bc037a0 fix index problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24319 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-17 21:12:24 +00:00
Uwe Stöhr
7fa7e2a9d9 languages: support for Mexican Spanish as discussed in http://bugzilla.lyx.org/show_bug.cgi?id=4736
fileformat change

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24288 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-16 00:25:08 +00:00
Richard Heck
58d58dfe55 Try to fix the PlainLayout issue a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24276 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 17:59:01 +00:00
Richard Heck
27dd040f6d PlainLayout is now Plain Layout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24272 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 15:53:35 +00:00
Richard Heck
fa9959fd41 Check for Plain Layout as well as for Standard in these cases. We should always do this in the 1.6.x lyx2lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24270 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 15:52:01 +00:00
Richard Heck
5ae2f40671 Fix bug 4737.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24269 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 15:41:14 +00:00
Jürgen Spitzmüller
0fab956f4a * lib/lyx2lyx/lyx_1_6.py:
- fix reversion when hyperref is _not_ selected.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24259 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 14:02:42 +00:00
Uwe Stöhr
17c3888d25 lyx2lyx: lyx2lyx: lyx_1_6.py, parser_tools.py:
add some comments


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24246 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-12 13:54:30 +00:00
Uwe Stöhr
c594c4d561 lyx2lyx: lyx_1_6.py, parser_tools.py:
add a conversion routine for the PDF options, fixes http://bugzilla.lyx.org/show_bug.cgi?id=4612

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24245 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-12 13:48:17 +00:00
Jürgen Spitzmüller
345be8a6d0 * lib/lyx2lyx/lyx_1_6.py:
- put in a reversion for the embed tag of InsetExternal as close as possible to the
	  actual change. This fixes the reversion of documents with external insets to 1.5,
	  but still leaves a range of invalid file formats.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24239 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-11 17:20:59 +00:00
Jürgen Spitzmüller
5997d41b38 ** support pdfpages via external inset **
* development/FORMAT:
* src/Buffer.cpp:
	- format incremented to 326

* src/LaTeXFeatures.cpp:
* lib/chkconfig.ltx:
* lib/doc/LaTeXConfig.lyx:
	- support pdfpages

* lib/external_templates:
	- add template for pdfpages

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- add reversion routine.

* lib/configure.py:
	- fix call to "pdftops --eps"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24237 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-11 14:07:25 +00:00
José Matox
bfdee3f1cd Fix invalid mix of int and strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24092 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 12:03:09 +00:00
Uwe Stöhr
30663a8019 Fileformat change.
Provide only one Japanese language that is encoding independent, patch partly by Koji Yokata.
This fixes http://bugzilla.lyx.org/show_bug.cgi?id=4597

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24053 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 23:25:40 +00:00
Jürgen Spitzmüller
c876a2e7c7 Merge the two linebreak insets into one.
* src/Buffer.cpp:
	- file format change to 324
* development/FORMAT:
	- document file format change

* src/insets/InsetNewline.{cpp,h}:
	- the former two separate derivates are now merged into one inset
	  with proper Params and Mailer. This simplifies the structure and allows for
	  switching between the two kinds.

* src/Text3.cpp:
	- The newline insets are now being generated with 
	   newline-insert [newline|linebreak]

* src/factory.cpp:
* src/Text.cpp:
	- Newline inset is now a proper inset with opening and closing tag.

* src/FuncCode.h:
* src/LyXAction.cpp:
* src/Text3.cpp:
* src/insets/InsetCollapsable.cpp:
* src/insets/InsetTabular.cpp:
* src/mathed/InsetMathGrid.cpp:
* src/mathed/InsetMathHull.cpp:
	- remove LFUN_NEW_LINE, LFUN_LINE_BREAK,
	  add LFUN_NEWLINE_INSERT

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- conversion and reversion routines for newline insets.

* lib/ui/stdmenus.inc:
* lib/ui/stdcontext.inc
	- adapt menu and add context menu to switch between newpage variants.

* lib/bind/*.bind:
	- adapt to new lfuns.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23966 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 08:10:01 +00:00
Jürgen Spitzmüller
e8ffafef99 * lyx_1_6.py: attempt to fix the make install problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23953 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 19:10:04 +00:00
Jürgen Spitzmüller
d2a4c97ab8 Merge the diverse newpage insets into one.
* src/Buffer.cpp:
	- file format change to 323
* development/FORMAT:
	- document file format change

* src/insets/InsetNewpage.cpp:
	- the former four separate derivates are now merged into one inset
	  with proper Params and Mailer. This simplifies the structure and allows for
	  switching between the various kinds.

* factory.cpp:
	- The newpage insets are now being generated with 
	   newpage-insert [newpage|pagebreak|clearpage|cleardoublepage]

* src/Text.cpp:
	- Newpage inset is now a proper inset with opening and closing tag.

* src/FuncCode.h:
* src/LyXAction.cpp:
* src/Text3.cpp:
* src/insets/InsetCollapsable.cpp:
	- remove LFUN_PAGEBREAK_INSERT, LFUN_CLEARPAGE_INSERT
	  and LFUN_CLEARDOUBLEPAGE_INSERT

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- conversion and reversion routines for newpage insets.

* lib/ui/stdmenus.inc:
	- adapt menu and add context menu to switch between newpage variants.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23942 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 09:26:03 +00:00
Richard Heck
700af7e701 Add support for document-local layout information. GUI is to follow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23913 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 12:31:07 +00:00
José Matox
7535cabd60 Normalize the begining of Tabular insets (+ cosmetics: remove spaces at the end of lines)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23823 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 09:40:24 +00:00
Edwin Leuven
57041a9b84 take care of superfluous space in 1.3 tabular format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23821 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 08:41:44 +00:00
José Matox
6c57005797 fix bug 4639
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23813 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 19:41:50 +00:00
Edwin Leuven
e01e14872d Free line setting in tabulars. FILE FORMAT CHANGE.
- gets rid of the M_TOGGLE_LINE_... functions
- allows arbitrary clines without multicol
- sets arbitrary vertical lines through multicol 
- drop row/col line properties, everything is now stored at the cell level

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23812 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 18:08:32 +00:00
Jürgen Spitzmüller
18101eea7b ** add support for protected horizontal fill. FILE FORMAT CHANGE. **
* src/Buffer.cpp:
	- increment file format to 320.

* src/insets(InsetSpace.{cpp, h}:
	- add HFILL_PROTECTED, a protected horizontal fill
	  (LaTeX: \hspace*{\fill})

* src/factory.cpp:
* src/frontends/qt4/GuiHSpace.{cpp, h}:
	- handle the new space type.

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- reversion routine for protected hfill.

* development/FORMAT:
	- document file format change

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23805 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 12:11:28 +00:00
Jürgen Spitzmüller
66afc03a54 * lib/lyx2lyx/lyx_1_6.py:
- fix convert_spaceinset routine.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23794 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 14:35:03 +00:00
Jürgen Spitzmüller
e14f384a2c * lib/lyx2lyx/lyx_1_6.py:
- fix error in convert_subfig triggered by the User Guide.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23792 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 14:12:42 +00:00
Jürgen Spitzmüller
f2e8cd3cd9 *** File Format Change: UI and enhancement for InsetSpace ***
* src/insets/InsetSpace.{cpp,h}:
	- merge in HFill inset, add support for dotfill, hrulefill,
	  hspace and hspace*
* src/insets/InsetHFill.{cpp,h}:
	- remove

* src/frontends/qt4/GuiHSpace.{cpp,h}:
* src/frontends/qt4/ui/HSpaceUi.ui:
* src/frontends/qt4/GuiView:
	- new GUI for Space insets.

* src/insets/Inset.{cpp,h}:
* src/insets/InsetCode.h:
* src/insets/InsetCollapsable.cpp:
* src/insets/InsetCommandParams.cpp:
	- remove HFILL_CODE and LFUN_HFILL_INSERT, add SPACE_CODE where necessary,
	  new Inset member isStretchableSpace() to indicate HFill and friends.

* Buffer.cpp: 
	- increase format to 319
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- conversion/reversion routines
* development/FORMAT:
	- document file format change

* src/Makefile.am:
* src/frontends/qt4/Makefile.am:
* development/scons/scons_manifest.py:
	- deal with UI changes.

* src/LyXAction.cpp:
	- remove LFUN_HFILL_INSERT

* src/LyXFunc.cpp:
	- handle space dialog.

* src/factory.cpp:
* src/Paragraph.cpp (isHFill):
* src/Text.cpp:
* src/Text3.cpp:
* src/TextMetrics.cpp:
	- adapt to changes

* lib/ui/classic.ui:
* lib/ui/stdmenus.ui:
	- add HSpace dialog, remove HFill.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23787 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 09:23:43 +00:00
Bo Peng
932998494b Embedding: add option \extra_embedded_files to buffer params. This increase
LyX file format to 318. The Embedded files panel of document settings has
been simplied, with working add and remove buttons. Note that bease BufferParams
lacks buffer path information, extraEmbeddedFiles are vector<string>, instead
of EmbeddedFileList (as previously planned).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23606 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 23:04:14 +00:00
Uwe Stöhr
3db3b9930a fileformat incremented to 317:
support for floating placement settings for wrap floats

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23394 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-02 17:12:22 +00:00
Uwe Stöhr
eb1b57f0f5 lyx_1_6.py: fix fileformat number
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23391 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-02 16:51:53 +00:00
Jürgen Spitzmüller
ac1977018b ** subfig support **
* src/Buffer.cpp:
* development/FORMAT:
	- bump format to 316.

* src/insets/InsetFloat.{cpp, h}:
	- let nested floats be subfloats
	  NOTE: docbook support is missing.
* src/insets/InsetCaption.{cpp, h}:
	- handle subfigure captions
* src/insets/InsetGraphics.cpp:
* src/insets/InsetGraphicsParams.{cpp, h}:
	- remove old subfigure support

* lib/chkconfig.ltx:
* lib/doc/LaTeXConfig.lyx:
	- check for subfig instead of subfigure.

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- conversion/reversion routines for subfig -> subfloats
	  NOTE: the reversion routine still has bugs.

* src/Counters.{cpp, h}: 
	- add identifiers for subfloats

* src/LaTeXFeatures.{cpp, h}:
	- support for subfig

* src/TextClass.cpp:
	- set up subfloat counter for all custom floats.

* src/frontends/qt4/GuiGraphics.cpp:
* src/frontends/qt4/ui/GrahicsUi.ui:
	- remove subfigure UI.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23381 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-02 11:30:50 +00:00
Jürgen Spitzmüller
ca6246e4da * lib/lyx2lyx/lyx_1_5.py:
- implement wrapper around normalize that handles specific cases
	  that must not be normalized (rest of bug 3313).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23227 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-25 13:32:08 +00:00
Richard Heck
4ab6f265e9 Add support for column separation in page margins. Fixes bug 3337.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23059 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-19 05:24:48 +00:00
Jürgen Spitzmüller
0c6c52943b * lib/lyx2lyx/LyX.py (get_encoding):
- handle the "utf8x" inputenc option (part of bug 4503).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22884 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-09 07:52:26 +00:00
Uwe Stöhr
a58f6d8025 lyx_1_6.py: remove the serial letter routine because due to r22811 more ERT would have to be converted. By the removal I follow the rule not to convert ERT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22813 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-06 20:23:44 +00:00
Uwe Stöhr
427f0b739c lyx_1_6.py: adjust the serial letter routine according to r22811
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22812 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-06 20:07:21 +00:00
Uwe Stöhr
886db92f82 enable the scrlttr 2 class for serial letters:
- file format change
- new example files and an example address database
- remove ugly hack from scrlttr2.layout and fix bug 4529

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22764 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-03 11:56:44 +00:00
Jürgen Spitzmüller
76c98826a2 * lib/lyx2lyx/lyx_1_4.py:
* lib/lyx2lyx/lyx_1_6.py:
	- improve reversion method for floats.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22508 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 09:59:37 +00:00
Richard Heck
df4634968a Fix bugs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22506 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 06:43:44 +00:00
Richard Heck
d5d665482e This commit changes the way individual LyXModule's are represented, both internally and in the .lyx files. The earlier version represented them by their `descriptive name', e.g., "Endnote" or "Theorems (AMS)", these being the same names used in the UI. This was a mistake, as becomes readily apparent when one starts to think about translating these strings. The modules ought to be represented by their filename, without the extension, just as TextClass's are.
The changes that accomplish this part are in ModuleList.{h,cpp}, configure.py, and the *.module files themselves. This is a format change, and the lyx2lyx is in those files.

By itself, that change would not be major, except for the fact that we do not want the module to be represented in the UI by its filename---e.g., theorems-std---but rather by a descriptive name, such as "Theorems". But that change turns out to be wholly non-trivial. The mechanism for choosing modules was the same as---indeed, was borrowed from---that in GuiCitation: You get a list of modules, and choosing them involves moving strings from one QListView to another. The models underlying these views are just QStringListModels, which means that, when you want to know what modules have been selected, you see what strings are in the "selected" QListView. But these are just the descriptive names, and we can't look up a module by its descriptive name if it's been translated. That, indeed, was the whole point of the change to the new representation.

So, we need a more complicated model underlying the QListView, one that will pair an identifying string---the filename minus the extension, in this case---with each item. This turns out not to be terribly difficult, though it took rather a while for me to understand why it's not difficult. There are two parts:
(i)  GuiSelectionManger gets re-written to use any QAbstractListModel, not just a QStringListModel. This actually seems to improve the code, independently.
(ii) We then subclass QAbstractListModel to get the associated ID string, using the Qt::UserRole slot associated with each item to store its ID. This would be almost completely trivial if QAbstractListItem::itemData() included the QVariant associated with this role, but it doesn't, so there are some additional hoops through which to jump.

The new model, a GuiIdListModel, is defined in the files by that name. The changes in GuiSelectionManger.{h,cpp} make it more abstract; the changes in GuiDocument.{h,cpp} adapt it to the new framework. 

I've also updated the module documenation to accord with this change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22501 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 04:28:12 +00:00
Jürgen Spitzmüller
4b799833e7 *** Support for generic sideways floats ***
* src/Buffer.cpp:
	- format is up to 312.
* src/LaTeXFeatures.cpp:
	- add rotfloat.
* src/Insets/InsetFloat.cpp:
	- handle starred and generic sideways floats.
* src/frontends/qt4/FloatPlacement.{cpp,h}:
	- adjust GUI to the new features.
* lib/chkconfig.ltx:
	- add rotfloat
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- add reversion methods for new floats
* lib/lyx2lyx/lyx_1_4.py:
	- add proper reversion method for sideways floats (this was missing).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22495 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 18:56:53 +00:00
Richard Heck
a8d2d891ee Wow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22489 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 08:03:48 +00:00
Richard Heck
9f8bf4c9da Dummy format change for AMS modularization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22470 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 07:22:43 +00:00
Jürgen Spitzmüller
a229a78dff Support for \nocite* from Berhard Reiter. Increments file format to 210.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22327 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-28 16:56:57 +00:00
Richard Heck
2f22c881ee Routine for adding modules to the list of modules. Preparatory for AMS modularization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22318 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 20:15:31 +00:00
Richard Heck
e285d2a7d8 Support for nocite, provided by Bernhard Reiter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22217 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-20 15:46:14 +00:00
Uwe Stöhr
90c14f8c12 support for Serbian with Latin letters
- fileformat change

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22143 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-13 23:29:56 +00:00
José Matox
73655dbbee Add "default" to language list. (fixes a crash).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22066 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-10 18:51:54 +00:00
Jürgen Spitzmüller
4770eb8ae2 * lib/lyx2lyx/lyx_1_1.py (revert_latexcommand_index):
- umlauts must be reverted to escaped forms.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22022 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-08 15:56:19 +00:00
Jürgen Spitzmüller
7feaac16d2 * lib/lyx2lyx/lyx_1_5.py:
- fix bug 4333.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22019 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-08 15:38:39 +00:00
Jürgen Spitzmüller
61e1643821 Support for \slash and \nobreakdash-
* src/lfuns.h:
* src/Text3.cpp:
* src/insets/InsetMathNest.cpp:
* src/insets/insetCollapsable:
	- new LFUN_SPECIALCHAR_INSERT
	- nuke LFUN_HYPHENATION_POINT_INSERT, 
	  LFUN_LIGATURE_BREAK_INSERT,
	  LFUN_DOTS_INSERT,
               LFUN_END_OF_SENTENCE_PERIOD_INSERT,
	  LFUN_MENU_SEPARATOR_INSERT
	  (functions now handled as arguments of the above)

* src/insets/InsetSpecialChar.{cpp,h}:
	- implement \slash and \nobreakdash-

* src/Buffer.cpp:
	- increment format to 307.
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- reversion methods for SpecialChar \slash{} and
	  SpecialChar \nobreakdash-
* development/FORMAT:
	- document file format change

* lib/ui/stdmenus.inc:
* lib/ui/classic.ui:
	- add new SpecialChars to the menus, adapt lfuns to new scheme

* lib/bind/aqua.bind:
* lib/bind/cua.bind:
* lib/bind/emacs.bind:
* lib/bind/fi/menus.bind:
* lib/bind/mac.bind:
* lib/bind/menus.bind:
* lib/bind/sciword.bind:
* lib/bind/xemacs.bind:
	- add shortcuts for new SpecialChars, adapt lfuns to new scheme

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21989 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-06 11:04:56 +00:00
Uwe Stöhr
d21c9a2c07 support for the language Interlingua
- fileformat change

(Interlingua was the last missing language supported by babel)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21976 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-05 22:04:33 +00:00
Uwe Stöhr
fa37b1c4b1 support for the language Bahasa Malaysia
- fileformat change
- rename "Bahasa" to "Bahasa Indonesia"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21974 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-05 21:42:57 +00:00
Jürgen Spitzmüller
3582be1441 framed.sty goes InsetBox:
* src/insets/InsetBox.{cpp,h}:
* src/frontends/qt4/GuiBox.{cpp,h}:
* src/frontends/qt4/ui/BoxUi.ui:
	- add and handle Framed and Shaded boxes
	- use more descriptive label names
	- implement name() function for Box:Shaded's sake

* src/insets/InsetNote.{cpp,h}:
* src/frontends/qt4/GuiNote.cpp:
* src/frontends/qt4/ui/NoteUi.ui:
	- remove Framed and Shaded.

* lib/layouts/stdinsets.inc:
	- remove Note:Framed and Note:Shaded
	- add Box:Shaded

* Buffer.cpp:
	- bump format to 304.

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- add conversion/reversion of framed/shaded notes to boxes.

* development/FORMAT:
	- document file format change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21945 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-04 09:25:50 +00:00
Uwe Stöhr
bfec9543b3 lyx2lyx/lyx_1_6.py: revert \linebreak and \pagebreak correctly to ERT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21806 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-26 22:36:49 +00:00
Uwe Stöhr
0ef6b7c5fe - remove Serbocroatian from the language list because this was a fake. Croatian was used under the hood but we already have Croatian separately.
- implement Serbian

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21786 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 22:39:04 +00:00
Uwe Stöhr
9608e4971b support for the languages Latin and North Sami
- fileformat change

(I wonder why support for them was removed (must be before LyX 1.3), because the old reLyX script listed them as supported)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21783 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 21:09:01 +00:00
Uwe Stöhr
12f7869ac0 support for \linebreak:
- fileformat change
- tex2lyx support
- rename LFUN_BREAK_LINE to LFUN_NEW_LINE because this is what the lfun does and to avoid confusions
- new menu entry
- new shortcut C-S-Return

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21778 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 18:34:37 +00:00
Uwe Stöhr
97aa558cac support for \pagebreak:
- rename former "pagebreak" to "newpage" since it produces a \newpage
- new LFUN
- menu entry
- tex2lyx support
- fileformat change


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21732 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 02:10:00 +00:00
Martin Vermeer
9df0ce8504 Improve conversion/reversion of index strings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21692 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 18:18:24 +00:00
Martin Vermeer
4bdd6f7937 Correct conversion of math insets inside Index
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21680 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-19 19:53:54 +00:00
Richard Heck
70055b3422 Change lyx2lyx to conform to new standard URL inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21586 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 15:30:29 +00:00
Uwe Stöhr
a5c7679887 lyx_1_6.py: fix for previous commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21360 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 22:40:31 +00:00
Uwe Stöhr
c750446566 lyx_1_6.py: fix dataloss in URL conversion routine
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21359 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 22:17:54 +00:00
Uwe Stöhr
0a7567ce3b - add entry to FORMATS file for Stefan's format change (Richards to 296 change is still not correctly listed)
- add support for hyerlink targets - fileformat changed
  (For Hyperlink.cpp I still need help to get rid of the strings and chars and use docstrings and char_type instead!)

Can anyone please open the changed Hyperlink.ui with a Qt 4.2 designer or below, save it and commit? Thanks. (Otherwise you cannot compile it.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21347 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 17:37:43 +00:00
Stefan Schimanski
9d9c5959f3 * file format 298 to convert macro definitions with optional parameters into ERT. This is still just an empty convertion, waiting for Uwe to find time to implement it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21326 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 11:03:51 +00:00
Uwe Stöhr
751fc1dc5e missing lyx2lyx stuff for the fileformat change to 297
(previous fileformat change to 296 by Richard is not yet described in FORMAT)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21302 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-30 22:07:16 +00:00
Uwe Stöhr
68167ee254 lyx_1_6.py: fix copy/paste bug from my previous commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21274 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 22:42:58 +00:00
Uwe Stöhr
bb46fe5f0e fileformat change for my previous commit: Albanian and lower Sorbian support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21273 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 22:38:36 +00:00
Richard Heck
4064d2c468 InsetInclude becomes an InsetCommand.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21149 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-23 15:02:15 +00:00
Bo Peng
7063b33b1b Remove the manifest section of the .lyx file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21104 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-21 18:06:00 +00:00
Enrico Forestieri
b96754bd88 Fix lyx2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21038 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 16:49:22 +00:00
Richard Heck
bfbf9c14e2 Fix up the HREF inset reversion routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21027 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 05:34:00 +00:00
Richard Heck
17fafa7f3d The lyx2lyx for recent work on href inset done by Uwe.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20975 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-15 16:40:47 +00:00
Uwe Stöhr
7075eaadef The huge URL patch:
- rename the lfun to href-insert.png
- rename the files to Hyperlink...
- the former URLUi produces now \href commands (hyperref)

Only missing thing is the lyx2lyx conversion routine - this will be done by Richard

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20950 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 19:06:09 +00:00
Uwe Stöhr
dfc7fc59c1 lyx_1_6.py: avoid the same name of two different functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20934 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 03:18:51 +00:00
Uwe Stöhr
ed43dea031 fileformat change to 294 for Pavel's PDFOptions cleanup in r20881
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20933 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-12 23:51:56 +00:00
Bo Peng
353aacab4b InsetInfo: lyx2lyx support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20905 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 14:56:34 +00:00
Uwe Stöhr
d44d755732 lyx2lyx/lyx_1_6.py: forgot to revert the encoding too in my last commit (r20859)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20860 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 00:12:48 +00:00
Uwe Stöhr
a9b5b1ff9a Fileformat incremented to 293 due to yesterdays' support for japanese-plain (r20831)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20859 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 23:40:23 +00:00
Bo Peng
b352c78905 Fix indentation (from 2 spaces to 4) in lyx_1_6.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20818 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 14:26:16 +00:00
Uwe Stöhr
ae0f514870 support for the Vietnamese languages
fileformat increased to 291

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20738 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-04 23:20:39 +00:00
Uwe Stöhr
d162028a9c lyx2lyx/lyx_1_6.py: fix a comma
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20720 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 22:00:45 +00:00
Uwe Stöhr
e6498670fb lyx2lyx/lyx_1_6.py: remove now obsolete comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20718 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 21:39:32 +00:00
Uwe Stöhr
2492def7da provide wrap tables based on the current wrap float implementation
file format increased to 290


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20713 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 21:07:01 +00:00
Martin Vermeer
d21a3bb445 Index as collapsible, preserving existing feature set
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20699 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 13:38:19 +00:00
Uwe Stöhr
2b16811b46 lyx2lyx/lyx_1_6.py: small code change for better understanding
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20689 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 09:55:37 +00:00
Richard Heck
e4558862ba Stupid mistake.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20678 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 00:37:08 +00:00
Uwe Stöhr
612504b796 lyx_1_6.py: fix endless loop, but routine is still not working, see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg128426.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20677 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 00:09:47 +00:00
André Pönitz
581b67b26e move ChangeLogs to the attic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20587 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-29 14:12:55 +00:00
Uwe Stöhr
643780f4e4 lyx2lyx/lyx_1_6.py: small tweak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20553 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 22:52:37 +00:00
Richard Heck
0787ade6c0 This is the first part of a cleanup of how we handle the InsetCommand hierarchy. This part starts to disentangle the type of the inset from the command that a single instance of the inset represents. This involves two sorts of changes:
(i) The file format is changed, so that command insets are represented as:
    \begin_inset CommandInset insetype
    LatexCommand command
    ...
    \end_inset
This involves some lyx2lyx and changes to the readInset() routine in factory.cpp
(ii) The InsetCommand and InsetCommandParams classes also have to be changed, as the command name was used in these classes for various purposes for which the inset type ought really to be used.
Further clean-up to come.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20544 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 18:24:18 +00:00