Commit Graph

189 Commits

Author SHA1 Message Date
Georg Baum
7affaf47e9 * src/factory.C
(readInset): Add comment about citation commands

	* src/tex2lyx/text.C
	(known_jurabib_commands): remove fullcite since LyX does not know it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15335 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-15 08:32:37 +00:00
Georg Baum
d6a42972ea Fix bug 2786: import of spaces
* src/tex2lyx/text.C
	(known_spaces): new, LaTeX names of known spaces
	(known_coded_spaces): new, LyX names of known spaces
	(parse_text): Recognize all known spaces


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14832 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-24 16:34:47 +00:00
Jean-Marc Lasgouttes
c46e1bdc9a Make sure to link lyx and tex2lyx against libiconv.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14814 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-22 15:43:48 +00:00
Georg Baum
425dfd3a24 Fix bug 2289
* src/tex2lyx/text.C
	(void parse_noweb): new, parse a noweb code chunck
	(void parse_text): handle noweb <<xxx>>= and [[xxx]] constructs

	* src/tex2lyx/tex2lyx.[Ch]: new global variable noweb_mode and
	command line option to set it

	* src/tex2lyx/preamble.C
	(parse_preamble): prepend "literate-" to the textclass name in
	noweb mode

	* lib/configure.py
	(checkConverterEntries): fix literate -> lyx converter
	(checkConverterEntries): fix typo in latex -> sxw converter


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14635 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 09:46:28 +00:00
Michael Schmitt
ee452c0f38 * src/tex2lyx/test.ltx:
* lib/layouts/revtex4.layout: refer to tex2lyx rather than
        reLyX in comments


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14627 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-12 20:05:28 +00:00
Georg Baum
6a4f2b40db Partial fix for bug 2420
* src/tex2lyx/preamble.C
	(parse_preamble): ignore the definition of the lyxgreyedout
	environment


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14495 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-22 20:20:51 +00:00
Georg Baum
24319e60b9 Fix bug 2667
* src/tex2lyx/tex2lyx.C
	(tex2lyx): output an empty paragraph if the document is empty

	* src/tex2lyx/context.C
	(Context::check_layout): set empty to false

	* src/tex2lyx/context.[Ch]
	(empty): new flag, tells whether all contexts are empty


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14469 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-16 13:04:59 +00:00
Lars Gullik Bjønnes
5e3b997b85 Remove the now superseeded SConscript files, and some small missing parts to SConstruct
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13825 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-10 18:05:12 +00:00
Bo Peng
42155ade37 Fix scons/cygwin, add command line CC options, from Bo Peng (ben.bob@gmail.com)
* Modified files: SConstruct, src/SConscript, src/tex2lyx/SConscript, boost/libs/SConscript: 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13820 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-09 20:04:27 +00:00
Bo Peng
97e53edb81 Make scons work on mingw/windows, from Bo Peng (ben.bob@gmail.com)
* SConstruct: force the use of g++ under windows, and use the right libraries 
	* config/qt4.py: check QtGui4 etc as well.
	* src/SConscript: link to the right libraries
	* src/tex2lyx/SConscript: use the right libraries
	* src/frontends/qt3/SConscript: manually moc .h files under windows


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13814 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-09 13:01:45 +00:00
Bo Peng
7168ce58b5 scons-based build system, by Bo Peng (ben.bob@gmail.com)
* SConstruct: main SConstruct file
	* scons_utils.py: utility functions
	* qt4.py: qt4 support is not yet official, and I have to patch this file
	* src/SConscript
	* src/insets/SConscript
	* src/graphics/SConscript
	* src/mathed/SConscript
	* src/frontends/qt3/SConscript
	* src/frontends/qt4/SConscript
	* src/frontends/SConscript
	* src/frontends/controllers/SConscript
	* src/support/SConscript
	* src/client/SConscript
	* src/tex2lyx/SConscript
	* boost/libs/SConscript
	* boost/libs/signals/src/SConscript
	* boost/libs/filesystem/src/SConscript
	* boost/libs/iostreams/src/SConscript
	* boost/libs/regex/src/SConscript


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13807 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-07 22:44:54 +00:00
Bo Peng
a19e4ae888 Remove USE_COMPRESSION and force the use of zlib, by Bo Peng (ben.bob@gmail.com)
* src/lyxlex_pimpl.[hC], src/buffer.C, src/tex2lyx/Makefile.am: remove USE_COMPRESSION
	* configure.ac: check for zlib.h and libz.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13765 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 18:14:36 +00:00
Georg Baum
0fb4dc2060 Fix bug 2546:
* src/tex2lyx/text.C
	(parse_arguments): Eat space in front of required arguments


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13753 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 06:56:04 +00:00
Bo Peng
5cf8376ef7 Replace gzstream by boost::iostreams::gzip_(de)compressor: by Bo Peng (ben.bob@gmail.com)
* src/buffer.C, use filtering_ostream
	* src/lyxlex_pimpl.h, .C, use filtering_istreambuf
	* src/Makefile.am,  src/support/Makefile.am, src/tex2lyx/Makefile.am, use BOOST_IOSTREAMS
	* remove src/support/gzstream.h, .C
	* add needed boost files boost/boost/iostreams/device/file_descriptor.hpp,
     device/mapped_file.hpp, detail/system_failure.hpp, 
		 detail/config/windows_posix.hpp


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13706 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-21 06:42:17 +00:00
Lars Gullik Bjønnes
cf4293824f * Change several freestanding and class methods with first letter
capitalized to have first letter lowercased.
* Adjust all affected files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13605 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 00:26:19 +00:00
Lars Gullik Bjønnes
8c93f63b48 * filetools.[Ch]: Make functions that start with a capital
letter start with a lower letter.
	* All other .C and .h in the cs: adjust for above change


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13603 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 22:31:11 +00:00
André Pönitz
1f5c5a06ee support/textutils.h:
support/filetools.h: rename IsDirWriteable IsFileReadable IsLyXFilename
IsSGMLFilename IsLineSeparatorChar IsLetterChar IsPrintable
IsPrintableNonspace IsDigit to lower case initial

