Commit Graph

1544 Commits

Author SHA1 Message Date
Enrico Forestieri
0f641c9a84 Fix dtl tools detection. A non-empty variable is always true in python,
even if its value is false...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15911 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 19:29:17 +00:00
Jean-Marc Lasgouttes
1f2e71d57d update Italian UserGuide
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15895 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 10:03:34 +00:00
Enrico Forestieri
9d46ada90a Check only once for dtl tools in configure.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15892 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-12 21:59:19 +00:00
Jean-Marc Lasgouttes
efdad3111b * bind/menus.bind: digits may need the shift modifier (on french
kbd for example).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15829 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-09 15:44:17 +00:00
Jean-Marc Lasgouttes
da4fe3c7b2 update from Ran Rutenberg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15827 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-09 15:17:35 +00:00
Georg Baum
1e54cf76a4 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15669 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 15:12:11 +00:00
Georg Baum
438b6cbf18 Fix invalid help documents: s/\\color default/\\color inherit/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15667 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 15:01:07 +00:00
Georg Baum
b415929e67 Add beamer.layout and example document
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15659 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 11:53:57 +00:00
Michael Schmitt
e0cda6b0dd * ui/default-alltoolbars.ui:
* ui/default-autotoolbars.ui: set eol-style to native


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15628 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-30 20:34:04 +00:00
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
Bo Peng
26d0812c95 no-Shell patch one: convertDefault.sh -> convertDefault.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14462 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-15 15:42:50 +00:00
Georg Baum
1459cfb120 fix image paths
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14395 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-09 10:15:52 +00:00
Bo Peng
408e652cd0 lib/configure.py: fix CheckTexPaths
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14371 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-08 02:53:50 +00:00
Jean-Marc Lasgouttes
e85e582e83 New TeXFiles.py script from Bo Peng. This avoids a crash with the bash
version in windows.

	* lib/Makefile.am (dist_scripts_DATA): update.
	* lib/scripts/TeXFiles.sh: removed.
	* lib/scripts/TeXFiles.py: new script.

	* src/frontends/controllers/tex_helpers.C (rescanTexStyles):
	invoke the new TeXFiles.py python script.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14349 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-06 12:59:11 +00:00
Bo Peng
0853b8e044 lib/configure.py: fix checkTeXAllowSpaces, by Enrico
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14337 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-04 13:58:52 +00:00
Bo Peng
f7c2372ec4 lib/configure.py: use \nonstopmode instead of -interaction=nonstopmode, from JMarc and Enrico
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14317 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-03 15:34:02 +00:00
Jean-Marc Lasgouttes
2232cd4ad2 more updates to german documentation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14312 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-03 12:16:16 +00:00
Bo Peng
fd9ca909c6 configure.py: add nonstopmode to cygwin latex check
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14289 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-02 14:12:48 +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
b3f872184c fix image paths in German UserGuide (part of bug 2660)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14217 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-26 10:44:33 +00:00
Jean-Marc Lasgouttes
af9295c7ea lib/doc/UserGuide.lyx: remove description of obsolete Comment layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14181 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-23 09:38:15 +00:00
Jean-Marc Lasgouttes
42f6a13ea6 fix a path to icon (bug 2653)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14170 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-21 13:28:10 +00:00
Georg Baum
5c8b2f4167 * lib/doc/de_Extended.lyx: mention htlatex
* lib/doc/Extended.lyx: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14124 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-15 17:52:18 +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
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
Jürgen Spitzmüller
69ef78d216 * lib/configure.py:
use $$o flag where appropriate (still some cases pending).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13955 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-29 16:01:25 +00:00
Georg Baum
2a880d4fc5 * lib/configure.py: Add missing dvi2 editor (from Enrico)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13945 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-28 16:58:58 +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
8f02fb39d0 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): regognize "" as "none"

        * src/lyxrc.C
        (LyXRC::getDescription): "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/branches/BRANCH_1_4_X@13933 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-26 08:33:01 +00:00
Georg Baum
730c25aafe forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13923 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-24 19:55:54 +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
Jean-Marc Lasgouttes
5f8d837cf4 update to de_userguide and de_Extended, due to wrong picture references
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13917 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-23 09:30:02 +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
Jean-Marc Lasgouttes
762ea11579 2006-05-18 Enrico Forestieri <forenr@tlc.unipr.it>
* lib/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/branches/BRANCH_1_4_X@13862 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-18 09:14:00 +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
José Matox
265313ca4f Update templates and examples to latest file format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13798 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-05 10:21:25 +00:00
Jean-Marc Lasgouttes
5e32e533ea * 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/branches/BRANCH_1_4_X@13792 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-03 13:32:24 +00:00
Bo Peng
bc3cdedf14 Enrico's cygwin fix to configure.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13784 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-29 13:48:24 +00:00
Jean-Marc Lasgouttes
435242b5e6 rename toggle-compression to buffer-toggle-compression
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13781 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-28 16:38:30 +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
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
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
a297fd1c28 * lib/configure.py: sync comment with 1.5
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13743 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-26 08:16:41 +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
333c7161b1 sync cleanup of lib/configure.py with 1.5 (no functional changes)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13739 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-25 13:56:20 +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