Commit Graph

2948 Commits

Author SHA1 Message Date
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
Uwe Stöhr
920f25995b docs: update to latest file format
part 4/4

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25125 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 22:36:44 +00:00
Uwe Stöhr
da65b25815 docs: update to latest file format
part 3/4

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25124 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 22:30:26 +00:00
Uwe Stöhr
44d4805aa6 docs: update to latest file format
part 2/4

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25123 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 22:22:42 +00:00
Uwe Stöhr
6dab61d845 docs: update to latest file format
part 1/4

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25122 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 22:13:56 +00:00
Uwe Stöhr
b371679354 - German UserGuide.lyx: fix LOT/LOF handling
- German Customization.lyx: make the file compilable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25121 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 21:56:11 +00:00
Uwe Stöhr
923442a591 documentation updates as now bug 4910 is fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25110 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 00:43:52 +00:00
Pavel Sanda
f47f4c64a5 LFUN: delete-back/forward -> char-delete-back/forward
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg140977.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25099 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 13:21:19 +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
Uwe Stöhr
f796f10805 - EmbeddedObjects.lyx, UserGuide.lyx: describe the new subfloat handling
- EmbeddedObjects.lyx: remove section about the formerly needed special handling of references to subfloats (now only bug 4910 needs to be fixed)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25085 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 22:22:31 +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
Jürgen Spitzmüller
de2d7197c9 * LaTeXConfig.lyx: correct the correction.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25068 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 12:43:20 +00:00
Jürgen Spitzmüller
14b74b7c5b * LaTeXConfig.lyx: small correction (bug 4905).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25067 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 12:38:08 +00:00
Enrico Forestieri
1a2af1197e Allow to specify either text mode or math mode commands (or both) in the
unicodesymbols file. When the command for a mode is not specified, the
other one is used (taking care that it also works in the "wrong" mode).
This allows to avoid the \lyxmathsym macro when a native math command
is available. Patch from Georg, modifications to the unicodesymbols
file by me.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25061 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 01:35:42 +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
Jürgen Spitzmüller
ef9d8927c7 * New layout and template files for the Journal of Statistical Software (JSS), contributed by Andreas Karlsson
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25045 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 08:58:25 +00:00
Enrico Forestieri
c9d2c73706 Simplify the definition of \mathsym by using the package relsize.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25042 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 04:46:50 +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
Uwe Stöhr
d53c1b699a German documentation update by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25024 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-31 12:27:10 +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
Richard Heck
1f8d6daee4 Revert previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25013 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-30 14:59:28 +00:00
Abdelrazak Younes
eef4223e1b fix duplicate shortcuts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24994 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-29 11:45:00 +00:00
Uwe Stöhr
2e578c9bd4 German Extended.lyx: - small correction by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24987 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-28 20:51:37 +00:00
Uwe Stöhr
62d85c7437 sciword.bind: update the math numbering to what we have in trunk, fixes also bug 4893
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24986 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-28 20:45:01 +00:00
Uwe Stöhr
3f72061f22 German Extended.lyx: - fix handling of the picinpar package
- delete sections whose content is already in the EmbeddedObjects manual and therefore already removed in the English version of this document

German UserGuide.lyx: some cleanups by Hartmut

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24973 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-27 22:11:25 +00:00
Richard Heck
43c7e56ef2 Work around an incompatibility between paper.cls and how we handle environments. The paper class seems to expect a pair of newlines are the end of the abstract envirnoment, which we do not produce; this has the effect that the abstract runs into the first paragraph in certain cases.
Jurgen, this could also go into branch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24965 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-27 16:22:25 +00:00
Abdelrazak Younes
7bb8a5f183 Re-engineer the toolbar support code:
- We now rely more upon Qt features,
- the initial toolbar positioning defined in "lib/ui/default.ui" is now only used if there is no session or if session handling is disabled,
- The session saving/restoring is window dependent.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24954 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-27 11:15:17 +00:00