Commit Graph

1485 Commits

Author SHA1 Message Date
Joost Verburg
d66a940f89 Added ui files to enable the math/table toolbars by default (default-alltoolbars.ui) or to set these toolbars to the context sensitive mode (default-autotoolbars.ui).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15601 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-29 15:54:48 +00:00
Martin Vermeer
461900deb5 * layout2layout.py
(convert): remove spurious tabs



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15600 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-29 11:43:18 +00:00
Enrico Forestieri
6ce8659e50 Make MathBigInset working and implement GUI for fixed size math delimiters
(by Georg and me)

	* src/lfuns.h
	(enum kb_action): New lfun LFUN_MATH_BIGDELIM

	* src/LyXAction.C
	(init): New lfun LFUN_MATH_BIGDELIM

	* src/cursor.C
	(macroModeClose): try to intepret the current macro before
	it is simply inserted

	* src/mathed/math_biginset.[Ch]
	(name): implement
	(isBigInsetDelim): new, test whether a given token is a valid
	MathBigInset delimiter
	(infoize2): implement to show name if the cursor is to the right

	* src/mathed/math_biginset.C
	(size): handle Big, bigg and Bigg
	(increase): ditto
	(draw): fix deco drawing
	(write): don't write space before delimiter but append one if necessary

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

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

	* src/mathed/math_nestinset.C
	(doDispatch): try to intepret the argument of LFUN_SELFINSERT also
	if it is longer than one character
	(doDispatch): remove debug message
	(doDispatch): remove LFUN_MATH_DELIM test for multiple cells (now
	in getStatus)
	(doDispatch): handle LFUN_MATH_BIGDELIM
	(getStatus): Disable LFUN_MATH_DELIM and LFUN_MATH_BIGDELIM when
	the selection spans multiple cells

	* src/mathed/math_nestinset.[Ch]
	(interpret): new, combine the previous math atom with the new
	character to a MathBigInset if possible

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

	* src/frontends/qt2/QDelimiterDialog.[Ch]
	(fix_name, QDelimiterDialog, insertClicked, size_selected):
	Allow for fixed size delimiters.

	* src/frontends/qt2/ui/QDelimiterDialogBase.ui:
	Added a combobox for selecting delimiter size.

	* src/frontends/xforms/forms/form_maths_delim.fd: ditto

	* src/frontends/xforms/FormMathsDelim.h:
	Added a private variable to store selected delimiter size

	* src/frontends/xforms/FormMathsDelim.C:
	Correct entry in delim_rversion[] for matching braces.
	(fix_name): new, return correct name for fixed size delimiter
	(build, apply, update): allow for fixed size delimiters.

	* src/frontends/gtk/GMathDelim.C: Add FIXME comment for fixed
	size delimiters

	* src/frontends/controllers/ControlMath.[Ch]:
	Added dispatchBigDelim() to deal with fixed size delimiters.

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

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

	* src/text3.C
	(dispatch): handle LFUN_MATH_BIGDELIM
	(getStatus): ditto

	* src/ToolbarBackend.C
	(getIcon): handle LFUN_MATH_BIGDELIM

	* lib/symbols: add MathBigInset symbols



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15570 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-26 19:09:10 +00:00
Jean-Marc Lasgouttes
37d00bdce7 add Ran Rutenberg as new contributor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15561 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-26 14:29:40 +00:00
Jean-Marc Lasgouttes
c77cfd3960 update Hebrew translation of Intro
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15558 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-26 13:44:24 +00:00
Jean-Marc Lasgouttes
1d4a528c7b forgot that when adding Galician docs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15548 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-25 12:24:16 +00:00
Jean-Marc Lasgouttes
b55cf79528 small update to contributors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15532 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-24 14:12:00 +00:00
Jean-Marc Lasgouttes
2b4886e4da new Galician docsstatus.14x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15523 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-24 08:05:17 +00:00
Martin Vermeer
35da03cc4a New layout for International Society for Photogrammetry and Remote Sensing
journals

	* lib/layouts/isprs.layout: the layout
	* lib/doc/LaTeXConfig.lyx.in: the documentation



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15320 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-13 08:57:59 +00:00
Georg Baum
17f2dfdda4 Fix bug 2901: Add menu entry for numbered formulas
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15309 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-12 15:06:32 +00:00
Georg Baum
294109c66a Add lilypond external inset
* src/graphics/GraphicsConverter.C
	(build_script): Change the current directory to the directory of
	the output file

	* src/converter.C
	(Converters::convert): Add comment

	* lib/external_templates: Add lilypond template

	* lib/configure.py
	(checkFormatEntries): Add lilypond format
	(checkConverterEntries): Add lilypond converter


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15260 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-05 19:58:42 +00:00
Georg Baum
411024615c Support lgathered and rgathered math environments
* src/mathed/math_splitinset.C
	(MathSplitInset::validate): Only require amsmath for AMS stuff

	* src/mathed/math_factory.C
	(createMathInset): create MathSplitInset if the latexkey is "split"

	* src/mathed/math_parser.C
	(Parser::parse1): create MathSplitInset if the latexkey is "split"

	* lib/symbols: Add aligned, gathered, lgathered and rgathered


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15227 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 20:11:00 +00:00
Georg Baum
ebc38de12a Add latex2rtf converter
* lib/configure.py
	(checkFormatEntries): Add rtf format
	(checkConverterEntries): Add latex2rtf converter


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15170 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-27 14:17:55 +00:00
Jean-Marc Lasgouttes
d78883dfe4 sync with trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15168 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-27 13:56:32 +00:00
Georg Baum
927155ee00 Fix bug 2845
* lib/configure.py
	(checkFormatEntries): Add wmf format
	(checkConverterEntries): Add wmf -> eps converter


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15122 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-22 14:27:23 +00:00
José Matox
20c3de818d Fix compatibility with python 2.2.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15117 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-22 10:37:44 +00:00
José Matox
5eac90cdd3 make configure.py compatible with python 2.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15097 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 10:12:08 +00:00
Jean-Marc Lasgouttes
10a49d10d8 new Hungarian translation of the Tuturial
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15039 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-18 12:10:29 +00:00
Jürgen Spitzmüller
66c283e13b * lib/doc/UserGuide.lyx:
* lib/doc/Tutorial.lyx:
* lib/doc/de_UderGuide.lyx:
* lib/doc/de_Tutorial.lyx:
	document inset-dissolve.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15035 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-18 09:11:01 +00:00
