Commit Graph

1620 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
50e9a869a5 update from Claudio Coco
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16291 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 17:17:29 +00:00
Jürgen Spitzmüller
9667cb3836 * lib/languages:
change default for latin1-languages to latin9 (bug 845)
* src/paragraph_pimpl.C:
	add support for the subset of symbols that is only covered by
	latin1 (not latin9) to make the above switch painless.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16239 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-11 07:42:43 +00:00
Jürgen Spitzmüller
ca5838b017 Support for the EURO sign (bug 845):
* lib/chkconfig.ltx: 
	check for the textcomp package
* lib/doc/LaTeXConfig.lyx.in:
	document textcomp

* src/LaTeXFeatures.C (simplefeatures):
	add textcomp
* src/paragraph_pimpl.C (simpleTeXSpecialChar):
	support the Euro sign (via textcomp command)
* src/paragraph_pimpl.C (validate):
	require textcomp if we have a Euro symbol


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16193 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-06 16:46:57 +00:00
Jürgen Spitzmüller
ed71ed4fab * lib/layouts/amsart.layout:
- reenable Address paragraph style to fix bug 2890
	  (as discussed on bugzilla)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16160 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-03 15:36:06 +00:00
Georg Baum
50d43d919c ifpdf update and small grammar and spelling fixes by John C. McCabe-Dansted
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16081 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-27 18:15:00 +00:00
Michael Schmitt
a37792598e * lib/ui/stdmenus.ui: change "Special Formatting" to
"Formatting" as suggested by John Levon; add shortcuts
	for clear (double) page; add separator between line
	break commands and page break commands


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16040 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 17:03:30 +00:00
Georg Baum
82b0e98d54 missing bits of the new insets for \clearpage and \cleardoublepage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16038 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 15:57:27 +00:00
Bo Peng
7b031e5d86 Add inset clearpage and cleardoublepage, from Urgas
* src/insets/insetert.C
	* src/text3.C
	* src/lfuns.h
	* src/factory.C
	* src/tex2lyx/text.C
	* src/text.C
	* src/LyXAction.C: add and handle LFUN_CLEARPAGE_INSET and LFUN_CLEARDOUBLEPAGE_INSET
	* src/insets/insetpagebreak.h/C: extend InsetPageBreak
	* lib/lyx2lyx/lyx_1_5.py: file format change
	* lib/ui/stdmenus.ui: add menu items


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16037 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 15:09:01 +00:00
Jean-Marc Lasgouttes
a617e0d978 * languages: use nb_NO instead of no_NO for norwegian (bug 2850).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16026 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-24 10:57:16 +00:00
Michael Schmitt
55249b6dbd * lib/tex/lyxchess.sty:
* lib/doc/Customization.lyx:
	* lib/doc/UserGuide.lyx:
	* lib/examples/multicol.lyx: fix typo "can not" => "cannot"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15980 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-19 12:40:06 +00:00