lyxvc.C:
LaTeXFeatures.C:
lyx_cb.C:
insets/insetbibtex.C:
insets/insetexternal.C:
insets/insetgraphics.C:
insets/ExternalSupport.C:
insets/insetinclude.C:
BufferView_pimpl.C:
graphics/GraphicsCacheItem.C:
text2.C:
converter.C:
buffer.C:
lyxfunc.C:
frontends/gtk/ghelpers.C:
frontends/controllers/ControlGraphics.C:
frontends/controllers/ControlInclude.C:
frontends/controllers/ControlSpellchecker.C:
support/filetools.C:
support/filetools.h: adjust


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13595 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 09:09:57 +00:00
Lars Gullik Bjønnes
3b9338a3a8 Whitespace cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13565 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 23:56:29 +00:00
Georg Baum
23a95c2293 * text.C, tex2lyx.h (translate_len): make public
* table.C (handle_tabular): translate widths to LyX (bug 2290)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13403 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 15:37:35 +00:00
Georg Baum
fad5cd6700 fix bug 2234
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13399 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 15:05:47 +00:00
Georg Baum
8aa04369e3 fix bug 2236
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13324 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 14:57:39 +00:00
Lars Gullik Bjønnes
4a7ab830bc Delete all .cvsignore files from trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13208 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-10 22:09:45 +00:00
Jean-Marc Lasgouttes
01439a5334 fix compilation with automake 1.5
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10558 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-18 09:15:19 +00:00
Jürgen Spitzmüller
0ce45c32b6 fix bug 2090 (remove param \quotes_times). File format is up to 245 now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10549 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-13 10:59:39 +00:00
Georg Baum
2970d3734f fix bug 1979
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10404 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-22 09:51:44 +00:00
Jean-Marc Lasgouttes
c7ae6a7bc8 fix importing of grave accents
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10381 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-01 20:36:52 +00:00
Georg Baum
233c69505a partial fix for bug 20
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10356 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-26 11:58:43 +00:00
Georg Baum
db92c134c2 write output to infile.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10354 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-25 16:27:23 +00:00
Georg Baum
8ce79c6fd3 Allow specification of output filename of tex2lyx
fix tex2lyx invocation in configure.m4


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10353 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-25 13:49:38 +00:00
Lars Gullik Bjønnes
2c3f9b1482 add tex2lyx.man to extra dist
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10331 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 16:23:53 +00:00
José Matox
ab1efe344b updated format to 243, fix bug 1382, bug 22
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10324 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 13:07:16 +00:00
Angus Leeming
7704aa9055 Help Lars spell his name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10311 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 08:04:50 +00:00
Lars Gullik Bjønnes
ef8e527612 drop reLyX like it is hot, and setup to use tex2lyx instead (and remerged po files + no.po small update)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10244 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 15:18:14 +00:00
Georg Baum
2080e33e23 fix bug 1910
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10211 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 15:42:44 +00:00
Georg Baum
b38d210152 better environment handling in tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10185 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-14 15:19:01 +00:00
Georg Baum
f8e7b01983 small font tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10175 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-13 11:38:55 +00:00
Lars Gullik Bjønnes
a78c91bdbb make sure to dist pch.h and mark PCH_FILE as a built file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10173 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-12 23:42:23 +00:00
Angus Leeming
70572847e2 Whitespace, only whitespace. s/ +$//
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10024 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-09 09:58:08 +00:00
Georg Baum
166979d030 add diagnostic messages by Jean-Pierre Chr��tien and skip some more {} pairs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9991 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-01 14:01:18 +00:00
Georg Baum
38044d2cf7 fix relative file names in tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9975 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-25 16:01:19 +00:00
Lars Gullik Bjønnes
e5ae321dab the AM_* flags patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9963 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-20 16:56:28 +00:00
Georg Baum
fae970f4c2 set tex2lyx master file path correctly for input files in a subdir
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9962 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-20 16:50:03 +00:00
Georg Baum
621ea9c5c7 fix tex2lyx comment handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9950 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-18 07:21:00 +00:00
Georg Baum
b9cbf3424f fix \input, \include and \verbatiminput in tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9817 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-15 14:04:13 +00:00
Georg Baum
5307494394 Really fix start_of_appendix output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9768 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-31 16:37:10 +00:00
Georg Baum
d9dfa9c1e3 fix open files bug on solaris
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9752 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-27 18:37:42 +00:00
Georg Baum
33f008d7a1 Fix start_of_appendix output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9734 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-21 17:26:34 +00:00
Georg Baum
0153a52b57 Don't crash on nested tables anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9716 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-14 17:34:57 +00:00
Georg Baum
2db5077754 fix tex2lyx table column specification parsing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9708 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-10 17:58:39 +00:00
Georg Baum
847afab142 translate \thanks in title layouts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9699 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-07 12:30:44 +00:00