Commit Graph

315 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
61e89e29e1 fix uninitialized variable in insetexternal; espace ~ in \input@path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3694 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 16:03:36 +00:00
Lars Gullik Bjønnes
d02c34f1af handle unknown layouts better
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3686 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 11:08:25 +00:00
Jürgen Vigna
ff8f704031 Fix bugs in minipage compatibility read (fix #240).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3681 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 16:02:51 +00:00
Lars Gullik Bjønnes
660732d74a handle missing layout gracefully when reading and writing lyx files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3678 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 14:24:34 +00:00
José Matox
d228f08abd For linuxdoc and docbook:
* add empty methods to insetnote (as latex)
   * fix use of uninitialized varible in insetquote
   * fix standard style in layout files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3664 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 13:38:40 +00:00
José Matox
427f6a68ff Fix to deal with the pernicious mixed content model in tables,
the exported docbook and linuxdoc output now is ugly but correct.
Included files final fix, now they work in all cases, with or
without temp directory.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3651 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-04 10:04:29 +00:00
Lars Gullik Bjønnes
b9288969ec remove lowercase, better layout handling and some variable renameing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3648 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-03 20:25:07 +00:00
Lars Gullik Bjønnes
60d0e57573 lowercase style on reading .lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3647 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-03 13:11:06 +00:00
Lars Gullik Bjønnes
b86565cfe5 fix calling of LaTeXFeatures
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3641 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-02 19:09:56 +00:00
Lars Gullik Bjønnes
dbd7a961fc layout as string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3640 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-02 16:39:54 +00:00
Angus Leeming
eb6a0ad551 Upgrading of my xforms libs showed that lots of files thought they depended
on xforms. Further inspection showed that they didn't!
I've done nothing more than remove #include "lyx_gui_misc.h" here.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3615 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 17:50:20 +00:00
Jean-Marc Lasgouttes
4b07057b7e "ding-dong, the witch is dead!", says John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3609 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 14:06:24 +00:00
Jean-Marc Lasgouttes
1120aa806c cleanups from John and Juergen, bib files parsing fix from Herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3586 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 10:50:48 +00:00
Jürgen Vigna
9443f625d8 Fix for #143. Changed handling of Font stuff for ERTInsets so that the
latex fonts are not really set but only displayed on screen. So we fixed
the problem of cut&paste in and out of ERT insets retaining the latex color
and font.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3576 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 14:55:17 +00:00
José Matox
834cd64152 Small fixes for docbook.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3565 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 17:33:14 +00:00
Lars Gullik Bjønnes
7ea7dabed1 to much stuff for my liking...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3554 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 15:59:55 +00:00
Angus Leeming
59e18b17ae We don't currently use fork anywhere (or if we do it's by mistake!), so
this patch strips down syscall.[Ch] so it now contains only the system
call interface. This interface is very, very simple! At the same time
I've taken the opportunity to remove syscontr.[Ch] and syssingleton.C,
again because they aren't used.

The rest of the changes are due to the change of name in the
Systemcall::Starttype enum. System is now Wait, and SystemDontWait is DontWait

Paves the way for resurrecting a proper forked calls controller.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3553 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 12:39:47 +00:00
Jean-Marc Lasgouttes
bb9fffb77c popen tweaks; "no 0cm" patch from Herbert; fix disabled toggles in menus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3511 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 14:32:17 +00:00
Angus Leeming
f09619a7e8 Herbert's big graphics patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3446 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-29 09:26:24 +00:00
Jean-Marc Lasgouttes
34e27f8c26 fix bugs 200, 201, 196
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3421 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-19 20:24:04 +00:00
Jean-Marc Lasgouttes
d8037e4bfd use real LyXLength for minipages; new method LyXLength::inPixels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3412 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 23:09:31 +00:00
Jean-Marc Lasgouttes
fb424bae1b fix starting up which binary is really a symlink; make sure insetinclude file browser returns a relative path when this makes sense; straightforward cleanup of the ways to get filename and filepath for a buffer (in preparation of future work)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3381 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 23:31:23 +00:00
Angus Leeming
de3b5aab16 Resolve virtual function name clashes:
* Rename InsetMinipage's width and height functions as pageWidth and
pageHeight, respectivelyi as they are functionally distinct from
the InsetCollapsable's methods of the same name.
* Change the "bool const &" parameters of UpdateableInset::searchForward and
searchBackward to "bool". Ditto with other classes, so all are now consistent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3375 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 16:10:29 +00:00
Angus Leeming
754d59b4a1 Create a new support function lyx::count to use in place of std::count.
Remove countChar as lyx::count superceeds it.
Use the new function.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3372 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 13:04:06 +00:00
Lars Gullik Bjønnes
1cfd4fceac bug 7
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3356 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 17:12:01 +00:00
Lars Gullik Bjønnes
33c5d408fa small stupid stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3348 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 00:33:21 +00:00
Dekel Tsur
b44c7a6767 Fix (partially) font bug in compatability code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3345 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-12 18:40:05 +00:00
Jean-Marc Lasgouttes
80a721459f fix ascii export with insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3325 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-10 10:38:49 +00:00
Jean-Marc Lasgouttes
a02a2714dc updates to latexfeatures stuff; allow empty \document_path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3324 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-10 10:05:45 +00:00
Jürgen Vigna
9a5f7d1fe4 Fixed rowbreaking for "character"-insets and ignore all paragraph attributes
when the cell is not fixed lenght in a tabular on LaTeX output!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3315 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 14:24:49 +00:00
Lars Gullik Bjønnes
b922cdd796 2001-12-28 Lars Gullik Bj�nnes <larsbj@birdstep.com>
* Makefile.am: added the new files to sources, removed layout.C

