Commit Graph

82 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
e5a368b921 After all those hours of frustrating coding on tex2lyx, I decided that I would do easy things for a change. As a result, many new insets are supported, among which minipage; see the files text-*.tex for an idea of things that work now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7521 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-07 22:59:53 +00:00
Jean-Marc Lasgouttes
3a4b075285 finish tex2lyx depth support (hopefully); more things in .cvsignore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7515 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-06 22:47:22 +00:00
Alfredo Braunstein
635895783d compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7510 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-05 21:55:41 +00:00
Jean-Marc Lasgouttes
1c601f2477 make nesting work in tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7509 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-05 21:46:51 +00:00
Jean-Marc Lasgouttes
c544107e32 architectural changes to tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7494 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-04 10:26:10 +00:00
Angus Leeming
271412de78 urg...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7451 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 14:41:59 +00:00
Angus Leeming
06683ddcdc Hide the fact that we re-generate those symbolic links brainlessly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7450 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 14:41:27 +00:00
Jean-Marc Lasgouttes
dd750828d5 * text.C (check_layout): \layout -> \begin_layout
(parse_text_in_inset): convenience function

	* tex2lyx.C (main): \the_end -> \end_document

	* preamble.C (end_preamble): update version number to 225

	* text.C (parse_text): replace test on "lyxcode" with test on
	LyXLayout::freespacing.
	(check_end_layout): new function, used to check whether we need to
	add an \end_layout


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7434 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 23:50:24 +00:00
Jean-Marc Lasgouttes
05e7faf4df forgot to save a file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7429 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 21:58:39 +00:00
Jean-Marc Lasgouttes
214a32a77d output \layout tags lazily
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7428 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 21:58:09 +00:00
Jean-Marc Lasgouttes
8ea43a75e2 tex2lyx support for english quotes; revert the layout format change because we are not ready for that yet
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7422 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 15:45:41 +00:00
José Matox
131eabe56c \layout -> \begin_layout and missing \end_layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7420 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 15:17:11 +00:00
Jean-Marc Lasgouttes
34215d69bc * text.C (parse_text): read environment from layout file too. Now,
all layout entries are supported (but many hacks remain); note
	that the nesting support is broken and will have to be completely
	redone

	* table.C (handle_tabular): make the output more similar to LyX
	and fix a little

	* text.C (output_layout): fix handling of optional argument
	(parse_text): small tweaks to make output format closer to lyx
	format; support \tableofcontents; fix/improve support for various
	special characters


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7417 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 14:06:04 +00:00
Jean-Marc Lasgouttes
11edc2b194 tex2lyx improvments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7392 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 18:25:58 +00:00
Angus Leeming
a1a329fd24 Remove cruft spotted by Kayvan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7388 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 15:32:15 +00:00
Angus Leeming
926b68c0aa Remove hard coding of command layouts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7374 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 00:39:35 +00:00
Jean-Marc Lasgouttes
80d7f70dc3 move reading of bind files from lyxrc.C to kbmap.C; do not read bindings or menus when not using gui; move paper related enums to a new paper.h; remove dependency on bufferparams.h from lyxrc.h; small bugfix to tex2lyx; fix bad menu shortcut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7372 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 23:04:39 +00:00
Angus Leeming
812b659d89 Enable tex2lyx to read the LyX textclass and to use this info a little.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7362 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 00:15:38 +00:00
Lars Gullik Bjønnes
01b31c56c9 make lyx compile with gcc 3.4. remove some warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7314 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 08:46:00 +00:00
André Pönitz
c9095d82d5 Joao's patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6976 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-19 07:22:16 +00:00
André Pönitz
4d1bbfdd26 whitespace + Inset::haveParagraphs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6876 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 08:46:17 +00:00
Angus Leeming
56f831570c Kayvan's compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6833 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-20 18:38:29 +00:00
André Pönitz
b580294d0b re-structure the beast
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6829 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-17 09:47:21 +00:00
Angus Leeming
76294ec07e Fix a minor irritation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6234 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 11:15:14 +00:00
Angus Leeming
d02cff2442 Swap <sstream> for "Lsstream.h".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6208 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-20 14:57:32 +00:00
Jean-Marc Lasgouttes
8a5d04fd84 reverse last change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6120 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-12 13:19:41 +00:00
Jean-Marc Lasgouttes
b31e2bd782 compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6119 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-12 13:07:00 +00:00
André Pönitz
d33935be24 Angus' second patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6105 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-11 15:57:08 +00:00
John Levon
f3600e9f67 back out again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6103 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-11 13:56:50 +00:00
John Levon
1c64f01ea1 fix compile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6102 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-11 13:48:48 +00:00
Angus Leeming
90c39dc7ad stop cvs complaining
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6090 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-11 12:05:15 +00:00
Angus Leeming
88a865b988 add a tex2lyx dir and empty Makefile.am to enable this thing to be happy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6086 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-10 19:22:29 +00:00