Commit Graph

9847 Commits

Author SHA1 Message Date
Michael Schmitt
43481937fe * 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/branches/BRANCH_1_4_X@14626 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-12 20:03:09 +00:00
Georg Baum
2a64df96f9 Fix bug 2404
* src/lyx_cb.C
	(newFile): Only set the new buffer if it is valid

	* src/BufferView_pimpl.C
	(BufferView::Pimpl::loadLyXFile): Test whether newFile succeeded

	* src/lyxfunc.C
	(LyXFunc::menuNew): Only set the new buffer if it is valid
	(LyXFunc::open): ditto

	* src/importer.C
	(Importer::Import): ditto

	* src/lyx_main.C
	(LyX::exec2): Only use the new buffer if newFile succeeded

	* src/buffer_funcs.C
	(newFile): discard the buffer and return 0 if the template is invalid

	* src/BufferView_pimpl.[Ch]
	(BufferView::Pimpl::newFile): remove, not used anymore

	* src/BufferView.C
	(BufferView::newFile): remove, not used anymore


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14623 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-12 12:31:19 +00:00
Jean-Marc Lasgouttes
98151fde55 * Customization.lyx:
* fr_Customization.lyx:
	* de_Customization.lyx: remove reference to reLyX.

	* Tutorial.lyx: rename sec:relyx label to sec:tex2lyx.
	* fr_Tutorial.lyx: ditto, and change references to reLyX




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14621 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-12 11:25:41 +00:00
Jean-Marc Lasgouttes
98097da2c9 * src/lyx_main.C (init): Do automatic reconfiguration even when
running in batch mode (bug 2741).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14618 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-11 22:10:23 +00:00
Jean-Marc Lasgouttes
84e22d209e Fix bug 2756:
* src/BufferView_pimpl.C (dispatch/LFUN_NEXT_INSET_TOGGLE): moved from
	LyXText.

	* src/text3.C (dispatch/LFUN_NEXT_INSET_TOGGLE): moved to
	BufferView::Pimpl, since this should work in mathed too.

	* src/mathed/math_nestinset.C (doDispatch/LFUN_INSET_TOGGLE): do not try to
	do the work which belongs to LFUN_NEXT_INSET_TOGGLE (bug 2756).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14616 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-11 21:40:24 +00:00
Georg Baum
8d7df59e74 Fix bug 2481 and read in of \over (related to bug 2481)
* src/mathed/math_fracinset.[Ch]
	(MathFracInset::extraBraces): new, return true for \atop
	* src/mathed/math_binominset.[Ch]
	(MathBinomInset::extraBraces): new, return true for \choose

        * src/mathed/math_factory.C
        (createMathInset): Create a MathFracInset of kind OVER for \over

        * src/mathed/math_fracinset.C
        (MathFracInset::draw): handle kind OVER
        (MathFracInset::drawT): ditto
        (MathFracInset::write): ditto
        (MathFracInset::name): ditto
        (MathFracInset::extraBraces): ditto

        * src/mathed/math_fracinset.h
        (Kind): New kind OVER


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14615 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-11 13:10:37 +00:00
Jean-Marc Lasgouttes
8a7f9ac00f new Czech splash; update Czech tutorial
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14613 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-11 09:41:39 +00:00
Jean-Marc Lasgouttes
f69f6c9eba add Sanda Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14609 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-10 15:54:56 +00:00
Jean-Marc Lasgouttes
64dc4919f9 * buffer.C (save): fix logic error in fix to but 2740
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14607 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-10 13:25:27 +00:00
Jean-Marc Lasgouttes
fb6b3d7509 update from Sanda Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14604 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-10 09:25:27 +00:00
Jean-Marc Lasgouttes
99c7563806 new Czech translation; remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14601 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-10 08:58:40 +00:00
Jean-Marc Lasgouttes
a680e9faee add Kostantino
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14596 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-09 22:07:09 +00:00
Jean-Marc Lasgouttes
4b804ed623 * lib/Makefile.am (dist_pkgdata_DATA): remove configure.py
(dist_pkgdata_PYTHON): and put it here
	(dist_scripts_DATA): rename to dist_scripts_PYTHON; this invokes
	automake's built-in python support.
	(install-data-hook): adapt to above change.

	* lib/lyx2lyx/Makefile.am (dist_lyx2lyx_DATA): rename to dist_lyx2lyx_PYTHON;
	this invokes automake's built-in python support.
	(install-data-hook): new target: sets executable bit on lyx2lyx.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14593 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-09 20:53:51 +00:00
Bo Peng
f6dbef59e6 Keep a copy of output from lib/configure.py to configure.log
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14591 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-09 15:27:12 +00:00
Jean-Marc Lasgouttes
743c2be02d fix the header of lyxrc.defaults
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14589 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-09 09:37:28 +00:00
Jean-Marc Lasgouttes
332d0e0010 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14587 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-09 09:34:07 +00:00
Jean-Marc Lasgouttes
40ee2fb4ac yet another annoying debug message bites the dust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14585 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 22:16:58 +00:00
Jean-Marc Lasgouttes
a3803ebf50 * src/mathed/math_scriptinset.C
(MathScriptInset::hasLimits): remove annoying debug message

	* src/mathed/math_nestinset.C
	(MathNestInset::script): ditto

	* src/CutAndPaste.C
	(copySelection): ditto



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14584 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 22:13:36 +00:00
Jean-Marc Lasgouttes
24f5fcbcf6 update to reflect the new menu structure
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14582 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 21:44:42 +00:00
Jean-Marc Lasgouttes
86a656c8e3 small cleanup after the no-sh patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14580 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 21:17:08 +00:00
Jean-Marc Lasgouttes
ccc943ac88 update italian l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14577 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 20:57:25 +00:00
Jürgen Spitzmüller
365a2daf53 Prevent boost::filesystem assert (w/ dataloss) when the backup dir was invalid or not writeable. War the user instead and skip backup (bug 2740)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14576 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 14:39:08 +00:00
Jean-Marc Lasgouttes
08b31ac8a5 (Backport from changeset 14515 from Lars)
Let gcc 4.x be handled.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14575 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 14:06:21 +00:00
Jean-Marc Lasgouttes
a06167692c forgot that
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14574 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 13:57:20 +00:00
Jean-Marc Lasgouttes
eb42722649 Fix bug 2616 (backport of changeset 14496 from G. Baum)
* src/LaTeX.C
        (LaTeX::deplog): Add the toc file to the dependencies if a line
        \tf@toc=\write#
        is present in the log file, since miktex does not write the line
        \openout# = `sample.toc'.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14573 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 13:56:21 +00:00
