Lars Gullik Bjønnes
260c7f3187
The InsetList
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4933 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-11 15:03:52 +00:00
Angus Leeming
8478e5dcfe
LaTeX can now find \input insets where the file has a relative path.
...
(Thanks to John for unwittingly informing me of the existance of input@path.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4920 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-09 11:16:54 +00:00
Lars Gullik Bjønnes
c9f673d506
just add a comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4881 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 15:25:50 +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
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
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
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
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
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
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
Lars Gullik Bjønnes
043298544c
Rename strip to rtrim
...
Rename frontStrip to ltrim
Add new trim function.
modify source for this change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4801 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-28 22:50:13 +00:00
Lars Gullik Bjønnes
e39935204d
remove some unneeded version of functions from lstrings,
...
some gcc 3.2. minor compile fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4800 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-28 18:13:51 +00:00
Lars Gullik Bjønnes
3c22b7dc3b
2002-07-22 Lars Gullik Bj�nnes <larsbj@birdstep.com>
...
* GraphicsConverter.C (build_script): take a ostream as a more
general argument than ostringstream.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4750 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-22 20:50:45 +00:00
Jean-Marc Lasgouttes
af9352a2e7
latest graphics jumbo patch from herbert
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4741 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-22 12:36:41 +00:00
Jean-Marc Lasgouttes
1dc25c472f
time to recompile everything: I removed #include directives from headers here and there... Not sure what the net effect is, but it cannot be worse
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4736 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-21 21:21:06 +00:00
Jean-Marc Lasgouttes
1c52d8f898
toc support reorganization; changes to xform_helpers; aspect ratio patch from herbert
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4732 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-21 15:51:07 +00:00
Jean-Marc Lasgouttes
3d5734b98f
do not define macro \LyX if we do not need it; small things
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4724 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-20 16:42:15 +00:00
Jean-Marc Lasgouttes
7086f52fc8
small unimportant cleanups
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4723 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-20 15:25:41 +00:00
Jean-Marc Lasgouttes
f6fa515491
toggleInset improvement; make lyxpreview work out of the box (?); apply aspect ratio patch, with a part disabled (angus, help!)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4714 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-19 21:44:14 +00:00
Jean-Marc Lasgouttes
78c894f8ab
configure script fixes; compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4706 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-18 21:24:47 +00:00
Angus Leeming
6206e59009
File monitoring is Go!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4703 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-18 14:01:42 +00:00
Jean-Marc Lasgouttes
acb4e0a1d3
fix compilation; remove cruft in configure script (I may have removed too much, but we will readd them if needed)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4695 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 21:14:04 +00:00
Angus Leeming
ddb684f332
Disable direct loading of PostScript files by the xforms image loader.
...
Apply Herbert's patch removing special casing to deal with rogue PostScript
files.
Fix a few more comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4693 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 17:55:21 +00:00
André Pönitz
b1fbce7d59
revert $$s change
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4692 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 17:26:35 +00:00
Angus Leeming
9e6bc6ba41
Fix comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4690 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 17:21:11 +00:00
Angus Leeming
4303dd8738
Fix comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4689 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 17:16:15 +00:00
Angus Leeming
c62517df1c
Fix comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4688 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 17:10:45 +00:00
Angus Leeming
f643df79a8
* Make the graphics files conform strictly to the Pimpl idiom by moving
...
the boost::signals into the relevant Impl classes and creating new,
publicly-accessible connect() methods.
* Const-ify all publicly-accessible methods, reflecting the fact that each
class contains only a const pimpl_ member variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4687 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 16:56:42 +00:00
André Pönitz
6280787bdb
short cut for using converter scripts from lib/scripts
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4681 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 14:57:37 +00:00
Jean-Marc Lasgouttes
57e89ae2bf
compile fix in XPM image loader; fix opaque handling; remove warnings; fix turkish locale problems; add shortcuts to documents menu
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4661 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-16 21:17:10 +00:00
Angus Leeming
b676c4e77d
Small tidy up of preview code, part II.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4655 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-16 18:10:51 +00:00
John Levon
bc2f8994a2
remove getPixmap() from GraphicsImage
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4642 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-15 17:17:57 +00:00
Angus Leeming
16b928088f
Smart loading of image files for previews and for the graphics inset.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4638 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-15 11:08:46 +00:00
Angus Leeming
a674f70d4a
Pedantic change of email only.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4637 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-15 10:19:45 +00:00
John Levon
d42a082c68
remove init_graphics()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4627 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 16:26:25 +00:00
André Pönitz
f90e1e249f
move the abs() from lyxlength:inBP to the place where it is used.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4626 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 15:55:30 +00:00
Angus Leeming
a51e6d7cab
Fix ascent, descent info.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4585 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 10:32:31 +00:00
Angus Leeming
a0003fb2a8
New lyxrc variables for the preview stuff.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4580 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 09:09:37 +00:00
Angus Leeming
e3978fd3ee
Herbert's work-around to xforms image width for xforms <= 0.89.6.
...
Use boost::tie now that I've upgraded my compiler ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4568 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 13:39:46 +00:00
Angus Leeming
76cef13759
Spllng mistakes!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4562 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 09:31:39 +00:00
Angus Leeming
0746000cb7
Further clean ups.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4561 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 09:30:54 +00:00
Angus Leeming
a2d89110b9
Herbert's patch to extract font size info from the LaTeX class file.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4558 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 18:25:30 +00:00
Angus Leeming
4eb4e9ba98
Internal clean-up.
...
Add "delayed" and "showlabels" options to invocation of preview.sty.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4548 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 13:01:09 +00:00
Angus Leeming
156cb8ffdd
Store the temporary files in Buffer::tmppath.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4541 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-06 12:50:09 +00:00
Angus Leeming
627592dfc0
Remove all generated files that still exist (perhaps because the process was
...
curtailed before the images were loaded.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4540 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-06 12:38:44 +00:00
Angus Leeming
9e8b8fe2d8
Ensure that the metrics data is used by the correct image!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4539 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-06 11:36:11 +00:00
Angus Leeming
f68a2bfb91
Preview code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4538 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-05 21:24:15 +00:00
Angus Leeming
e5185674de
makeLaTeXFile has two variants that can be passed either a file name or an
...
ostream &.
Also passed an additional only_preamble parameter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4537 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-05 19:21:29 +00:00
Lars Gullik Bjønnes
de236c41d8
Changes to make RH-7.3 be able to run lyx.
...
Also changes to make gcc 3.1 compiled lyx exit cleanly after
above changes.
Move operator== out out InsetCommandParams.
Change some signals in GraphicsImage to function instead.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4535 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-04 17:45:35 +00:00