* layout.C: removed file

* layout.h: remove LYX_DUMMY_LAYOUT

* lyxtextclasslist.C (NumberOfLayout): do not special case dummy
layout.

* lyxlayout.[Ch]:
* lyxtextclass.[Ch]:
* lyxtextclasslist.[Ch]: new files

* include order changes to a lot of files, also changes because of
the six new files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3269 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-28 13:26:54 +00:00
Jürgen Vigna
9987ffaee8 More ascii-export fixes and when making copy of single tabular cells now the
data is copied as tab separated values to the clipboard (not when copiing the
whole paragraph!).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3268 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-27 15:54:25 +00:00
Jürgen Vigna
4333f89d72 Fix buffer ascii export functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3267 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-27 12:00:03 +00:00
Jürgen Vigna
35dc964fe7 Fixed compatibility read between LaTeX paragraphs and minipages and multi
depth (short TableExamples.lyx is now read correct ;)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3263 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-24 13:55:59 +00:00
Dekel Tsur
59aa0e76dc cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3217 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-15 15:03:06 +00:00
Dekel Tsur
d4b53ea2c9 Use buffer language when inserting error insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3213 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-15 14:34:17 +00:00
Jean-Marc Lasgouttes
574031d689 keep selection after font change (John), fix positionning of error insets after environments (Ben), fix drawing of negative lengths and deletion of double spaces in single paragraph (me)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3188 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 14:33:52 +00:00
Lars Gullik Bjønnes
7aebbe6e10 include shuffling and a mathed compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3182 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 20:06:59 +00:00
Lars Gullik Bjønnes
c307b3bd88 better font and language handling for ert compability reading
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3170 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-08 14:20:11 +00:00
Lars Gullik Bjønnes
33a28bdc9c Add string << operators for the other streams as well, and removes
c_str() all places where it is not needed anymore.
(I also add config.h to several files that was missing it)
+ added s string constructor to math_symbolinset

I also change some "while(" to "while ("

mmm ... yes ... I add a "zero()" function to LyXLength... an "empty()"
function did not seem appropriate. changed a couple of places that
checked on length.value() != 0.0.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3149 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 08:04:20 +00:00
José Matox
94b5a7b163 docbook code cleanup.
renamed some DocBook to docbook that Lars forgot. (inset methods)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3119 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 11:56:04 +00:00
André Pönitz
d659612225 reduction of header dependencies, part II (use new types
lyx::layout_type and lyx::textclass_type all ovcer the place)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3117 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 17:12:21 +00:00
Jürgen Vigna
fcb37cc693 Fixed cut&paste bugs and added freespacing for ERT Insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3115 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 16:29:30 +00:00
André Pönitz
10f096880f whitespace changes;
change *::pos_type into lyx::pos_type


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3087 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 10:34:16 +00:00
Dekel Tsur
b1b9e976a4 Fix language of error insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3086 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 10:28:10 +00:00
André Pönitz
cd6e293ed7 start reducing header file dependencies
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3080 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 16:42:04 +00:00
Dekel Tsur
c5e9788926 Remove geometry "fix"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3079 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 14:59:54 +00:00
Jean-Marc Lasgouttes
85e30074c2 new alert code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3074 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 10:19:58 +00:00
Dekel Tsur
3b9c75708d Use the twoside option of geometry package.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3072 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-25 18:13:52 +00:00
Dekel Tsur
8c1402faba Better handling of unknown tokens
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3071 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-25 17:58:05 +00:00