Angus Leeming
3aa7e91a82
Modify the headers of files in src/graphics as discussed on the list.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5206 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-05 11:31:30 +00:00
Angus Leeming
e742268ef9
Rename lyxpreview2ppm.sh as lyxpreview2bitmap.sh because the script now
...
takes an extra argument specifying the desired output format, ppm or png.
Qt users may want to change their preferences file to suit ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5205 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-04 11:56:45 +00:00
Angus Leeming
63dca538e9
Simplify code by telling gs to output bitmap files as %d, not %Nd where
...
N is some painfully specified integer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5204 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-04 10:15:56 +00:00
Angus Leeming
a586cdcade
Different compiler, new warning. Sorry for the noise.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5198 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-03 16:22:31 +00:00
Angus Leeming
fff79cf645
Fix crash reported by Norbert Koksch, using a hard-coded 5 digits (boo! hiss!)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5197 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-03 16:15:03 +00:00
Angus Leeming
1ccc528e28
Activate the code using preview.sty 0.73. Ditch support for older versions.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5194 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-03 13:52:37 +00:00
André Pönitz
53cc89eed6
- parts of Lars' diff-6.diff
...
- move inline functions from buffer.h to buffer.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5038 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 17:18:21 +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
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
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
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
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
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
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
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
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
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
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
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