Commit Graph

1607 Commits

Author SHA1 Message Date
Georg Baum
53e52f2df1 * lib/doc/doc_toc.py: Add language info for Czech
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14642 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 13:57:32 +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
783cb8f8bf * lib/chkconfig.ltx: fix comments ("LyXConfig.lyx.in" =>
LaTeXConfig.lyx.in")
        * lib/doc/LyXConfig.lyx.in: remove obsolete file
        * lib/doc/Makefile.am: remove LyXConfig.lyx.in from EXTRA_DIST


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14630 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-12 20:48:38 +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
Jean-Marc Lasgouttes
8e836c60d8 * 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/trunk@14622 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-12 11:26:09 +00:00
Jean-Marc Lasgouttes
e658f6cd1f new Czech splash; update Czech tutorial
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14614 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-11 09:42:25 +00:00
Jean-Marc Lasgouttes
607fcadbeb add Sanda Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14610 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-10 15:55:11 +00:00
Jean-Marc Lasgouttes
a7a2304327 update from Sanda Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14603 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-10 09:23:52 +00:00
José Matox
50cebbc5b3 Add language and encoding information
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14599 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-09 22:22:59 +00:00
José Matox
ff7f289358 Add language attribute to default file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14598 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-09 22:18:27 +00:00
Jean-Marc Lasgouttes
652bed0aca add Kostantino
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14595 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-09 22:06:38 +00:00
José Matox
d401ee07c8 Add encoding to a default file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14594 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-09 21:56:12 +00:00
Jean-Marc Lasgouttes
0be91e7205 * 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/trunk@14592 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-09 20:51:55 +00:00
Bo Peng
46212cf492 Keep a copy of output from lib/configure.py to configure.log
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14590 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-09 15:21:22 +00:00
Jean-Marc Lasgouttes
8d9e8f5097 fix the header of lyxrc.defaults
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14588 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-09 09:36:42 +00:00
Jean-Marc Lasgouttes
54d193a0a9 update to reflect the new menu structure
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14581 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 21:41:16 +00:00
Jean-Marc Lasgouttes
debd34424f remove remaining references to fig_copy.sh
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14579 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 21:12:50 +00:00
José Matox
a9f2042082 Update Makefile.am with new and renamed files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14568 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 11:21:24 +00:00
José Matox
37dc5aeabe Convert python scripts to utf-8.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14565 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 10:42:59 +00:00
José Matox
6785e442cf Add support for input encoding handling by lyx2lyx.
Support all lyx files (support goes to lyx-0.6 the first public available lyx version).

Fine tune the guessing of the lyx version used to produce the document (only useful for 2.10 and 2.15 documents).

Support to convertion to utf-8 encoding was added but it is not (yet) active.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14558 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-07 14:10:41 +00:00
José Matox
9e832550ad generate_enconding_info.py parses lib/languages and generates lyx2lyx_lang.py
as a python dictionary, ready to be used by other python modules.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14557 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-07 14:05:07 +00:00
José Matox
de0c8aef7c Give to get value a default argument,
if the value is not found the default value is returned.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14556 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-07 13:59:01 +00:00
José Matox
7f552526fc string.join(lst) -> " ".join(lst) and not "".join(lst)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14538 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-02 16:13:01 +00:00
José Matox
26c0f379c7 Remove calls to deprecated module string.
The calls are now made to string methods, the advantage being that they work with
unicode strings.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14537 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-02 15:45:44 +00:00
José Matox
552a471c99 Start to consolidate the functions in parser tools.
Add a unit testing for parser tools functions.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14536 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-02 14:25:43 +00:00
José Matox
b00206e882 Small fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14535 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-02 14:23:45 +00:00
José Matox
695bfd88ed Convert all python files to utf-8.
Add a documentation string to each module.

Add a documentation string to every function in the modules.

file is a python reserved word => s/file/document/g as variable

add a new property to modules, supported_versions that holds
 the versions supported by that module

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14534 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-02 14:19:22 +00:00
José Matox
2987ccdd9e lyx2lyx: Remove -tt from header since it does not work.
Changed the enconding to utf-8.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14533 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-02 09:54:41 +00:00
José Matox
088bcef87b lyx_0_08.py:
lyx_0_10.py
LyX.py: add support for UserGuide convertion from lyx-0.8 (and 0.7).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14532 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-01 22:54:57 +00:00
José Matox
958eead216 Add module documentation to lyx_0_10.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14531 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-01 14:38:13 +00:00
José Matox
ddc31f7aee Rename files:
lyx_1_1_6.py		-> lyx_1_1_6_0.py
	lyx_1_1_6fix3.py	-> lyx_1_1_6_3.py

Change LyX.py accordingly.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14530 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-01 08:38:24 +00:00
Georg Baum
f3b66682f2 Add converter to plain text and fix child format buglet
* src/graph.C
	(Graph::getReachable): Only add a child format to only viewable
	formats if the child or parent has a viewer. Previously a child
	format was also added when there was no viewer at all.

	* lib/configure.py
	(checkFormatEntries): add text2, text3 and text4 formats
	(checkConverterEntries): add ps2ascii , pstotext and catdvi converters


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14528 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-31 17:43:59 +00:00
Georg Baum
437fcef400 Fix bug 2716:
* 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/trunk@14504 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-28 16:21:54 +00:00
José Matox
8fc2c1dd05 * LyX.py
* lyx_1_1_5.py
	* lyx_1_2.py
	* lyx_1_3.py
	* lyx_1_4.py
	* lyx_1_5.py

	* parser_tools.py: remove functions that are not generic, i.e.
assume a specific pattern for the file format, and move them to the
places where they are used.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14503 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-27 18:30:13 +00:00
Bo Peng
3181082c31 lib/configure.py: do not wait till the end of 'latex wrap_chkconfig.ltx' to display latex class availability info
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14501 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-27 14:18:47 +00:00
José Matox
857eb02a5c parser_tools.py (del_token): rename arguments to be coherent with other functions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14499 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-27 11:37:26 +00:00
Georg Baum
1632664595 Do not add backup .lyx~ files to lib/doc/Makefile.depend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14493 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-22 15:17:27 +00:00
Bo Peng
2ae2c0db71 Remove hardcoded option -tt from python scripts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14478 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-17 19:41:32 +00:00
Bo Peng
da915923fd 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/trunk@14477 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-17 19:37:24 +00:00
Michael Schmitt
3c9e9cf03a remove xforms and libXpm; fix gv's URL
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14455 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-14 08:58:32 +00:00
Michael Schmitt
c1bca32159 update to \lyxformat 245
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14454 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-14 08:56:07 +00:00
Georg Baum
c9c6ed0b7f Split clipboard and X selection
* src/LyXAction.C
	(LyXAction::init): handle new LFUN_CLIPBOARD_PASTE

	* src/insets/insettabular.C
	(InsetTabular::doDispatch): ditto

	* src/insets/insetbox.C
	(InsetBox::doDispatch): ditto

	* src/insets/insetert.C
	(InsetERT::doDispatch): ditto
	(InsetERT::getStatus): ditto

	* src/insets/insetcharstyle.C
	(InsetCharStyle::doDispatch): ditto

	* src/BufferView_pimpl.C
	(BufferView::Pimpl::selectionRequest): stuff selection, not clipboard

	* src/mathed/math_nestinset.C
	(MathNestInset::lfunMousePress): get stuff selection, not clipboard
	(MathNestInset::lfunMouseRelease): clipboard -> selection in
	commented code

	* src/CutAndPaste.C
	(cutSelection): ditto

	* src/frontends/{qt3,gtk}/GuiImplementation.C
	(GuiImplementation::newWorkArea): create new selection, not clipboard,
	since the clipboard is now an object
	(GuiImplementation::destroyWorkArea): destroy selection, not clipboard

	* src/frontends/{qt4,qt3,gtk}/GuiSelection.h: new, copied from
	GuiClipboard.h

	* src/frontends/{qt4,qt3,gtk}/GuiSelection.C: new, copied from
	GuiClipboard.C

	* src/frontends/{qt3,gtk}/GuiImplementation.h
	(selection): new accessor for selection_
	(selection_): new, the global selection object

	* src/frontends/{qt4,qt3,gtk}/Makefile.am: add GuiSelection.C and
	GuiSelection.h

	* src/frontends/{qt4,qt3,gtk}/GuiClipboard.C
	(GuiClipboard::get): return clipboard, not selection
	(GuiClipboard::put): stuff clipboard, not selection

	* src/frontends/{qt4,qt3,gtk}/GuiClipboard.h
	(haveSelection): remove (this is now in GuiSelection)

	* src/frontends/{qt3,gtk}/GuiClipboard.h
	(old_work_area_): remove, since it is not needed anymore

	* src/frontends/gtk/ghelpers.C
	(getGTKStockIcon): handle LFUN_CLIPBOARD_PASTE

	* src/frontends/Clipboard.h
	(haveSelection): remove (this is now in Selection)

	* src/frontends/qt4/GuiImplementation.[Ch]
	(GuiImplementation::selection): new accessor for selection_

	* src/frontends/Gui.h
	(selection): New accessor for the global selection object

	* src/frontends/Selection.h; new, copied from Clipboard.h

	* src/frontends/Makefile.am: add Selection.h

	* src/text3.C
	(various): s/clipboard().haveSelection/selection().haveSelection/

	(LyXText::dispatch): handle LFUN_CLIPBOARD_PASTE
	(LyXText::getStatus): ditto

	* src/lfuns.h: new lfun LFUN_CLIPBOARD_PASTE

	* lib/ui/stdmenus.ui: add new lfun LFUN_CLIPBOARD_PASTE


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14408 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-10 11:32:25 +00:00
Michael Schmitt
f8bfe2bc99 * src/lyxrc.C:
* src/lyxrc.h:
	* lib/lyxrc.example: remove wheel jump option


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14406 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-09 17:57:15 +00:00
Michael Schmitt
d4c773d845 * classic.ui:
* stdmenus.ui: remove menu entries for LaTeX preamble


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14402 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-09 17:25:55 +00:00
Georg Baum
149d7394bf fix image paths
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14394 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-09 10:14:04 +00:00
Bo Peng
f8404ec837 lib/configure.py: fix CheckTexPaths
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14370 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-08 02:50:24 +00:00
Angus Leeming
0edeef83b7 Fix humiliating typo and update the link to the licence page on the web.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14361 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-07 15:58:57 +00:00
Bo Peng
efc3b4e52a lib/configure.py: fix checkTeXAllowSpaces, by Enrico
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14336 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-04 13:55:28 +00:00
Bo Peng
c267eec1c9 lib/lyx2lyx/lyx_1_5.py: replace tab with spaces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14322 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-03 20:09:43 +00:00
Georg Baum
0c0c43b8eb merge booktabs branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14319 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-03 19:13:56 +00:00
Bo Peng
d17833b8d0 lib/configure.py: use \nonstopmode instead of -interaction=nonstopmode, from JMarc and Enrico
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14316 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-03 15:28:13 +00:00
Bo Peng
9067cdb3e8 lib/configure.py: add -interaction=nonstopmode to cygwin/latex test.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14287 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-02 03:09:00 +00:00
Bo Peng
34001ec175 Remove all tabs in lib/lyx2lyx/*.py, corresponding to the added -tt option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14285 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-01 19:16:09 +00:00
Georg Baum
4ae87a3bb8 Call python with the -tt switch to make mixed tab/space indentation an error
* src/support/os.[Ch]
	(python): new function, return the python command

	* lib/lyx2lyx/lyx_1_5.py
	(revert_font_settings): replace tabs with spaces

The rest is simply s/python/python -tt/ and
s/"python"/lyx::support::os::python()/ where appropriate.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14270 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-30 13:54:01 +00:00
Bo Peng
ad3a07c4f2 Replace lib/scriptsfig2pdftex.sh and fig2pstex.sh by their python version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14265 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-29 15:30:22 +00:00
Bo Peng
21f1b19b2e Replace lib/scripts/fig_copy.sh with fig_copy.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14261 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-28 14:26:27 +00:00
Bo Peng
a5a508bdaa Change the indent level of python code from two to four
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14250 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-27 21:08:54 +00:00
Jean-Marc Lasgouttes
44a5cfc89c 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/trunk@14242 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-27 10:51:24 +00:00
Bo Peng
f58609c765 Replace TeXFiles.sh by TeXFiles.py
* src/frontends/controllers/tex_helpers.C: call TeXFiles.py
	* lib/scripts/TeXFiles.py: add
	* lib/scripts/TeXFiles.sh: remove
	* lib/scripts/convertDefault.py: add encoding line
	* lib/Makefile.am


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14238 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-27 02:39:03 +00:00
Georg Baum
f5fbef2d8f * lib/Makefile.am s/convertDefault.sh/convertDefault.py/
* src/converter.C
	(Converters::convert): ditto

	* src/graphics/GraphicsConverter.C
	(Converter::Impl::Impl): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14227 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-26 15:13:32 +00:00
Georg Baum
254b3cf67c 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/trunk@14225 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-26 15:01:35 +00:00
Bo Peng
5ea7194a60 Generate python code in GraphicsConverter.C, replace convertDefault.sh by convertDefault.py
* src/graphics/GraphicsConverter.C: generate python instead of shell scripts
	* src/converter.C: use convertDefault.py
	* lib/scripts/convertDefault.sh: translated to convertDefault.py


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14223 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-26 14:17:12 +00:00
Jean-Marc Lasgouttes
35898015dc fix image paths in German UserGuide (part of bug 2660)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14216 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-26 10:35:31 +00:00
Jean-Marc Lasgouttes
0d3d439195 lib/doc/UserGuide.lyx: remove description of obsolete Comment layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14182 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-23 09:38:32 +00:00
Jean-Marc Lasgouttes
6444095092 fix wrong path to an image (bug 2653)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14169 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-21 13:21:31 +00:00
Jürgen Spitzmüller
54acb900ad The Grand Font Selection Redesign:
* lib/lyx2lyx/LyX.py (format_relation): add file format 247 (from Georg BAUM).

        * lib/lyx2lyx/lyx_1_5.py: add convert_font_settings, revert_font_settings (from Georg BAUM).

        * lib/chkconfig.ltx: Test for newly supported font packages

        * lib/doc/LaTeXConfig.lyx.in: document newly supported font packages

        * lib/doc/UserGuide.lyx: document new UI.

        * lib/doc/Extended.lyx: update PostScript font documentation

        * development/FORMAT: document file format change 246->247.

        * src/tex-strings.[Ch]: new strings tex_fonts_roman, tex_fonts_sans, 
           tex_fonts_monospaced (with GUI equivalents).

        * src/buffer.C: Format up to 247.

        * src/bufferparams.C:
        new params fontsRoman, fontsSans, fontsTypewriter, fontsDefaultFamily,    
        fontsSC, fontsOSF, fontsSansScale and fontsTypewriterScale
        (LyXFont const BufferParams::getFont): consider switch of default family.
        (string const BufferParams::loadFonts): new method to get all the LaTeX 
        font stuff done.

        * src/paragraph.C
        (LyXFont const Paragraph::getFont):
        (LyXFont const Paragraph::getLabelFont):
        (LyXFont const Paragraph::getLayoutFont): user buffer's not textclass's 
        default font

        * src/text.C
        (int LyXText::leftMargin):
        (int LyXText::rightMargin): user buffer's not textclass's default font

        * src/text2.C
        (LyXFont LyXText::getFont):
        (LyXFont LyXText::getLayoutFont):
        (LyXFont LyXText::getLabelFont): check if the family of the default document 
        font has been customized.

        * src/frontends/gtk/GDocument.[Ch]: implement new font ui (from Georg BAUM).

        * src/frontends/gtk/glade/document.glade: implement new font ui (from Georg BAUM). 

        * src/frontends/qt3/Makefile.dialogs: add new FontModuleBase

        * src/frontends/qt3/ui/FontModuleBase.ui: new File

        * src/frontends/qt3/ui/TextLayoutModuleBase.ui: remove font widgets

        * src/frontends/qt3/QDocument.C
        * src/frontends/qt3/QDocumentDialog.[Ch]: implement new font ui

        * src/frontends/qt4/Makefile.dialogs: add new FontUi

        * src/frontends/qt4/QDocumentDialog.[Ch]: implement new font ui

        * src/frontends/qt4/ui/FontUi.ui: new File

        * src/frontends/qt4/ui/TextLayoutUi.ui: remove font widgets

        * src/frontends/qt4/ui/compile_uic.sh: add new FontUi

        * src/frontends/xforms/FormDocument.[Ch]: implement new font ui

        * src/frontends/xforms/forms/form_document.fd: add new font tab.

        * src/frontends/controllers/ControlDocument.[Ch]
        (char ControlDocument::fontfamilies):
        (char ControlDocument::fontfamilies_gui):
        (bool ControlDocument::isFontAvailable):
        (bool ControlDocument::providesSC):
        (bool ControlDocument::providesOSF):
        (bool ControlDocument::providesScale): new methods, providing font info.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14143 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-19 08:10:17 +00:00
Georg Baum
fbda39f77c * lib/doc/de_Extended.lyx: mention htlatex
* lib/doc/Extended.lyx: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14123 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-15 17:08:26 +00:00
Angus Leeming
6bdbfecce3 Add Peter Kümmel to our list of contributers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14024 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-07 14:14:38 +00:00
Angus Leeming
4401521a45 Add Joost to our list of contributers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14016 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-06 08:05:05 +00:00
Georg Baum
5bb791e841 * lib/lyx2lyx/Makefile.am: Add missing file lyx_1_5.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14013 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-05 19:24:18 +00:00
Georg Baum
8cb28fed33 * lib/configure.py: Add tgif->png and tgif->ppm converters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13997 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-04 09:58:19 +00:00
Martin Vermeer
1a77233c5f Add support for framed.sty
* src/LaTeXFeatures.C: add framed.sty

	(const * simplefeatures[]: add framed.sty
	(const LaTeXFeatures::getPackages): define shadecolor

	* src/insets/insetnote.h

	* src/insets/insetnote.C
	(const init_notetranslator):
	(InsetNote::setButtonLabel): add Framed and Shaded
	(InsetNote::latex): add output
	(InsetNote::validate): require framed.sty

	* src/buffer.C
	(BufferList bufferlist): new LyX version 246

	* src/frontends/qt3/ui/QNoteDialogBase.ui: add

	* src/frontends/qt3/QNoteDialog.C: add

	* src/frontends/qt3/QNote.C
	(QNote::update_contents): add framed, shaded
	(QNote::apply): add framed, shaded

	* src/LColor.[Ch]: add background colour for shaded

	* lib/lyx2lyx/LyX.py: New version support

	* lib/lyx2lyx/lyx_1_5.py: convert/revert

	* lib/chkconfig.ltx: add framed.sty

	* src/frontends/xforms/FormNote.C
	(FormNote::build):
	(FormNote::update): add FIXME

	* src/frontends/gtk/GNote.C
	(GNote::doBuild):
	(GNote::update):
	(GNote::apply): add FIXME

	* development/FORMAT: document format increase



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13993 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-03 16:46:27 +00:00
Jean-Marc Lasgouttes
1d14cdd0ea 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/trunk@13977 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-01 13:13:16 +00:00
Edwin Leuven
2d73110e2c make sure we get the correct path in windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13973 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-31 14:28:29 +00:00
Jürgen Spitzmüller
28fa2c0efa fix bug 2623:
* lib/layouts/memoir.layout:
	add ProvidesMakeindex

* src/LaTeX.C (run):
	rerun latex im 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/trunk@13950 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-29 14:49:08 +00:00
Georg Baum
440ebe6385 * lib/configure.py: fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13940 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-27 08:31:22 +00:00
Jürgen Spitzmüller
b9d9326080 * lib/configure.py:
use $$o flag where appropriate (still some cases pending).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13939 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-27 07:48:56 +00:00
Jürgen Spitzmüller
8a336ada5b add support for dvipdfmx converter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13934 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-26 15:13:51 +00:00
Georg Baum
d544373734 Change the semantics of 'none' and 'auto' viewers/editors: 'none' means now
"Don't view/edit this format", and 'auto' means "Use the default viewer/editor".
	* src/format.C
	(fixCommand): Change semantics: "none" is equal to "", and "auto"
	is removed if canAutoOpenFile returns false.

	* src/frontends/xforms/FormPreferences.C
	(FormPreferences::SpellOptions::apply): "none" -> ""

	* src/lyxrc.C
	(LyXRC::read): "none" -> ""

	* lib/doc/Customization.lyx: Document the autoopen feature

	* lib/configure.py
	(checkProg): add optional not_found argument, defaulting to 'none'
	(checkViewer): new, equivalent to checkProg with not_found = 'auto'
	(checkFormatEntries): call checkViewer instead of checkProg for
	viewers and editors


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13929 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-25 11:57:22 +00:00
Georg Baum
f0f4e2c042 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/trunk@13924 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-24 20:06:42 +00:00
Jean-Marc Lasgouttes
a96b307c42 update to de_userguide and de_Extended, due to wrong picture references
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13918 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-23 09:30:26 +00:00
Jean-Marc Lasgouttes
865face425 update German docs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13902 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-22 09:45:30 +00:00
Georg Baum
5b83287abe * src/format.[Ch]
(document_): new flag, telling whether this is a document format and
	we want to show this format in the export and view menus
	(documentFormat): accessor for document_

	* src/format.h: Add some documentation

	* src/frontends/qt3/QPrefsDialog.C
	(QPrefsDialog::QPrefsDialog): handle new documentCB checkbox
	(QPrefsDialog::switch_format): ditto
	(QPrefsDialog::updateFormatsButtons): ditto
	(QPrefsDialog::new_format): ditto
	(QPrefsDialog::modify_format): ditto

	* src/frontends/qt3/ui/QPrefFileformatsModule.ui: Add documentCB checkbox

	* src/frontends/qt4/QPrefsDialog.C
	(QPrefsDialog::QPrefsDialog): handle new documentCB checkbox
	(QPrefsDialog::switch_format): ditto
	(QPrefsDialog::updateFormatsButtons): ditto
	(QPrefsDialog::new_format): ditto
	(QPrefsDialog::modify_format): ditto

	* src/frontends/qt4/ui/QPrefFileformatsUi.ui: Add documentCB checkbox

	* src/frontends/xforms/FormPreferences.C
	(FormPreferences::Formats::build): handle new check_document checkbox
	(FormPreferences::Formats::input): ditto
	(FormPreferences::Formats::Add): ditto
	(FormPreferences::Formats::Browser): ditto

	* src/frontends/xforms/forms/form_preferences.fd: Add check_document
	checkbox

	* src/lyxrc.C
	(LyXRC::read): Remove compatibility code for 1.3 \format entries.
	Read the new format flags (but don't require them for 1.4
	compatibility)
	(LyXRC::write): Write the new format flags

	* src/MenuBackend.C
	(expandFormats): Remove the hardcoded exception for image formats
	and use Format::isDocument() instead

	* lib/doc/Customization.lyx: Document auto viever/editor and the
	"document format" flag


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13887 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-20 12:03:40 +00:00
Jean-Marc Lasgouttes
c8410c3e0a 2006-05-18 Enrico Forestieri <forenr@tlc.unipr.it>
* configure.py: fix setting of \cygwin_path_fix_needed; remove
	extra \r at end of line for cygwin.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13861 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-18 09:13:24 +00:00
Georg Baum
e6a167ea5e 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/trunk@13858 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-18 07:10:56 +00:00
Jean-Marc Lasgouttes
b6e30400f5 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/trunk@13855 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-17 22:13:33 +00:00
Georg Baum
479abc6efd Remove remaining OS/2 bits:
* src/lyx_cb.C
	(newFile): Remove OS/2 code

	* src/lyxserver.C
	(LyXComm::startPipe): ditto
	(LyXComm::endPipe): ditto
	(LyXComm::send): ditto

	* src/support/rename.C
	(lyx::support::rename): ditto

	* src/support/filetools.C
	(fileOpenSearch): ditto
	(createTmpDir): ditto
	(createLyXTmpDir): ditto
	(makeAbsPath): ditto

	* src/support/getcwd.C
	(l_getcwd): ditto

	* src/support/forkedcall.C
	(Forkedcall::generateChild): ditto

	* src/support/chdir.C
	(lyx::support::chdir): ditto

	* src/support/os.C: ditto
	* configure.ac: ditto
	* development/scons/scons_utils.py: ditto
	* development/Win32/config.h: ditto

	* lyx.man: Remove OS/2 related stuff
	* lib/doc/Customization.lyx: ditto
	* lib/doc/fr_Customization.lyx: ditto
	* lib/doc/it_Customization.lyx: ditto

	* src/support/os2_defines.h: Remove
	* src/support/os2_errortable.h: ditto
	* src/support/os_os2.C: ditto
	* INSTALL.OS2: ditto
	* README.OS2: ditto
	* development/OS2/quick_fix.patch: ditto
	* development/OS2/gnugettext.diff: ditto
	* development/OS2: ditto

	* src/support/Makefile.am: Remove deleted files
	* development/Makefile.am: Remove deleted OS2 directory


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13848 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-14 17:00:53 +00:00
Michael Schmitt
1396ade8b1 fix LFUN enum values (some of them were broken by r13801)
adjust some commands according to the LyX naming conventions
(toggle-tooltip => tooltip-toggle, *-change(s) => change(s)-*) 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13811 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-08 18:09:19 +00:00
José Matox
41d309b6fb Update templates and examples to latest file format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13799 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-05 10:26:53 +00:00
Jean-Marc Lasgouttes
14b3dc43ed * configure.py: reinstantiate part of removeExtraFiles that was
removed by mistake. Add removal of chklatex.{ltx,log}.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13793 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-03 13:32:42 +00:00
Lars Gullik Bjønnes
4c7d66bfda * depend.py: set PYTHONPATH so that python files
in build dir is found
        * Makefile.depend: regenerated


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13785 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-01 07:41:41 +00:00
Bo Peng
a83b27130f Cygwin compatibility fix from Enrico
* lib/configure.py: specify dir for mkstemp


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13783 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-29 13:43:19 +00:00
Bo Peng
8a03d5005c 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/trunk@13778 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-28 16:13:35 +00:00
Jean-Marc Lasgouttes
18d72887a6 * 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/trunk@13763 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 16:44:43 +00:00
Georg Baum
4d71376ec0 * lib/layouts/IEEEtran.layout: Add biographynophoto style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13755 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 07:27:01 +00:00
Edwin Leuven
513ea10589 Adding PARAGRAPH_MOVE_UP/DOWN + key bindings:
* src/LyXAction.C
   * src/text3.C
   * src/lfuns.h
   * lib/bind/cua.bind
   * lib/bind/sciword.bind
   * lib/bind/xemacs.bind
   * lib/bind/emacs.bind
   * lib/bind/mac.bind
			


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13752 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-26 22:43:26 +00:00
Georg Baum
0ba907f1e4 * lib/configure.py: Don't use TeX in the the names of formats latex
and pdflatex, use LaTeX instead.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13744 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-26 11:12:39 +00:00
Lars Gullik Bjønnes
3708dc6ec5 update ignore, and make sure to dist the lyx2lyx_version.py.in template file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13728 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 13:34:16 +00:00
Jean-Marc Lasgouttes
8cf0b4a4f2 add support for naustrian; fix locale for austrian
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13726 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 12:28:52 +00:00
Jean-Marc Lasgouttes
211c62818e German documentation update (again)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13721 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 09:48:55 +00:00
Jean-Marc Lasgouttes
f34e0a98c1 German documentation update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13720 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 09:42:17 +00:00
Jean-Marc Lasgouttes
f2c599f154 Hungarian documentation update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13718 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 09:32:21 +00:00
Georg Baum
a2457c3b5b 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/trunk@13708 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-21 15:15:55 +00:00
Georg Baum
5ac63517c6 From Enrico Forestieri:
* lib/scripts/TeXFiles.sh:
	Account for Cygwin teTeX on Windows.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13704 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-20 16:59:51 +00:00
Georg Baum
2bbe7e5b89 Make MathBigInset working
* src/cursor.C
        (LCursor::plainInsert): combine the previous math atom with the new
        one to a MathBigInset if possible

        * src/mathed/math_biginset.[Ch]
        (MathBigInset::name): implement
        (MathBigInset::isBigInsetDelim): new, test whether a given token is
        a valid MathBigInset delimiter

        * src/mathed/math_biginset.C
        (MathBigInset::size): handle Big, Bigg and Biggg
        (MathBigInset::increase): ditto
        (MathBigInset::draw): fix deco drawing
        (MathBigInset::write): append space if necessary

        * src/mathed/math_factory.C
        (createMathInset): handle l->inset == "big"

        * src/mathed/math_parser.C
        (Token::asInput): return a token as input, stolen from tex2lyx
        (void Parser::parse1): Create a MathBigInset when needed

	* src/mathed/math_support.C:
	(deco_table): add lbrace and rbrace

        * src/mathed/math_nestinset.C
        (MathNestInset::interpret): combine the previous math atom with the
        new character to a MathBigInset if possible

        * src/ParagraphParameters.C
        (findToken): move from here

        * src/support/lstrings.[Ch]
        (findToken): to here

        * lib/symbols: add MathBigInset symbols


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13700 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-20 09:55:45 +00:00
Martin Vermeer
f6848c168b * lyx_1_4.py
(convert_minipage): Proper handling of default height and 
	vertical position (bug report Garst Reese)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13697 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-20 07:43:29 +00:00
Jean-Marc Lasgouttes
b5cdc90ef9 update german userguide
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13670 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 17:53:09 +00:00
Georg Baum
ad7e91e684 * lib/scripts/layout2layout.py
(convert): Change "LabelType Static" to "LabelType Itemize" for
	itemize environments
	(convert): Change "LabelType Counter_EnumI" to "LabelType Enumerate"
	for enumerate environments


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13659 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 08:54:50 +00:00
José Matox
69664082da * configure.ac
* lib/lyx2lyx/lyx2lyx_version.py.in
        * lib/lyx2lyx/Makefile.am

	Add lyx2lyx_version.py to distribution.

        * lib/lyx2lyx/LyX.py
	Use lyx version as the same version of lyx2lyx.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13626 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 16:18:31 +00:00
José Matox
bb23ef468d parser_tools.py (find_tokens, find_tokens_exact): replace range with xrange.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13625 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 15:50:31 +00:00
José Matox
44aad9d818 lyx_1_4.py(convert_sgml_paragraphs):
convert SGML paragraphs to Standard + ERT, as SGML are not used anymore.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13616 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 09:14:08 +00:00
Abdelrazak Younes
9dfa853d2c lib/Makefile.am: move math icons from no-install
QMathDialog.C: set icon paths
QMathUi.ui: set icon paths to lib/images/math for visual feedback in designer


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13614 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 21:14:58 +00:00
Bo Peng
eb485caa96 view-source feature, from Bo Peng <ben.bob@gmail.com>
* src/buffer.h buffer.C - getSourceCode()
	* src/lyxfunc.C -  open view-source dialog
	* src/text3.C - change LFUN_MOUSE_RELEASE
	* src/output_linuxdoc.C, src/output_docbook.C, src/output_latex.C 
		- intercept output
	* src/outputparams.h, outputparams.C - add par_begin, par_end, dryrun
	* src/insets/insetgraphics.C  - add dryrun mode of file conversion
	* lib/ui/stdmenus.ui - add view-source menu item under view
	* Add view-source dialog, add 
	    src/frontends/qt2/QViewSourceDialog.h, QViewSource.C, QViewSource.h, QViewSourceDialog.C
	    src/frontends/qt2/ui/QViewSourceDialogBase.ui
	    src/frontends/controllers/ControlViewSource.h ControlViewSource.C
	  modify
	    src/frontends/qt2/Makefile.dialogs, Makefile.am, Dialogs.C,
	    src/frontends/controllers/Makefile.am, po.POTFILES.in


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13610 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 02:48:54 +00:00
Georg Baum
6b753c5d97 Remove the images directory
* Makefile.am: remove image files
	* images/ChangeLog: delete
	* images/smallcaps.xpm: move to lib/images/font-smallcaps.xpm
	* lib/Makefile.am: add images to noinst files

Move the following files to lib/images/math:
	* images/README
	* images/delim.xbm
	* images/ams_misc.xbm
	* images/equation.xpm
	* images/delim.xpm
	* images/arrows.xbm
	* images/bop.xbm
	* images/matrix.xpm
	* images/delim0.xpm
	* images/delim1.xpm
	* images/misc.xbm
	* images/greek.xbm
	* images/ams_nrel.xbm
	* images/style.xbm
	* images/ams_ops.xbm
	* images/varsz.xbm
	* images/font.xbm
	* images/sub.xpm
	* images/sqrt.xpm
	* images/dots.xbm
	* images/space.xpm
	* images/deco.xbm
	* images/super.xpm
	* images/ams_arrows.xbm
	* images/style.xpm
	* images/ams_rel.xbm
	* images/brel.xbm
	* images/font.xpm
	* images/deco.xpm
	* images/frac.xpm

Adjust the following files to the moved images:
	* src/frontends/gtk/GMathPanel.C
	* src/frontends/gtk/Makefile.am
	* src/frontends/qt4/ui/QMathUi.ui
	* src/frontends/xforms/Makefile.am
	* src/frontends/xforms/FormMathsPanel.C


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13598 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 11:33:26 +00:00
José Matox
98e729c767 Update version of lyx2lyx to 1.5.0svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13592 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 16:15:14 +00:00
José Matox
22212a0d65 Add placeholders for future changes:
lyx_0_10.py: File format between 2.00 (the first publicaly available) and 2.10
lyx_1_5.py: Post-1.4.x file formats.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13591 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 16:11:16 +00:00
Georg Baum
98595ca7c2 From Jean-Marc: Make sure that standard sectioning styles have proper counters
* lib/layouts/stdsections.inc: include numarticle.inc here instead
	of the following files:
	* lib/layouts/kluwer.layout
	* lib/layouts/aapaper.layout
	* lib/layouts/llncs.layout
	* lib/layouts/docbook.layout
	* lib/layouts/article.layout
	* lib/layouts/IEEEtran.layout
	* lib/layouts/ijmpd.layout
	* lib/layouts/paper.layout
	* lib/layouts/aa.layout
	* lib/layouts/aastex.layout
	* lib/layouts/cl2emult.layout
	* lib/layouts/docbook-section.layout
	* lib/layouts/svjour.inc
	* lib/layouts/amsart.layout
	* lib/layouts/spie.layout
	* lib/layouts/docbook-chapter.layout
	* lib/layouts/aguplus.inc
	* lib/layouts/scrartcl.layout
	* lib/layouts/dtk.layout
	* lib/layouts/agu-dtd.layout
	* lib/layouts/elsart.layout
	* lib/layouts/mwart.layout
	* lib/layouts/seminar.layout


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13589 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 15:43:56 +00:00
Georg Baum
9031ce6395 *lib/scripts/layout2layout.py: Fix section labelling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13588 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 15:25:34 +00:00
Jean-Marc Lasgouttes
b8617a4d56 update German Tutorial, Intro and splash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13584 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 12:20:41 +00:00
Jean-Marc Lasgouttes
81a3abd0cd document fancybox package
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13577 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 08:46:18 +00:00
Michael Schmitt
2243967c46 2006-04-01 Michael Gerz <michael.gerz@teststep.org>
* lib/ui/stdmenus.ui:
        * lib/ui/stdtoolbars.ui:
        * src/converter.C
        * src/lyx_main.C
        * src/support/package.C.in: tiny changes to text messages



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13545 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-01 13:23:24 +00:00
Georg Baum
7f6a274742 configure.py: Bo Peng (ben.bob@gmail.com)
Fix --without-latex-config option, separate processLayoutFile()
	Fix checkCygwinPath(),  by Enrico


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13539 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-01 09:39:11 +00:00
Georg Baum
fd1fc0cdf6 Major cleanup of lib/configure.py from Bo Peng
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13537 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-31 13:31:16 +00:00
Georg Baum
ba7ba1b813 * lib/scripts/layout2layout.py
(concatenate_label): new, concatenate two labels in an intelligent way
	(convert): add the TocLevel for sectioning styles
	(convert): convert LabelString and StringAppendix for sectioning
	styles (append counter)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13533 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 18:49:27 +00:00
Georg Baum
7a82979958 Adjust keybord shortcut of the "latex" format to the changed name
(this belongs to the fix for bug 2107)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13532 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 18:43:05 +00:00
Georg Baum
fc7f2d9805 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/trunk@13520 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 18:49:46 +00:00
Jürgen Spitzmüller
eedb4c6821 * lib/scripts/lyxpreview2bitmap.py: fix frac calculation (bug 2391).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13511 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 10:18:02 +00:00
Jean-Marc Lasgouttes
b7d59d8ce6 update to Spanish tutorial from Luis Guillermo Cota Preciado
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13507 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 09:37:36 +00:00
Georg Baum
bcccc2780d From Uwe:
* chkconfig.ltx: check for the preview package
	* doc/LaTeXConfig.lyx.in: document prettyref, varioref and preview


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13497 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-26 08:28:06 +00:00
Jean-Marc Lasgouttes
e22e28f6d6 * lib/bind/sciword.bind: fix find&replace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13437 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 15:56:08 +00:00
Georg Baum
8d914e2c52 * parser_tools.py (find_tokens_exact): new, extract tokens with
exact match
        * parser_tools.py (find_token2): rename to find_token_exact and make
        it work for tokens with spaces
        * lyx_1_4.py (revert_box, convert_collapsable, revert_bibtopic,
        convert_float): use find_token(s)_exact instead of find_token(s).
        This does not match "FloatList" when "Float" is searched (bug 2245)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13410 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-17 09:52:13 +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
Abdelrazak Younes
24df3cbc06 adding abdelrazak younes to the credits.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13394 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 14:15:51 +00:00
Georg Baum
9ba33772a8 fix bug 2361
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13369 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-13 17:56:32 +00:00
Jean-Marc Lasgouttes
609e13491c bug 1611: clarify Title handling in tutorial (trivial)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13363 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-13 14:43:31 +00:00
Georg Baum
d15a35a909 Get rid of lib/configure.m4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13347 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-12 10:51:11 +00:00
Georg Baum
41dd4f0be3 fix several small errors (mainly typos) in lib/configure.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13341 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-11 16:24:59 +00:00
Jürgen Spitzmüller
d6ceeea517 fix babel/jurabib conflict with Spanish (bug 2365)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13336 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 17:09:03 +00:00
Jürgen Spitzmüller
3035b9b3e3 fix LaTeX error with AMS classes (bug 2363)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13327 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 15:37:21 +00:00
Jürgen Spitzmüller
9f2c265640 Map labeling to list (bug 2246)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13320 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 14:07:11 +00:00
José Matox
d5da885f21 Only reset the papersize for a4* paperpackages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13312 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-07 11:21:08 +00:00
Jean-Marc Lasgouttes
ba7954e5e5 some updates from hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13278 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-27 15:34:43 +00:00
Jean-Marc Lasgouttes
5bad987680 bug 2167: previews badly placed when ascent or descent is 0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13273 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-24 14:24:17 +00:00
Georg Baum
3a56dd160f fix bug 2314
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13267 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-22 17:05:12 +00:00
Jürgen Spitzmüller
8e96921285 From Enrico Forestieri: fix script to work with recent versions of preview-latex and dvipng (bug 2243).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13263 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-20 19:29:58 +00:00
Jürgen Spitzmüller
f574a6deaf comment out obsolete bindings (bug 1161)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13257 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-19 15:13:51 +00:00
Jean-Marc Lasgouttes
142ecf6867 fix url to Herbert's tips (bug 1634)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13244 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-16 15:48:13 +00:00
Jean-Marc Lasgouttes
6aed703bef fix bogus keybinding (bug 1422)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13243 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-16 15:40:56 +00:00
Georg Baum
b8227ebda0 fix bug 2026 and bug 2088
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13226 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-13 07:48:26 +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