Commit Graph

128 Commits

Author SHA1 Message Date
Martin Vermeer
e41b09f2d4 * insettabular.C (drawSelection): initialize tabular background
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14262 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-29 07:17:54 +00:00
Jean-Marc Lasgouttes
a63942bee5 Patch from Martin Vermeer for bug 2218.
* src/frontends/xforms/FormSpellchecker.C (update): 
	* src/frontends/qt2/QSpellchecker.C (update_contents): fix bug 
	2218: Spellchecker doesn't pop up dialogue window for the first 
	misspelled word.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14247 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-27 12:20:59 +00:00
Jean-Marc Lasgouttes
daa8296b7f The big cygwin_path rewrite patch from Enrico Forestieri.
Renaming:
	cygwin_path_fix		->	windows_style_tex_paths
	cygwin_path_fix_needed	->	tex_expects_windows_paths
	check_cygwin_path	->	check_windows_style_tex_paths
	use_cygwin_paths	->	use_windows_paths
	RC_CYGWIN_PATH_FIX	->	RC_TEX_EXPECTS_WINDOWS_PATHS

	* src/frontends/qt4/ui/QPrefCygwinPathUi.ui
	* src/frontends/qt3/ui/QPrefCygwinPathModule.ui
	  Updated checkbutton label and description

	* src/frontends/qt4/QPrefsDialog.C
	  (PrefCygwinPath): cygwin_path_fix -> windows_style_tex_paths
	  (QPrefsDialog): Enable checkbutton for native WIN32 builds

	* src/frontends/xforms/forms/form_preferences.fd
	  Updated label and name of checkbutton

	* src/frontends/xforms/FormPreferences.C
	  (apply): cygwin_path_fix -> windows_style_tex_paths
	           check_cygwin_path -> check_windows_style_tex_paths
	  (build): Enable checkbutton for native WIN32 builds
	  (update): Ditto
	  (feedback): Updated description

	* src/frontends/qt3/QPrefs.C
	* src/frontends/qt3/QPrefsDialog.C
	* src/frontends/qt3/QPrefsDialog.h
	  Renaming as above, enabled checkbutton for native WIN32 builds

	* src/support/os_unix.C
	* src/support/os.h
	* src/support/os_win32.C
	  Renaming cygwin_path_fix -> windows_style_tex_paths
	* src/support/os_cygwin.C
	  Ditto
	  (external_path, external_path_list): always return windows
	  style paths, not depending on the checkbutton status

	* src/lyxrc.C
	* src/lyxrc.h
	* src/lyxfunc.C
	* src/lyx_main.C
	  Renaming

	* lib/configure.py
	  Renaming, more meaningful diagnostics




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14243 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-27 10:54:14 +00:00
Georg Baum
2019a3e590 Fix limit display of intop and ointop
* src/mathed/math_scriptinset.C
	(MathScriptInset::hasLimits): handle \intop and \ointop

	* lib/symbols: add intop and ointop


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14230 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-26 16:38:11 +00:00
Jean-Marc Lasgouttes
e8e9296063 fix bug 2650: weird numbering and crash in italian documents
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14218 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-26 10:54:02 +00:00
Georg Baum
332a0fef95 * src/mathed/math_gridinset.C
(doDispatch): fix off by one error when checking cur.idx() (bug 2655)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14187 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-23 15:32:54 +00:00
Jean-Marc Lasgouttes
d6e40e19ad use our own font width cache with Qt/Mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14127 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-16 14:32:42 +00:00
Georg Baum
8fa0d2ccb3 Fix crash on exit (bug 2549) by correct usage of QApplication
* src/lyx_cb.C
        (quitLyX): lyx_gui::exit takes now an argument

        * src/frontends/{gtk,xforms}/lyx_gui.C
        (lyx_gui::parse_init): rename to lyx_gui::exec and call LyX::exec2
        (void lyx_gui::exit): add exit status argument

        * src/frontends/qt2/lyx_gui.C
        (cleanup): new function for pointer cleanup
        (lyx_gui::parse_init): rename to lyx_gui::exec and call LyX::exec2,
        turn static variables into automatic variables
        (void lyx_gui::exit): add exit status argument
        (start): Use cleanup()
        (exit): ditto

        * src/frontends/lyx_gui.h
        (parse_init): remove
        (exec): new
        (exit): Take exist status argument

        * src/lyx_main.[Ch]
        (LyX::priv_exec): split into LyX::priv_exec and LyX::exec2

        * src/lyx_main.C
        (lyx_exit): New, choose the right exit function
        (showFileError): call lyx_exit
        (LyX::queryUserLyXDir): ditto
        (LyX::init): ditto
        (LyX::priv_exec): ditto
        (LyX::priv_exec): Replace want_gui by lyx_gui::use_gui
        (LyX::priv_exec): replace lyx_gui::parse_init by lyx_gui::exec and
        exec2
        (LyX::init): Replace gui argument by lyx_gui::use_gui



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14059 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-09 13:07:04 +00:00
Martin Vermeer
01190aaf7a Remembered this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14058 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-09 12:19:00 +00:00
Jean-Marc Lasgouttes
a2a94df651 small updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14043 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-08 12:56:29 +00:00
Georg Baum
5086925d93 add bug number
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14042 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-08 12:42:36 +00:00
Jean-Marc Lasgouttes
27b299205d * src/bufferparams.h: make author_map use an unsigned index, to avoid
a warning.

	* src/text.C (readParToken): handle \change_inserted and
	\change_deleted tokens with wrong author index (bug 2614).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14029 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-07 17:06:00 +00:00