Michael Schmitt
8089eb77a2 add menu entries for phonetic symbols and accepting/rejecting
a single change in CT mode


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15015 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-16 13:09:46 +00:00
Georg Baum
73da83f89e Add phantom icons from Uwe and me (last part of bug 1473)
* src/frontends/controllers/ControlMath.C
	(latex_misc): Add phnatom, vphantom and hphantom

	* lib/images/math/hphantom.xpm: new
	* lib/images/math/phantom.xpm: new
	* lib/images/math/vphantom.xpm: new

	* lib/Makefile.am: add new files
	* development/scons/scons_manifest.py: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15008 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-15 10:53:42 +00:00
Georg Baum
361902d2f1 Fix bug 2660
* lib/doc/de_UserGuide.lyx: fix image paths


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14929 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-07 12:46:02 +00:00
Georg Baum
741d9831c6 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14928 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-07 12:44:31 +00:00
Georg Baum
f7ce3ed166 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/branches/BRANCH_1_4_X@14927 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-07 12:39:01 +00:00
Georg Baum
ca0a6d9f4a Fix bug 2698 (new images from Uwe Stöhr)
* src/frontends/controllers/ControlMath.C
	(latex_misc): Add intop and ointop

	* lib/images/math/intop.xpm: New
	* lib/images/math/ointop.xpm: Ditto

	* lib/images/math/int.xpm: Add box to make the difference to intop clear
	* lib/images/math/oint.xpm: ditto

	* lib/Makefile.am: add new files


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14923 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-07 09:46:11 +00:00
Jean-Marc Lasgouttes
226f97d044 update german documentation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14778 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-17 10:13:10 +00:00
Georg Baum
5149b75620 * lib/doc/Extended.lyx: Remove the registered-sign from a heading,
since it can not be represented in the Czech sdoc_toc in latin2
	encoding.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14651 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 16:07:29 +00:00
Georg Baum
54c60ebe47 * lib/doc/doc_toc.py: Add language info for Czech
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14644 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 15:29:22 +00:00
Georg Baum
fd7594f86a 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/branches/BRANCH_1_4_X@14639 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 13:22:34 +00:00
Michael Schmitt
7cba7c3dd2 * 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/branches/BRANCH_1_4_X@14629 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-12 20:42:00 +00:00
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
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
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
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
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
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
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
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
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
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
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