Michael Schmitt
9c5b449c04 * examples/cs_splash.lyx: update by Pavel Sanda
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15978 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-19 12:35:26 +00:00
Michael Schmitt
27cb3b9bc1 * doc/cs_Tutorial.lyx: update by Pavel Sanda
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15977 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-19 12:34:08 +00:00
Michael Schmitt
1a4b549a53 * lib/lyx2lyx/lyx_1_4.py:
* lib/examples/noweb2lyx.lyx: fix typo: "can not" => "cannot"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15976 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-19 12:32:38 +00:00
Georg Baum
bb8c9253e4 Add button for default layout to the toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15946 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-16 08:17:48 +00:00
Enrico Forestieri
35be7672f4 Use booleans True and False and fix a typo in configure.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15932 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-15 01:20:31 +00:00
Georg Baum
f71a169294 Make nesting levels work. Obviously ++nestdepth does not do in python
what it does in C++.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15930 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-14 20:45:07 +00:00
Enrico Forestieri
bfe2d2c027 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/trunk@15910 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 19:23:44 +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
Jean-Marc Lasgouttes
6ff8d78118 update Italian UserGuide
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15896 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 10:10:42 +00:00
Enrico Forestieri
3cc1001bd3 Check only once for dtl tools in configure.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15891 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-12 21:47:03 +00:00
Georg Baum
29012f2596 Fix output of labels and references that contain characters with an UCS4
codepoint > 255.
I decided that this is no file format change: We already had the change to
format 249 that allowed unicode in .lyx files. The output to .tex of
non-ascii characters is now different than before (even for those that were
supported previously, e.g. german umlauts in latin1), but this is only
relevant if people referenced a label in ERT. Since we cannot detect this
anyway we don't need a file format change.

	* src/support/lstrings.C
	(escape): Extend the escaping algorithm from 8 bit to 24 bit.

	* src/support/lstrings.h
	(escape): Update comment

	* lib/lyx2lyx/lyx_1_4.py
	(lyx_support_escape): Update comment


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15883 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-12 13:42:20 +00:00
Michael Schmitt
d25c7ca95c * ui/stdmenus.ui: use the same shortcut for Eqnarrary in
"edit" and "insert"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15873 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-12 09:50:57 +00:00
Georg Baum
58b97ca107 glossary documentation update from Ugras
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15840 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-10 15:49:08 +00:00
Georg Baum
7cc0f4fb59 fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15838 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-10 15:11:49 +00:00
Georg Baum
6008c8176e remove obsolete file lyxrc.example
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15832 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-09 17:40:44 +00:00
Jean-Marc Lasgouttes
79f3f377e3 * bind/menus.bind: digits may need the shift modifier (on french
kbd for example).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15830 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-09 15:45:01 +00:00
Jean-Marc Lasgouttes
09c4b3a4fa update from Ran Rutenberg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15826 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-09 15:17:19 +00:00
Michael Schmitt
298c01e167 replace "Notation Entry" by "Glossary Entry" and "Notation List" by "Glossary"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15797 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-07 22:28:53 +00:00
Michael Schmitt
0b9624f421 * stdtoolbars.ui: change "notation" to "glossary";
change "TeX Code" to "TeX code"
	


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15794 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-07 21:45:30 +00:00
Michael Schmitt
0f56f98ec2 * ui/stdmenus.ui: add shortcuts whereever possible
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15793 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-07 21:38:02 +00:00
Michael Schmitt
f80c16cb4d * ui/stdmenus.ui: beautification:
- capitalize word in menu entries
		- remove obsolete comments
		- change "Notation" to "Glossary"
		- move "Date" to the end of the "insert" menu
		- add shortcuts, where possible
		- change "Next Reference" to "Next Cross-Reference"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15790 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-07 20:23:54 +00:00