Georg Baum
51ca3d43d3 * lib/configure.py: Add tgif->png and tgif->ppm converters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14021 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-06 11:42:35 +00:00
Jean-Marc Lasgouttes
993374a769 2006-06-01 Panayotis Papasotiriou <papasot@physics.upatras.gr>
* Makefile.am:
	* templates/ijmpc.lyx: 
	* layouts/ijmpc.layout: new textclass for International Journal of
	Modern Physics C. 

	* templates/ijmpd.lyx:
	* layouts/ijmpd.layout: update.

	* LaTeXConfig.lyx.in:
	* Extended.lyx: update for ijmpc/d textclasses.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13978 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-01 13:14:19 +00:00
Jean-Marc Lasgouttes
86a77679c8 * src/intl.C (InitKeyMapper): reset kbmap file names if the files
could not be read (bug 2604).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13970 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-31 10:32:26 +00:00
Jürgen Spitzmüller
b75165353e fix bug 2623:
* lib/layouts/memoir.layout:
	add ProvidesMakeindex

* src/LaTeX.C (run):
	rerun latex if idx file is empty (needed by memoir)
	fix typo in comment
* src/LaTeXFeatures.C (getPackages):
	whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13963 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-29 17:28:02 +00:00
Jean-Marc Lasgouttes
48f0a4b681 * src/support/os_unix.C (canAutoOpenFile, autoOpenFile): add support for Mac
OS X.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13960 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-29 16:41:31 +00:00
Jürgen Spitzmüller
5d43d3a0c4 add support for dvipdfmx converter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13935 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-26 15:17:18 +00:00
Georg Baum
44aff0779e From Joost Verburg: Put the clean_dvi.py script into the main distribution
* lib/configure.py
	(checkLatex): Add DraftDVI converter on windows if dv2dt and dt2dv
	are available
	(checkFormatEntries): Add DraftDVI entry on windows if dv2dt and
	dt2dv are available

	* lib/Makefile.am: add clean_dvi.py

	* development/Win32/packaging/build_lyxwin.sh: remove clean_dvi.py
	stuff

	* development/Win32/packaging/package_lyxwin.sh: remove configure
	mangling for clean_dvi.py

	* development/Win32/packaging/clean_dvi.py: move to lib/scripts

	* development/Win32/packaging/README: remove clean_dvi.py stuff


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13922 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-24 19:52:27 +00:00
Jürgen Spitzmüller
7941f54737 * BufferView_pimpl.C (getStatus):
Disable saving of bookmarks in mathed for it is not yet supported
  	and makes LyX crash (bug 2597)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13910 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-22 14:26:28 +00:00
