* lib/configure.py:
Add compatibility code for booleans and use True and False
instead of 'true' and 'false'
* lib/scripts/lyxpreview_tools.py:
* lib/scripts/fig_copy.py:
* lib/scripts/TeXFiles.py:
Fix typo and make code compatible also with python versions
greater than 2.2.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15947 a592a061-630c-0410-9148-cb99ea01b6c8
(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
(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
* 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
* 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
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
* 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