Commit Graph

20481 Commits

Author SHA1 Message Date
Georg Baum
07676f2330 fix metrics debugging
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27955 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-22 18:16:05 +00:00
Georg Baum
ac1fd9b37f fix bug 2558: hspace support in math
The basic idea was to reuse the corresponding text space inset in the same
fashion as is already done for references. The dialog displays a different
selection for math than for text. If wanted, the additional spaces could
also be enabled for text, but that would be a file format change.
Constructs like \hspace{\mylengthvariable} that are not supported are
treated by the math parser as ERT as before.

For reasons I don't know the context menu does not work, but this is not so
important IMHO (since a left click opens the dialog).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27954 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-22 18:12:32 +00:00
Jean-Marc Lasgouttes
df8bb4edcd * Encoding.cpp (fromLaTeXCommand): fix bug when the string passed
to the method does not match any of the known unicode symbols.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27953 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-22 15:23:05 +00:00
Pavel Sanda
3135ff4959 Line length
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27950 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-22 10:51:09 +00:00
Jürgen Spitzmüller
739ad5d718 * GuiPrefs.cpp (apply):
- unbind existing shortcuts before binding new ones (bug 5444).
	  Patch submitted and tested by Bennett.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27948 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-22 10:41:37 +00:00
Jürgen Spitzmüller
d60537a844 * Text3.cpp:
- enable LFUN_INSET_DISSOLVE for insets at cursor (bug 4985).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27947 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-22 10:24:43 +00:00
Uwe Stöhr
59032a2d8d EmbeddedObjects.lyx: include Pavel's changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27944 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-21 11:24:12 +00:00
Pavel Sanda
4e4e8afcc2 Sort order
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27940 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-21 01:54:04 +00:00
Pavel Sanda
d9f13a9072 Fix first insert of external material & instant preview.
Bug http://bugzilla.lyx.org/show_bug.cgi?id=5626 .
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg146921.html .


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27939 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-21 01:53:47 +00:00
Pavel Sanda
fd6679bd34 AdvSearch - next patch from Tommaso.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg146966.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27938 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-20 16:00:47 +00:00
Pavel Sanda
d5f2772922 Hopefully better dialog policy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27936 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-20 13:09:36 +00:00
Pavel Sanda
fe5a20a489 Template type can be changed in dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27933 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-20 10:08:15 +00:00
Pavel Sanda
aee1c6c785 Affect only scale box. Thanks Juergen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27932 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-20 10:06:31 +00:00
Peter Kümmel
b581607b55 cmake: gettext patch from Kornel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27931 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-20 09:25:55 +00:00
Pavel Sanda
4f34acd2d9 * EmbeddedObjects.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27929 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-20 01:42:12 +00:00
Pavel Sanda
05879ba39f Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5628 .
Instant preview of external material uses scaling from latex settings.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27928 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-20 01:30:57 +00:00
Martin Vermeer
d6f30aac95 Fix, but keep disabled, mathed autocorrect
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27927 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-19 10:26:33 +00:00
Jürgen Spitzmüller
96b062a520 * LaTeXUI.ui:
* UserGuide:
	- Postscript driver -> graphics driver.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27920 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-19 09:57:27 +00:00
Jürgen Spitzmüller
3d48607f1a * BufferParams.{cpp,h}:
- pass graphics driver to geometry (bug 5613)
	- put papersize options to package call, not in \geometry
	  which broke compilation in some cases (bug 3838)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27917 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-19 09:32:04 +00:00
Pavel Sanda
28bfbe4e03 Duplicate line.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27915 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-17 16:32:54 +00:00
Pavel Sanda
f892153562 * trunk/EmbeddedObjects.lyx (CT used)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27913 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-17 15:13:03 +00:00
Richard Heck
e3903936e3 In virtue of the last commit, we can massively simplify minimalistic.module.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27901 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 16:14:48 +00:00
Richard Heck
fa6d2fd93d Currently, a second InsetLayout declaration of a given inset completely
overwrites the existing definition, instead of updating it, as our Style
declarations do. This patch fixes this behavior, so that e.g.:

#\DeclareLyXModule{ERT}
#DescriptionBegin
#Make ERT Classic
#DescriptionEnd

Format 11

InsetLayout ERT
	Decoration classic
End

will do as advertised.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27900 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 16:11:15 +00:00
Pavel Sanda
b17f13a5e5 Allow Dia diagrams as external insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27899 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 16:07:07 +00:00
Richard Heck
6525159a41 Exit early to avoid indentation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27897 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 16:01:32 +00:00
Jürgen Spitzmüller
5784ce29fd Let InsetWrap find its InsetLayout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27895 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 15:34:32 +00:00
Richard Heck
6172a07a9d Constness and a typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27894 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 14:13:02 +00:00
Pavel Sanda
1457b2c107 ispell leftover.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg146777.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27892 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 11:43:08 +00:00
Jürgen Spitzmüller
c65ed50ced * BufferView.cpp:
- record undo for LFUN_NEXT_INSET_MODIFY.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27891 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 09:04:27 +00:00
Jürgen Spitzmüller
80044635f0 * LyXAction.cpp:
- LFUN_NEXT_INSET_MODIFY: ReadOnly -> Noop.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27888 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 07:44:09 +00:00
Bo Peng
4a918ed2d9 Fix a typo in scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27887 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-15 17:59:14 +00:00
Jean-Marc Lasgouttes
85822a8784 improve debug information
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27885 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-15 15:47:33 +00:00
Richard Heck
fc60fd3fc3 Updates thanks to spitz....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27881 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-15 15:00:21 +00:00
Jürgen Spitzmüller
fb6a6ecfba I/1H\$Hl$Ld$Ll$ Lt$(L|$0H8M
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27879 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-15 11:08:23 +00:00
Jean-Marc Lasgouttes
5c2539f9ee do not require inset dimensions when the inset is not in the right range (bug 4443)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27878 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-15 10:51:00 +00:00
Jürgen Spitzmüller
8382d7a9dc * lyx_1_6.py (revert_wrapplacement):
- fix reversion of placement argument (bug 5618).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27875 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-15 09:45:52 +00:00
Uwe Stöhr
8795db1740 installer: sync with branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27874 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-15 00:58:50 +00:00
Richard Heck
26fd757eab Fix the hanging module.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27872 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-14 17:11:47 +00:00
Peter Kümmel
672a158a0a cmake: more install fixes, thx to Kornel Benko
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27871 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-14 17:09:06 +00:00
Peter Kümmel
f50a1f68ea Could not convert file: don't warn me to death
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27869 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-13 15:11:34 +00:00
Peter Kümmel
009e239108 fix linker error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27868 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-13 14:41:37 +00:00
Jean-Marc Lasgouttes
370a4d8cf2 1/ call InsetCollapsable::validate instead of InsetText::validate in several
to allow customization in layout files

2/ do not add preamble chunks for features that are used in inactive insets
  (notes, inactive branches)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27859 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-12 15:38:52 +00:00
Jean-Marc Lasgouttes
e79a9fa983 make help-open search in examples too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27858 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-12 15:34:35 +00:00
Jürgen Spitzmüller
c0f88a7ea5 * beamer.layout:
- remove obsolete and wrong counter

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27856 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-12 13:31:35 +00:00
Uwe Stöhr
f55cf75f2c EmbeddedObjects.lyx, Math.lyx, UserGuide.lyx: Spanish translation updates by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27847 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-11 12:05:57 +00:00
Jürgen Spitzmüller
159c884062 * elsarticle.layout:
- elsarticle.cls loads natbib internally

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27844 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-11 09:47:28 +00:00
Jürgen Spitzmüller
a31a6ccadf * LyXFunc.cpp: prevent potential assertion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27842 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-11 09:25:08 +00:00
Jürgen Spitzmüller
04d1a65234 * Paragraph.cpp: embrace ']' (fix bug 5610)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27838 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-10 19:52:13 +00:00
Peter Kümmel
7ad91d8646 fix line endings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27836 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-10 17:29:44 +00:00
Peter Kümmel
8d50d723a0 cmake: add TODO
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27835 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-10 17:28:27 +00:00