Commit Graph

83 Commits

Author SHA1 Message Date
Georg Baum
d96c36e555 Fix bug 3052: Always start a new paragraph after a noweb code chunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16467 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-02 12:35:53 +00:00
Georg Baum
979fdf7456 Fix strange bibtex problem by converting some more functions to use FileName
instead of std::string

	* src/support/lyxlib.h
	* src/support/getcwd.C
	(getcwd): return a FileName, not a std::string in filesystem encoding

	* src/support/filetools.[Ch]
	(makeAbsPath): return a FileName, not a std::string in undefined encoding

	* src/support/lyxlib.h
	* src/support/tempName.C
	(makeAbsPath): return a FileName, not a std::string in undefined encoding

	* many other files: Adjust to the changes above


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16399 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-27 10:56:11 +00:00
Georg Baum
51839e89a7 Unify InsetLatexAccent output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16254 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-12 18:55:55 +00:00
Georg Baum
995d1337bb do not create invalid .lyx files when importing \i{}, \j{}, \l{} or \L{}.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16253 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-12 14:36:52 +00:00
Georg Baum
02fe5e67b8 Translate \l{} and \L{} to InsetLatexAccent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16252 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-12 13:56:32 +00:00
Georg Baum
9295b6e6c8 * src/tex2lyx/text.C
(known_quotes): Fix typo (found by Charles de Miramon)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16196 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-07 11:25:42 +00:00
Georg Baum
95579c2a71 more unicode filenames (+ fix one possible initialization order bug in
needsUpdate() in src/lyx_main.C).
toFilesystemEncoding() is now used in all places where it is needed if I did
not forget anything.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16184 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-05 12:57:01 +00:00
Georg Baum
8e6e970d7b Next step of true unicode filenames: Use support::FileName instead of
std::string at many places (not all yet).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16069 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 21:30:39 +00:00
Bo Peng
7b031e5d86 Add inset clearpage and cleardoublepage, from Urgas
* src/insets/insetert.C
	* src/text3.C
	* src/lfuns.h
	* src/factory.C
	* src/tex2lyx/text.C
	* src/text.C
	* src/LyXAction.C: add and handle LFUN_CLEARPAGE_INSET and LFUN_CLEARDOUBLEPAGE_INSET
	* src/insets/insetpagebreak.h/C: extend InsetPageBreak
	* lib/lyx2lyx/lyx_1_5.py: file format change
	* lib/ui/stdmenus.ui: add menu items


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16037 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 15:09:01 +00:00
André Pönitz
6c300f72a2 move everything into namespace lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15422 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 00:16:43 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
Georg Baum
6383254672 update fileformat and fix output of paperfontsize
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9593 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-06 09:32:52 +00:00
Georg Baum
76b8d1b25f handle includegraphics*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9579 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-03 14:20:19 +00:00
Georg Baum
1b80079017 Finally fix tex2lyx, lyx2lyx round trip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9577 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-02 18:25:56 +00:00
Georg Baum
b1cc3aad86 fix lyx->tex->lyx round trip problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9567 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-02 12:40:50 +00:00
Lars Gullik Bjønnes
b6e6f87f71 ditch FileInfo -> use boost.filesystem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9547 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 10:42:26 +00:00
Lars Gullik Bjønnes
9c2ba3c4ff rename tostr.[Ch] to convert.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9448 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 16:39:35 +00:00
Lars Gullik Bjønnes
6a55be9506 tostr -> convert and some bformat work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9446 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 15:40:49 +00:00
Georg Baum
d7b224d692 fix bug 1750
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9444 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 13:22:20 +00:00
Georg Baum
9c1ace9a87 partial longtable support for tex2lyx (partial fix for bug 220)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9378 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-15 20:21:43 +00:00
Georg Baum
83eced7fdc fix bug 1620 in tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9098 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-21 14:04:59 +00:00
Angus Leeming
e978fa42e3 Whitespace, only whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9044 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-05 10:11:42 +00:00
José Matox
f17505a8fb Remove space at end of line, when superfluous.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8953 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-16 11:27:51 +00:00
Georg Baum
cfed2612eb handle natbib and jurabib packages and citation commands
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8882 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-10 09:40:53 +00:00
Georg Baum
27b0ba7483 make tex2lyx produce version 235 lyx files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8854 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-29 17:03:37 +00:00
Georg Baum
3c102d9778 improve font handling, small const fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8825 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-28 06:53:12 +00:00
Georg Baum
a5bf3f142f fix bug 1446 (tex2lyx nesting)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8822 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-23 15:11:23 +00:00
Georg Baum
cb73d69ae4 improve tex2lyx paragraph and comment handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8815 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-18 06:47:19 +00:00
Georg Baum
750bcd9858 recognize \lyxdot and fix \def commands with %-newline combinations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8715 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-30 11:50:54 +00:00
Angus Leeming
77d02a91dd Georg's tex2lyx patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8549 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 16:51:21 +00:00