Commit Graph

3957 Commits

Author SHA1 Message Date
André Pönitz
f72aef6cb3 fix parser bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4856 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 06:39:33 +00:00
John Levon
283f8347a8 remove debugging code I accidentally committed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4855 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-04 23:15:42 +00:00
John Levon
7c98b3bd37 spellchecker cleanup - fscked knows why pspell is broken, I am TOTALLY
baffled by that one.

Various other cleanups, including a fixed version of lyxlex that doesn't
destroy the preamble ...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4854 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-04 23:11:50 +00:00
Dekel Tsur
ac51eb8283 Few improvements
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4853 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-03 14:29:12 +00:00
Dekel Tsur
33e6f2089a Few improvements
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4852 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-03 10:31:31 +00:00
Dekel Tsur
1bd999fa65 Handle LaTeX layout, and collapse consecutive ERT insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4851 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 20:34:20 +00:00
Dekel Tsur
7d2326f31f Convert ERT and figinsets. Perhaps incomplete.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4850 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 19:25:14 +00:00
Angus Leeming
5e802bab4d Change the LyX file format, adding a "preview" flag to Include insets.
Document this change in a new file FORMAT.
Enable the user to toggle preview status by modifying the Include dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4849 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 18:25:25 +00:00
John Levon
b95e7efe2e lyx2lyx is the name, that is what it is
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4848 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 16:54:07 +00:00
Angus Leeming
5f46df1f0f Now generate previews when loading the buffer for insets in insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4847 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 16:39:43 +00:00
Angus Leeming
cc132995fa Cache the BufferView as a weak_ptr; get rid of those horrible current_views.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4846 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 16:30:58 +00:00
Angus Leeming
1c9df5074e Revert John's change as it breaks reading of the user preamble.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4845 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 16:18:15 +00:00
Dekel Tsur
4e350da717 Create .cvsignore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4844 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 15:50:51 +00:00
André Pönitz
00413a7841 merge MathArray and MathXArray classes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4843 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 14:29:42 +00:00
André Pönitz
45d1084a64 remove a few unneeded 'include'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4842 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 14:04:16 +00:00
John Levon
3f1a78fbeb small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4841 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 13:43:43 +00:00
André Pönitz
2830796638 uses references instead of returning vectors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4840 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 13:35:05 +00:00
André Pönitz
6f5140a97b add virtual destructor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4839 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 13:34:14 +00:00
Angus Leeming
984cbba504 * Mathed now caches the BufferView as a weak_ptr.
* PreviewedInset caches the LaTeX snippet.
* Further clean-up of mathed's preview code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4838 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 12:38:20 +00:00
Angus Leeming
3d137bfe77 Edwin's updateParagraph patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4837 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 12:28:59 +00:00
Angus Leeming
eed7fcfdf4 LyXView::view() now returns boost::shared_ptr<BufferView> const &.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4836 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 09:21:50 +00:00
André Pönitz
d47e8c38e3 fix recently introduced macro reading bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4835 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 07:50:01 +00:00
John Levon
b2ea4c019d I did compile, I did, I did
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4834 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 01:00:01 +00:00
John Levon
f4e60f017e small cleanup in status()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4833 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 00:57:56 +00:00
John Levon
b14e9baa57 fix for open of non-existent file, writeFile() change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4832 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 22:26:30 +00:00
Angus Leeming
d91ffd8d78 Previews for \input insets.
Refactor code common to InsetInclude and InsetFormula into a new
PreviewedInset class.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4830 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 17:28:59 +00:00
Angus Leeming
bec8a7b65c Compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4829 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 16:12:02 +00:00
André Pönitz
a92d23883e save inset lock state in the .lyx file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4828 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 15:53:46 +00:00
José Matox
f7d8239dae Initial inclusion of lyx2lyx files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4827 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 15:26:32 +00:00
André Pönitz
0fdd672d64 no special treatment for scriptinsets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4826 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 11:48:53 +00:00
André Pönitz
2e835ba909 fix font info
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4825 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 11:47:40 +00:00
André Pönitz
05aaffbb84 ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4824 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 09:29:10 +00:00
André Pönitz
82d8ee5c84 use proper static_cast<unsigned int> instead of this uint thingy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4823 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 09:28:43 +00:00
André Pönitz
48929cbcc8 quick&dirty compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4822 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 07:22:01 +00:00
John Levon
b1dd13a9c2 remove options from spellchecker
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4821 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 03:08:01 +00:00
John Levon
6d0158fe19 show some more info on execvp error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4820 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 01:41:41 +00:00
André Pönitz
990069f546 a step towards world domination^H^H^H
aehm... move things from the parbox inset to an abstract base class
'MathTextInset' and have a shot on implementing an ERT inset on top of
that.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4819 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-31 17:26:14 +00:00
André Pönitz
cdbe361370 fix \neq bug reported by edwin
rename the math-extern menu


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4818 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-31 13:08:48 +00:00
André Pönitz
67e2f58e78 make math-extern a bit more visible in Edit->Math,
revamp some math key bindings
add \boxed to the list of known things


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4815 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-31 05:36:33 +00:00
John Levon
f383b26ec6 fix bug so inadvertent errno does not break connection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4814 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-31 04:40:31 +00:00
John Levon
1faca4e07e remove_io_callback for Qt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4813 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-31 04:33:03 +00:00
John Levon
18d401aab8 disable LFUN_LAYOUT_CHARACTER in ERT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4812 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-30 22:58:54 +00:00
John Levon
2e218e3263 remove io callback on shutdown
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4811 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-30 22:35:43 +00:00
André Pönitz
7534cb5d5e re-adjust math-extern heuristics to new super/subscript inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4810 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-30 17:51:19 +00:00
André Pönitz
6446bf8b49 fix location of GNU gettext package
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4809 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-30 17:37:34 +00:00
Angus Leeming
256dc1b99f Rename bbox.sed so that multiple runs don't get confused.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4808 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-30 17:14:16 +00:00
André Pönitz
6c57f7353f support for AMS's \boxed{} command
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4807 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-30 16:04:41 +00:00
André Pönitz
a794a45949 the up/down stuff reworked
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4806 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-30 13:56:02 +00:00
Jean-Marc Lasgouttes
3b7d5f2cf6 fix wrong type in XWorkArea
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4805 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-30 12:29:25 +00:00
Jean-Marc Lasgouttes
990995fe23 fix #543
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4804 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-30 12:14:43 +00:00