Abdelrazak Younes
9450626942
Fix compilation. Use BOOST_ASSERT instead of assert()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17838 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 15:59:47 +00:00
Abdelrazak Younes
71e8668375
Fix bug 1395 by Stefan Schimanski:
...
Locking counter added to MacroData: it is increased before drawing/
metric calculations and decreased afterwards in InsetMathMacro. If a
macro is already locked at that point, "Self reference: \foo" is
drawn instead of the macro definition to avoid endless loops.
Moreover inside of the arguments of the macro the counter is
temporarily decreased as those cases do not cause loops. (fixes bug
#1395 )
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17836 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 13:15:00 +00:00
Georg Baum
e208fa001b
remove unused stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16314 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 15:05:18 +00:00
Georg Baum
2db7521b70
Add support for the esint package
...
* src/LaTeXFeatures.C
(LaTeXFeatures::getPackages): handle esint and wasysym
* src/mathed/MathMacroTable.[Ch]
(requires_): New member: tell the feature this macro requires
(MacroTable::insert): take new requires arg
* src/mathed/MathMacroTemplate.C
(MathMacroTemplate::asMacroData): adjust to change above
* src/mathed/MathSupport.C
(fontinfos): add esint10 font
* src/mathed/InsetMathHull.C
(InsetMathHull::doDispatch): AMS_ON -> package_on
* src/mathed/MathMacroTable.h
* src/mathed/MathFactory.C
(initSymbols): read and store requires field for symbols
* src/mathed/InsetMathSymbol.C
(InsetMathSymbol::metrics): handle esint
(InsetMathSymbol::takesLimits): ditto
* src/buffer.C
(LYX_FORMAT): update format
(Buffer::validate): handle esint, AMS_ON -> package_on
* src/bufferparams.C:
(AMSTranslator): Rename to PackageTranslator
(BufferParams::readToken): Read \use_esint
(BufferParams::writeFile): Write \use_esint
* src/frontends/qt4/QDocumentDialog.C: handle esint
* src/frontends/qt4/ui/MathsUi.ui : add esint checkboxes
* src/frontends/qt4/GuiFontLoader.C
(symbol_fonts: Add esint10 font
(symbolFamily): handle esint10 font
(isChosenFont): Add comment
* src/frontends/controllers/ControlMath.C
(latex_varsz): Add new integral symbols
* src/support/fontutils.C
(win_fonts_truetype): Add esint10 font
* src/bufferparams.h
(enum AMS): rename to enum Package
(use_esint): new parameter
* src/lyxfont.[Ch]: Add esint font
* lib/symbols: Add new integral symbols
* lib/lyx2lyx/LyX.py
(format_relation): Update format
* lib/lyx2lyx/lyx_1_5.py: handle new format
* lib/chkconfig.ltx: Test esint package
* lib/images/math/oiintop.xpm
* lib/images/math/sqintop.xpm
* lib/images/math/sqint.xpm
* lib/images/math/ointctrclockwiseop.xpm
* lib/images/math/ointctrclockwise.xpm
* lib/images/math/iiintop.xpm
* lib/images/math/iintop.xpm
* lib/images/math/sqiint.xpm
* lib/images/math/iiint.xpm
* lib/images/math/ointclockwiseop.xpm
* lib/images/math/oiint.xpm
* lib/images/math/dotsintop.xpm
* lib/images/math/sqiintop.xpm
* lib/images/math/ointclockwise.xpm
* lib/images/math/iiiintop.xpm
* lib/images/math/dotsint.xpm
* lib/images/math/iiiint.xpm
* lib/images/math/iint.xpm: new icons
* lib/doc/LaTeXConfig.lyx.in: Add docs for esint package
* lib/doc/UserGuide.lyx: Add short documentation of integral symbols
* lib/Makefile.am: Add new files
* development/scons/scons_manifest.py: ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15907 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 17:35:18 +00:00
André Pönitz
de6418f377
use more unicode in math
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15462 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 10:15:23 +00:00
André Pönitz
6c300f72a2
move everything into namespace lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15422 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 00:16:43 +00:00
André Pönitz
e89625ef28
rename mathed/math_xinset into mathed/InsetMathX
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15026 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-17 09:14:18 +00:00