Jürgen Spitzmüller
e64a71d844 * insettabular.C (doDispatch):
do not mark the cursor undispatched after mouse (button 3) press
	(prevents the cursor from leaving the tabular when opening the 	
	dialog).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13907 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-22 13:13:06 +00:00
Jürgen Spitzmüller
31f71bf364 * insettabular.C (doDispatch):
fix crash due to invalidated
	cursor after insertAciiString (bug 2603).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13904 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-22 10:18:02 +00:00
Georg Baum
4c0a7b6a0f Fix crash that occurs if the cursor is in a table cell when the document class
is changed
        * src/cursor.C: remove unused 'using std::swap'
        * src/BufferView.C: ditto

        * src/CutAndPaste.[Ch]
        (switchBetweenClasses): replace ParagraphList argument with InsetText
        argument. This avoids an unnecessary swap in lyxfunc.C.

        * src/CutAndPaste.C
        (pasteSelectionHelper): Adjust to the changes above
        (pasteSelectionHelper): Use ParagraphList::swap instead of std::swap.
        This fixes the crash.

        * src/lyxfunc.C
        (LyXFunc::dispatch): Adjust to switchBetweenClasses changes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13903 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-22 10:12:09 +00:00
Jean-Marc Lasgouttes
aa2522a21c update German docs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13901 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-22 09:45:17 +00:00
Georg Baum
cb99a55588 * src/insets/insetgraphics.C
(InsetGraphics::prepareFile): Rename file in the temp dir if the
	extension does not match the format (bug 2235)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13900 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-22 09:37:29 +00:00
Martin Vermeer
5edcf97c19 * paragraph_pimpl.C
(Paragraph::Pimpl::erase): Fix crash when selecting and erasing
	"blue" paragraph break in CT mode (report JMarc)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13884 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-20 10:33:02 +00:00
Jean-Marc Lasgouttes
3b6c6ef32c * src/frontends/qt2/qfontloader.C (initFontPath, ~FontLoader): add fonts in
lyxdir/fonts to system fonts in windows; remove them in destructor.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13876 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-20 08:20:07 +00:00
Jean-Marc Lasgouttes
59810902b9 * math_hullinset.h (canTrackChanges): remove, since math insets do
not implement (yet) change tracking (bug 2214).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13868 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-18 21:30:06 +00:00
Georg Baum
a96929d065 Add \overset and \underset to math panel (bug 2533):
* lib/images/math/underset.xpm: new
	* lib/images/math/overset.xpm: new

	* lib/Makefile.am: add new files

	* src/frontends/controllers/ControlMath.C
	(latex_deco[]): add overset and underset


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13859 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-18 07:14:25 +00:00
Jean-Marc Lasgouttes
f4c0658d1b New auto-open feature from Bo Peng (with help from Jean-Marc and Enrico)
* src/lyx_main.C (init): call Formats::setAutoOpen.
	
	* src/lyxrc.C (read): do not reset editor/viewer values of "none".

	* src/format.C (fixCommand): helper function: tweak command depending
	of the availability of OS viewer/editor.
	(setAutoOpen): run fixCommand over all the formats.

	* src/support/Makefile.am: under win32, link against shlwapi.dll.
	
	* src/support/os_*.C (canAutoOpenFile, autoOpenFile): new
	functions, used	to let the OS handle viewers and editors it knows about.

	* configure.ac: improve check for shlwapi.

	* lib/configure.py: remove check for native windows viewers.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13856 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-17 22:37:24 +00:00