Michael Schmitt
26f65e29a8 * cua.bind: bind CTRL-Y to "redo" (like most apps);
keep the CTRL-Shift-Z binding


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15774 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 22:05:18 +00:00
Jürgen Spitzmüller
b0d4524252 * lib/images/nomencl-insert.xpm:
* lib/Makefile.am:
* development/scons/scons_manifest.py:
	- a (provisional) nomencl-insert icon

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15763 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 09:08:28 +00:00
Georg Baum
e35725d5c0 New nomenclature inset from Ugras
* src/LyXAction.C
	(LyXAction::init): Add LFUN_NOMENCL_INSERT and LFUN_NOMENCL_PRINT

	* src/insets/insetbase.C
	(build_translator): ditto

	* src/LaTeXFeatures.C
	(LaTeXFeatures::getPackages): Add nomencl

	* src/insets/insetnomencl.[Ch]: new insets InsetNomencl and
	InsetPrintNomencl

	* src/insets/insetbase.h: Add NOMENCL_CODE and NOMENCL_PRINT_CODE

	* src/insets/insetcommandparams.C
	(InsetCommandParams::findInfo): Add nomenclature and printnomenclature
	(InsetCommandParams::getCommand): Extend end of command protection to
	cover commands with only optional arguments like printnomenclature

	* src/insets/insetert.C
	(InsetERT::getStatus): disable LFUN_NOMENCL_INSERT and
	LFUN_NOMENCL_PRINT

	* src/insets/Makefile.am: Add new files
	* src/frontends/qt4/Makefile.dialogs: ditto
	* src/frontends/qt4/Makefile.am: ditto

	* src/factory.C
	(createInset): Handle InsetNomencl and InsetPrintNomencl
	(readInset): ditto

	* src/buffer.C
	(LYX_FORMAT): increase

	* src/lyxfunc.C
	(LyXFunc::dispatch): Handle nomenclature

	* src/LaTeX.C
	(LaTeX::deleteFilesOnError): Delete .nls file
	(LaTeX::run): Run makeindex for nomenclature
	(LaTeX::runMakeIndex): handle nomenclature options
	(LaTeX::deplog): Recognize nomenclature file

	* src/frontends/qt4/QNomenclDialog.[Ch]: new
	* src/frontends/qt4/QNomencl.[Ch]: ditto
	* src/frontends/qt4/ui/QNomenclUi.ui: ditto

	* src/frontends/qt4/Dialogs.C
	(Dialogs::build): handle nomenclature dialog

	* src/text3.C
	(LyXText::dispatch): Handle LFUN_NOMENCL_INSERT and
	LFUN_NOMENCL_PRINT
	(LyXText::getStatus): Ditto

	* src/lfuns.h
	(kb_action): Add LFUN_NOMENCL_INSERT and LFUN_NOMENCL_PRINT

	* lib/lyx2lyx/LyX.py
	(format_relation): Update 1.5 format range

	* lib/lyx2lyx/lyx_1_5.py
	(revert_nomenclature): New
	(revert_printnomenclature): ditto

	* lib/chkconfig.ltx: Test for nomencl package

	* lib/doc/LaTeXConfig.lyx.in: Add nomencl package

	* lib/doc/Extended.lyx: Add documentation for nomencl

	* lib/ui/stdtoolbars.ui
	(Toolbar "extra" "Extra"): Add nomencl-insert

	* lib/ui/classic.ui: Add nomencl-insert and nomencl-print
	* lib/ui/stdmenus.ui: ditto

	* development/scons/scons_manifest.py: Add new files

	* development/FORMAT: Describe new format


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15739 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 17:55:36 +00:00
Georg Baum
f2025c20e9 Convert the CREDITS file to utf8 and spell Ugras' name correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15731 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 12:46:00 +00:00
Jürgen Spitzmüller
4015732fb1 * lib/images/*.xpm:
- improved icons for change tracking
- new icon for note-next

* development/scons/scons_manifest.py: 
* lib/Makefile.am:
- install new icons

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15729 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 11:06:43 +00:00
Michael Schmitt
4d52567187 * lib/Makefile.am: install new change tracking icons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15720 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-03 22:06:50 +00:00
Michael Schmitt
0c7610b467 * lib/images/*.xpm: add icons for the "review" toolbar
* development/scons/scons_manifest.py: install new icons


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15719 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-03 22:03:11 +00:00
Bo Peng
13ce016c72 update Bo Peng's credits. :-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15711 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-03 15:00:26 +00:00
Peter Kümmel
d03061c171 update Peter Kuemmel's credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15706 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-03 11:22:50 +00:00
Georg Baum
c9e75d84ac enable utf8 since lyx2lyx already reverts it
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15704 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-03 10:38:30 +00:00
Bo Peng
eaa33dca6d Session/Toolbars:
* src/LyXAction.C: LFUN_TOOLBAR_TOGGLE_STATE
	* src/session.h/C: add ToolbarSection class
	* src/lyxfunc.C: handle LFUN_TOOLBAR_TOGGLE_STATE
	* src/frontends/LyXView.h/C: toggleToolbarState(name)
	* src/frontends/Toolbars.h/C: initFlags, toogle and save toolbar, 
	    changed update logic
	* src/frontends/qt4/QLToolbar.h/C: saveInfo. Surprisingly little is 
	    asked from frontend.
	* src/frontends/qt4/GuiView.C: save toolbar when lyx exits
	* src/MenuBackend.h/C: add Toolbars submenu
	* src/lfuns.h: add LFUN_TOOLBAR_TOGGLE_STATE
	* src/ToolbarBackend.h: add AUTO flag
	* lib/ui/stdmenus.ui: add view->Toolbar menu


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15691 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-02 16:01:36 +00:00
Bo Peng
f49f2f6e22 New bookmarks implementation:
* src/lyxfunc.C: handle LFUN_BOOKMARK_GOTO and LFUN_BOOKMARK_CLEAR
	* src/session.h/C: store bookmarks here.
	* src/lfuns.h, src/LyXAction.C: add LFUN_BOOKMARK_CLEAR
	* src/BufferView.h/C: remove saved_positions, move LFUN_BOOKMARK_GOTO to lyxfunc.C
	* src/MenuBackend.h/C: add Bookmarks menu type
	* lib/ui/stdmenus.ui: change bookmarks menu items


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15673 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 15:55:17 +00:00
Georg Baum
892d9eaac3 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15668 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 15:09:32 +00:00
Georg Baum
fa73bbd045 Fix more invalid documents: s/\\color default/\\color inherit/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15666 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 14:55:38 +00:00
Georg Baum
44faad89e3 Describe beamer in LaTeX class list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15657 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 10:20:40 +00:00
Georg Baum
fc7171926a define missing color
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15656 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 10:06:31 +00:00
Georg Baum
551fe79880 Fix invalid colors (generated by LyX 1.4.3)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15653 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 09:22:35 +00:00
Georg Baum
9f4cc3c9f0 Convert to new format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15652 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 08:41:31 +00:00
Georg Baum
6af710094e Add beamer layout file and examople, fresh from the beamer CVS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15647 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-31 20:56:42 +00:00