Commit Graph

4080 Commits

Author SHA1 Message Date
John Levon
2d30150424 fix --export and batch nogui
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4880 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 14:40:13 +00:00
Angus Leeming
84bdbe2eac Add a monitor to the previewed image of a \input-ed file, so that the
image is refreshed if the file changes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4879 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 14:02:59 +00:00
André Pönitz
372dc6a7ac true is not false...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4878 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 13:20:45 +00:00
André Pönitz
6c12adeebe Finish the re-indroduction of the show_banner flag. It is 'true' by
default now and not changable from the UI, but a \show_banner "false" in
the .lyx/preferences gets honored.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4877 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 13:00:50 +00:00
Angus Leeming
7d1204efef Add support for preview.sty 0.73, #ifdef-ed out.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4876 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 12:55:28 +00:00
Dekel Tsur
a99f3cc3c6 - Fix ert conversion
- Convert old ERT insets


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4875 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 12:10:09 +00:00
André Pönitz
d1813576e4 read ~
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4874 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 09:15:46 +00:00
John Levon
0d0c758fcc change back from debugging code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4872 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 02:41:44 +00:00
John Levon
e5d2dc5dcd allow to use new pspell
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4871 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 02:37:41 +00:00
John Levon
0547580aad add alert on spellchecker failure.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4870 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 01:04:34 +00:00
John Levon
7072a496e2 build fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4869 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 00:54:20 +00:00
John Levon
f2206522a9 remove unneeded xpm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4868 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 17:11:36 +00:00
André Pönitz
7403d50232 fix typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4867 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 16:54:17 +00:00
John Levon
d63059ae06 back to tabular-insert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4866 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 16:50:03 +00:00
André Pönitz
06065364e5 several fixes concerning font size in scripts/fractions/etc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4865 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 16:21:19 +00:00
André Pönitz
5b3d1c64be fix typo in scriptstyle/scriptscriptstyle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4864 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 16:19:44 +00:00
Dekel Tsur
013d66f033 Small changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4863 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 15:49:20 +00:00
Angus Leeming
61cf3f5884 Prepare for impending arrival of preview.sty 0.73 by adding "lyx" to the
list of options output to preview.sty.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4862 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 13:31:48 +00:00
Angus Leeming
d1c2fd533f Compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4861 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 11:10:08 +00:00
André Pönitz
b181cd29a9 re-try to suppress "extra" {} on reading...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4860 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 10:27:40 +00:00
André Pönitz
200b4fd4ef cosmetics: make the hand-drawn root more similr to what LaTeX does
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4859 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 08:44:08 +00:00
André Pönitz
ff19a20470 fix parser bug reportred by Rob.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4858 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 07:14:26 +00:00
André Pönitz
9b4bf4c29d fix 'vanishing \sin' bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4857 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 07:09:11 +00:00
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