Jürgen Spitzmüller
1a5e8321f1 revert r13837
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13839 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-12 14:54:05 +00:00
Jürgen Spitzmüller
85d1dca82f document fix for bug 2380.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13837 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-12 13:58:40 +00:00
Jean-Marc Lasgouttes
e959fdfae4 * src/lyx_main.C (init): call queryUserLyXDir just after reading
lyxrc.dist, but before reading lyxrc.defaults; add extra_prefix to
	the PATH before reconfiguring.
	(needsUpdate): new helper function; returns true if file does not
	exist or is older than configure.py.
	(queryUserLyXDir): check textclass.lst and packages.lst in
	addition to lyxrc.defaults.
	(reconfigureUserLyXDir): use SystemCall, since system() does not
	wait on windows.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13815 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-09 15:41:08 +00:00
José Matox
e76a0f1f6c Add status.14x entry related to template and examples file format update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13800 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-05 11:06:41 +00:00
Jean-Marc Lasgouttes
b3b0afb77e * src/lyx_main.C (readRcFile): do not report an error if file is not
found. 
	(init): read lyxrc.dist before lyxrc.defaults; remove code to read
	lyxrc (LyX 1.1.5 compatibility code).

	* src/encoding.C (read): 
	* src/language.C (read): set debug to the INFO channel.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13790 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-02 13:44:19 +00:00
Jürgen Spitzmüller
6573ea27bc Much better performance when using natbib (bug 2460):
* src/BufferView_pimpl.C
	(bool BufferView::Pimpl::dispatch): update bibfiles cache after adding or
	deleting a bib database
* src/buffer.C
	(bool Buffer::readDocument): update bibfiles cache after the document 
	was read
* src/buffer.[Ch]
	(void Buffer::updateBibfilesCache): new method to build or update a cached
	vector with all used bibtex databases. 
	(void Buffer::getBibfilesCache): new method that returns the actual cache.
	(Buffer * Buffer::getMasterBuffer): new (non-const) method to get the buffer 
	of the master document

* src/insets/insetbibtex.C
	(void InsetBibtex::doDispatch): update the bibfiles cache after the inset has
	been modified.
* src/insets/insetinclude.C.
	(void Insetinclude::doDispatch): update the bibfiles cache after the inset 
	has Been modified.
* src/insets/insetinclude.[Ch]:
	(void Insetinclude::updateBibfilesCache): new method to build or update 
	a cached vector with all used bibtex databases. 
	(void Insetinclude::getBibfilesCache): new method that returns the actual 
	cache.