Jean-Marc Lasgouttes
bd648f4a81 Fix bug 2716 (backport changeset 14504 from G. Baum)
* lib/external_templates
	(XFig): Require the color package, since xfig generates LaTeX
	code with \color.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14571 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 13:33:49 +00:00
Jean-Marc Lasgouttes
226519b64f (backport of changeset 14516 from G. Baum)
Set CPPFLAGS only if not already set by the user (and ignore CXXFLAGS for
setting CPPFLAGS)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14570 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 13:26:22 +00:00
Jean-Marc Lasgouttes
41e2e9cea1 Partial fix for bug 2420 (backport of changeset 14495 from G. Baum)
* src/tex2lyx/preamble.C
	(parse_preamble): ignore the definition of the lyxgreyedout
	environment



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14569 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 13:12:07 +00:00
Jean-Marc Lasgouttes
1aea39cb93 Only add .lyx files to Makefile.depend (backport 14493 from G. Baum)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14567 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 10:59:21 +00:00
Jean-Marc Lasgouttes
40ea8765be Give feedback if TeXFiles.py fails (from Georg Baum)
* src/frontends/controllers/tex_helpers.h: doxyfy comment

	* src/frontends/controllers/tex_helpers.C
	(rescanTexStyles): Pop up a message box when TeXFiles.py fails



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14566 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 10:57:09 +00:00
Jean-Marc Lasgouttes
5bb256a268 forgot that
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14564 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 10:31:20 +00:00
Jean-Marc Lasgouttes
11c8752fc9 Fix bug 2524 (From Georg Baum)
* src/support/tests/test_convert: Change shell from bash to sh
	* src/support/tests/test_lstrings: ditto



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14563 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 10:29:43 +00:00
Jean-Marc Lasgouttes
c9706f7256 2006-08-08 Bennett Helm <bennett.helm@fandm.edu>
* MacOSX/LyX.app/Contents/Resources/lyxrc.dist: improve viewers
	that require X11; tweak the path_prefix search order.

	* MacOSX/LyX.app/Contents/Info.plist: update version.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14561 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 10:02:45 +00:00
Jean-Marc Lasgouttes
5c985f39ab Fix bug 2667 (from Georg Baum)
* 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/branches/BRANCH_1_4_X@14555 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-07 13:47:28 +00:00
Jean-Marc Lasgouttes
c0a50381c5 remove sdsc mirror
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14554 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-07 12:55:22 +00:00
Bo Peng
c012fabf39 lib/configure.py: display latex package checking results faster
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14548 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-06 23:21:43 +00:00
Bo Peng
293c9812db Add revision 14479 to the bug fixes section of status.14x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14480 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-17 19:50:41 +00:00
Bo Peng
d6a86a1e16 Change the encoding of some python scripts from iso-8859-15 to iso-8859-1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14479 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-17 19:46:03 +00:00
Bo Peng
1e2f3d80e8 Minor fix to status.14x concerning no-shell patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14473 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-17 13:56:33 +00:00
Bo Peng
ffb930966e Add status.14x entry for the no-shell patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14471 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-17 02:20:48 +00:00
Bo Peng
94f53c061e no-Shell patch five: change indent of lib/scripts/TeXFiles.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14466 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-15 20:02:13 +00:00
Bo Peng
5ae5cb1d70 no-Shell patch four: spaces/tab adjustment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14465 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-15 19:57:23 +00:00
Bo Peng
1603f20819 no-Shell patch three: fig2pstex/pdftex.sh -> fig2pstex/pdftex.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14464 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-15 19:41:30 +00:00
Bo Peng
d8fb4444fb no-Shell patch two: fig_copy.sh -> fig_copy.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14463 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-15 19:32:56 +00:00
Bo Peng
26d0812c95 no-Shell patch one: convertDefault.sh -> convertDefault.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14462 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-15 15:42:50 +00:00
Jean-Marc Lasgouttes
29eeae433c * src/frontends/qt2/QContentPane.C (q_key_state): allow both Alt and Meta as alt
modifier. 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14445 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-13 09:25:32 +00:00
Jean-Marc Lasgouttes
33b3b933b9 back to work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14444 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-13 09:13:23 +00:00
Jean-Marc Lasgouttes
1f81017894 forgot to update this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14441 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-13 08:22:08 +00:00
Jean-Marc Lasgouttes
c0a2e555a3 last bits for 1.4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14440 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-13 08:10:53 +00:00
Jean-Marc Lasgouttes
d06be66763 Update again Slovak l10n; remerge.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14438 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-13 08:02:27 +00:00