* src/insets/insetcite.C
	(string const getNatbibLabel): store a map of timestamps for all used bibtex 
	files (buffer's bibfiles cache) and rebuild the list of keys only if the timestamps
	or the list of files have changed. This is the actual performance boost. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13782 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-28 17:50:49 +00:00
Jean-Marc Lasgouttes
03b848f567 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/branches/BRANCH_1_4_X@13780 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-28 16:35:50 +00:00
Jean-Marc Lasgouttes
25f1d0553f Add document->compressed menu item, by Bo Peng (ben.bob@gmail.com)
* src/LyXAction.C, src/lfuns.h: add LFUN_TOGGLE_COMPRESSION
	* src/BufferView_pimpl.C: react to menu item
	* lib/ui/stdmenus.ui: add buffer_toggle_compression



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13779 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-28 16:29:45 +00:00
Jean-Marc Lasgouttes
9d509572db * src/support/package.C.in (get_build_dirs): Look at Makefile
instead of lyxrc.defaults. Simplify the check for
          chkconfig.ltx.

	* configure.ac: do not run lib/configure.py

	* lib/doc/Makefile.am: LaTeXConfig.lyx is not generated anymore.

	* lib/configure.py (removeExtraFiles): remove.

	* lib/Makefile.am: no files are generated in there.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13764 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 16:47:07 +00:00
Jean-Marc Lasgouttes
83e0fdf99b update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13762 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 13:07:23 +00:00
Georg Baum
a3123b4c4a * lib/layouts/IEEEtran.layout: Add biographynophoto style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13756 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 07:35:50 +00:00
Georg Baum
a3b23f1f94 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/branches/BRANCH_1_4_X@13754 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 06:59:06 +00:00
Jean-Marc Lasgouttes
2a156525f9 * text.C (numberOfHfills): do not forget to count the last hfill
(bug 2509).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13749 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-26 13:42:19 +00:00
Georg Baum
7e9bd4bd81 Fix bug 2107:
* src/LaTeXFeatures.[Ch]: replace nice_ by runparams_

        * src/insets/insetexternal.C
        (InsetExternal::validate): Use the correct template for the desired
        output format

        * src/insets/insetgraphics.C
        (InsetGraphics::prepareFile): Record the needed files for "latex"
        or "pdflatex" format, dependant on the desired output format

        * src/insets/insetinclude.C
        (InsetInclude::latex): ditto

        * src/BufferView_pimpl.C
        (BufferView::Pimpl::getStatus): adapt to LaTeXFeatures changes

        * src/paragraph_pimpl.C
        (Paragraph::Pimpl::simpleTeXSpecialC): ditto

        * src/buffer.C
        (Buffer::makeLaTeXFile): ditto
        (Buffer::makeLinuxDocFile): ditto
        (Buffer::makeDocBookFile): ditto

        * src/paragraph.C
        (Paragraph::simpleTeXOnePar): ditto

        * src/exporter.C
        (Backends): Add "pdflatex" backend format
        (Exporter::Export): set runparams.flavor correctly for "pdflatex" format

        * lib/external_templates
        (RasterImage): Use "pdflatex" format in PDFLaTeX template
        (XFig): ditto
        (ChessDiagram): Add PDFLaTeX template
        (Date): ditto

        * lib/configure.py: Add "pdflatex" format


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13745 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-26 11:44:26 +00:00
Georg Baum
47d49731a4 From Angus:
Enable lib/configure.py to find tex2lyx if the path to it contains spaces.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13742 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-26 07:34:21 +00:00
Georg Baum
74efa7cd1a Use lib/configure.py and ditch the m4 version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13740 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-25 14:57:08 +00:00
Georg Baum
735707cc5e * src/LaTeX.C
(LaTeX::scanLogFile): remove \0 characters inserted by MikTeX before
	further processing
	(LaTeX::deplog): likewise


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13738 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-25 10:12:08 +00:00
Jean-Marc Lasgouttes
46173d31e5 add support for naustrian; fix locale for austrian
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13725 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 12:21:05 +00:00
Jürgen Spitzmüller
9e40cf69f7 Don't jump back to cursor on inset clicking (bug 2426):
* src/insets/insetcollapsable.C
	(void InsetCollapsable::doDispatch): undispatch cursor after lmb button click.
* src/insets/insettabular.C
	(void InsetTabular::doDispatch):  undispatch cursor after rmb click.
* src/insets/insetref.C
	(void InsetRef::doDispatch):  undispatch cursor after rmb click.
* src/text3.C
	(void LyXText::dispatch): set cursor also after rmb click.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13724 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 10:43:49 +00:00
Georg Baum
5a755b4e1e Fix bug 2285 (tex2lyx is not found by lib/configure when compiling with
--with-version-suffix):

        * src/lyx_cb.C
        (reconfigure): get the configure command from package()

        * src/lyx_main.C
        (showFileError): ditto

        * src/support/package.[Ch]
        (configure_command): new, return the configure command

        * src/support/package.C.in
        (with_version_suffix): new, return the version suffix argument
        of the configure command

        * src/support/Makefile.am
        (package.C.in): substitute %PROGRAM_SUFFIX% in package.C.in

        * config/lyxinclude.m4: substitute program_suffix


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13723 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 10:28:27 +00:00