Commit Graph

1784 Commits

Author SHA1 Message Date
Uwe Stöhr
fb02cfb34e ExtendedInsets: change title order and fix PDF info tags
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16862 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-26 00:50:38 +00:00
Bo Peng
93f1f8bdac Fix beamer.layout (remove .cls in DeclareLaTeXClass)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16852 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-25 17:00:56 +00:00
Uwe Stöhr
a2dd146542 Updates and image path fixes from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16840 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-24 21:38:53 +00:00
Georg Baum
4e16d0e666 fix filenames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16836 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-24 16:44:50 +00:00
Enrico Forestieri
b9aa557b35 Fix encoding of converters path and arguments
* src/converter.C
	(Converters::convert): Convert command to be executed to the proper
	encoding. Use from_utf8 instead of from_ascii in order to avoid
	assertions when displaying an alert.

	* src/support/docstring.[Ch]
	(to_filesystem8bit): new conversion function.

	* lib/scripts/fig2pstex.py
	* lib/scripts/fig2pdftex.py:
	Modified to reflect the changes above.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16803 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-22 02:58:47 +00:00
Michael Schmitt
7208919883 * lib/ui/stdttoolbars.inc: for the perfectionists: use a shorter
toolbar title ("View/Update") for consistency with the other
	toolbars (e.g., we say "Table" rather than "Edit Table")


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16795 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-21 11:48:21 +00:00
Michael Schmitt
b099295441 * lib/ui/stdtoolbars.inc: fix typo; use Capitals in
toolbar name; remove term "output" in "DVI output"
	for consistency with the other items


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16792 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-21 10:20:39 +00:00
Uwe Stöhr
8dd721572f change default position of new "view/update" toolbar to the right as this was the original intention.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16790 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-21 00:50:51 +00:00
Uwe Stöhr
b6cdc7d751 new toolbar to view/update view documents; as discussed on the list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16789 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-21 00:05:33 +00:00
Michael Schmitt
06df38b7f1 * lib/ui/classic.ui: "Plain Text, Join Lines" - align
with menu entries in stdmenus.ui


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16787 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-20 18:35:27 +00:00
Uwe Stöhr
51255d6598 require needed packages for beamer class
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16752 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-18 19:20:32 +00:00
Martin Vermeer
8f7b5e4952 * stdmenus.inc: change wording of "as Lines", "as Paragraphs"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16742 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-18 07:23:58 +00:00
Uwe Stöhr
31ea73d0d7 fix bug 2418
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16741 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-18 01:03:23 +00:00
Jürgen Spitzmüller
891a046862 * lib/images/buffer-update_pdf2.xpm:
* lib/Makefile.am:
* development/scons/scons_manifest.py:
	- add missing "update pdf" icon. Not beautiful, but matches 
	   the other view/update icons.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16722 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-17 08:18:20 +00:00
Uwe Stöhr
3dca136795 fix accidentally broken image
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16719 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-17 01:09:24 +00:00
Uwe Stöhr
68e4965abb updated icons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16718 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-17 01:05:22 +00:00
Michael Schmitt
e6aa1c9b38 * lib/CREDITS:
* lib/generate_contributions.py:
	* development/MacOSX/LyX.app/Contents/Resources/lyxrc.dist: rename "ascii" to "plain text"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16715 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-16 22:33:44 +00:00
Michael Schmitt
14fd412ff0 * lib/doc/*.lyx: replace "ascii" by "plain text"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16712 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-16 22:15:33 +00:00
Jürgen Spitzmüller
d4488a2afe Make LyX compile again.
* lib/Makefile.am:
	- fix URIs introduced with r16699

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16704 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-16 11:28:37 +00:00
Michael Schmitt
13845ef861 replace 'ascii' by 'plain text' (more to come)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16702 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-16 07:05:07 +00:00
Uwe Stöhr
3177b8e16f - remove duplicate PDFs
- correct entries in makefile.am

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16699 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-15 23:22:06 +00:00
Michael Schmitt
1f7a1257f1 * change LFUN file-insert-ascii to file-insert-plaintext
* change LFUN file-insert-ascii-para to file-insert-plaintext-para
* change LyXRC::RC_ASCIIROFF_COMMAND to LyXRC::RC_PLAINTEXT_ROFF_COMMAND
* change LyXRC::RC_ASCII_LINELEN to LyXRC::RC_PLAINTEXT_LINELEN
* replace "ascii" by "plaintext" in method names


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16697 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-15 22:49:14 +00:00
Uwe Stöhr
5fc1a28cdd remove unneeded image
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16687 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-14 20:40:06 +00:00
Uwe Stöhr
16be3ddff5 - updated: removed the stuff that is now described in Extended-Insets (The same as done some days ago in the 1.4.x branch)
Now all docs are in sync again.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16686 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-14 18:30:28 +00:00
Michael Schmitt
9c09f34da0 * lib/*: rename Extended-Insets to ExtendedInset
* development/scons/scons_manifest.py: add es_ExtendedInset


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16683 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-14 18:17:56 +00:00
Georg Baum
20ca103817 add new docs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16677 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-14 17:13:54 +00:00
Uwe Stöhr
f41eedd7ee - new documentation
- images used in the new documentation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16676 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-14 16:41:42 +00:00
Georg Baum
c61296caa3 Add two files that are included by the beamer example file and that I forgot.
Found out by Jean-Pierre Chretien.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16671 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-13 21:08:13 +00:00
Georg Baum
0ddb4d5f30 Change lyx2lyx conversion and LaTeX export of documents with
\inputencoding default

	* src/paragraph_pimpl.C
	(isEncoding): Explain why bparams.inputenc == "default" is ignored

	* src/bufferparams.C
	(BufferParams::encoding): Determine the encoding from the language
	for inputenc == "default"

	* src/buffer.h
	(writeLaTeXSource): Mention inputenc == "default" in documentation

	* src/bufferparams.h
	(inputenc): Update documentation of "default"

	* src/output_latex.C
	(switchEncoding): Switch the encoding also for inputenc == "default",
	but don't output \inputencoding commands in that case

	* lib/lyx2lyx/LyX.py
	(get_encoding): Determine the encoding from the language for
	inputencoding == "default"

	* lib/lyx2lyx/lyx_1_5.py
	(convert_multiencoding): ditto

	* development/FORMAT: Update documentation of \inputencoding default


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16667 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-13 14:36:54 +00:00
Uwe Stöhr
6c145ad6d8 whitespace only again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16665 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-13 14:19:58 +00:00
Uwe Stöhr
b65a2f2b7b whitespace only -- improve readability
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16661 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-13 02:25:14 +00:00
Enrico Forestieri
e0a7b67497 Partially revert changeset 16635.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16636 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-10 04:24:36 +00:00
Enrico Forestieri
cff50172f3 Fix encoding of filenames in python scripts
* lib/scripts/fig2pstex.py
	* lib/scripts/fig2pdftex.py
	* lib/scripts/fig_copy.py
	* lib/scripts/fen2ascii.py:
	convert filenames from utf8 to the default locale encoding.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16635 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-10 03:42:06 +00:00
Georg Baum
5964414ed6 more Sweave commands from Gregor Gorjanc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16626 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-09 08:38:17 +00:00
Michael Schmitt
d3216ba624 * lib/ui/stdmenus.inc: use marginally better shortcuts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16618 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-08 23:17:44 +00:00
Michael Schmitt
904ccfa5bd * lib/ui/stdmenus.inc: remove "paste " from "paste selection as xxx"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16614 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-08 22:00:43 +00:00
Uwe Stöhr
a3b2347d41 Updated
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16613 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-08 21:45:27 +00:00
Bo Peng
b7f4f88f2f lib/ui/stdmenus.inc: change 'Clipboard as xxx' to 'Plain Text as xxx'. I still think we should remove 'Selection as xxx'.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16590 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-07 22:52:04 +00:00
Bo Peng
57686e9d61 Fix bug 3062, bookmark-goto x crashes lyx for invalid bookmark
* src/session.C: check validity of temp bookmark
	* src/lyxfunc.C: check validity of bookmark in GOTO_BOOKMARK
	* lib/bind/*.bind: remove shortcuts to bookmark-save 2/3/4/5


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16589 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-07 22:41:54 +00:00
Georg Baum
47e8e30eb1 Fix bug 144: Support for noteedit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16574 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-07 15:56:41 +00:00
Georg Baum
1103be3d85 Fix thinko: default paste method for plain text
* src/lyxtext.h
	* src/text3.C
	(pasteString): Change argument to bool

	* src/text3.C
	(LyXText::dispatch): (LFUN_PASTE): Paste plain text as paragraphs,
	not as lines
	(LyXText::dispatch): Adjust to pasteString change

	* lib/bind/cua.bind:
	* lib/bind/sciword.bind:
	* lib/bind/mac.bind: Move shortcuts from "clipboard-paste paragraph"
	and "primary-selection-paste paragraph" to "primary-selection-paste"
	and "clipboard-paste", since the "paragaph" versions are used in
	LFUN_PASTE and middle-mouse-button paste. Now "primary-selection-paste"
	has the same shortcut it always had, and "clipboard-paste" has the
	shortcut that was originally assigned to
	"primary-selection-paste paragraph".


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16553 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-06 15:33:07 +00:00
Michael Schmitt
53e186297e * lib/configure.py: change "MS Word (HTML)" to "HTML (MS Word)" as suggested by H. Haase; fix a few typos ("a" => "an")
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16552 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-06 15:03:38 +00:00
Michael Schmitt
1eecab0885 * lib/bind/cua.bind:
* lib/bind/mac.bind:
* lib/bind/sciword.bind: move the shortcut C-M-v from "primary-selection-paste" to "clipboard-paste paragraph"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16550 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-06 13:56:58 +00:00
Michael Schmitt
8c85719080 * lib/ui/stdmenus.inc:
* lib/ui/stdmenus.ui: rename file in order not to confuse users
* lib/ui/stdtoolbars.inc:
* lib/ui/stdtoolbars.ui: rename file in order not to confuse users

* development/scons/scons_manifest.py: 
* lib/doc/de_Customization.lyx:
* lib/Makefile.am:
* lib/ui/classic.ui:
* lib/ui/default.ui: adjust
 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16549 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-06 13:42:15 +00:00
Bo Peng
8e46520b99 Change menu item 'Paste External Clipboard/Selection' to 'Paste Special'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16516 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-04 20:08:22 +00:00
Michael Schmitt
79957d0f70 change LYX_USER_DIR_1[234]x to LYX_USER_DIR_15x
change LYX_DIR_1[234]x to LYX_DIR_15x

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16481 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-03 18:02:26 +00:00
Jean-Marc Lasgouttes
cdb23fdf4f German documentation update from Hartmut Haase
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16480 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-03 15:55:48 +00:00
Jean-Marc Lasgouttes
94da7f7c83 * src/MenuBackend.[Ch]: the specialMenu is now a real menu, not a
menu name. 

	* src/frontends/qt4/QLMenubar.C (macxMenuBarInit): hardcode the 
	special menu instead of reading it from ui files. Use labels that will
	trigger Qt menu merging functionality onthe mac. This fixes menu
	merging on LyX/Mac (but the menu names are still in english for now). 

	* lib/ui/stdmenus.ui: delete special menu definition "LyX".


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16479 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-03 11:59:10 +00:00
Georg Baum
6d72d2db94 fix lyx2lyx conversion of multiple encoding files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16459 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-01 12:12:07 +00:00
Jean-Marc Lasgouttes
ec4ff5e1a8 New textclass
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16428 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 13:40:50 +00:00
Georg Baum
9f4fb61163 Change default encoding of arabic to cp1256 because iso8859-6 is incomplete
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16427 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 13:17:48 +00:00
Jean-Marc Lasgouttes
6146f2dad4 Fix description of LabelCounter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16422 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 10:22:16 +00:00
Georg Baum
244b2c1fab Add some more LaTeX encodings, fix thailatex and display all available
encodings in the preferences dialog

	* src/LaTeXFeatures.C: special treatment for tis620-0 encoding
	* src/bufferparams.C: ditto
	* src/output_latex.C: ditto

	* src/encoding.[Ch]: Add the possibility to iterate over all encodings

	* src/paragraph_pimpl.C: Add latin10 and cp858 to Euro treatment

	* src/buffer.C: Update format number

	* src/frontends/qt4/QDocumentDialog.C: Don't hardcode available
	encodings

	* lib/lyx2lyx/LyX.py,
	  lib/lyx2lyx/lyx_1_5.py: implement conversion from 256 to 255

	* lib/encodings: Add some encodings, fix all "unknown" entries

	* development/FORMAT: Document file format change


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16418 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 18:15:25 +00:00
Georg Baum
c7490b191e Add LyX 1.4.x format for export
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16417 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 16:23:12 +00:00
Michael Schmitt
88a6d1a918 * lib/configure.py: fix typos ("Declear" => "Declare")
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16415 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 15:30:12 +00:00
Georg Baum
c4307d1dd3 add new galician file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16401 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-27 11:59:56 +00:00
Jean-Marc Lasgouttes
63b31731e2 new Galician tutorial; updated Intro
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16397 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-27 10:37:03 +00:00
Enrico Forestieri
5601319367 Christmas present for Gregor Gorjanc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16394 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-24 19:23:33 +00:00
Jean-Marc Lasgouttes
5d356a862f Add layout AltAffiliation ; add optional argument support for Author Email and
Author URL


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16345 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-20 14:03:25 +00:00
Georg Baum
f00d73283a small fix from Sian Mountbatten
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16327 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-18 20:27:26 +00:00
Georg Baum
18d0b87b2d grammar fix from Sian Mountbatten
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16326 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-18 20:25:37 +00:00
Jean-Marc Lasgouttes
4c8bc51acf remove change tracking on file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16319 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-18 09:23:30 +00:00
Edwin Leuven
e3241cca0a * add Rrightarrow.xpm to scons & automake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16317 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 17:46:47 +00:00
Edwin Leuven
dc8bba7918 fix: http://bugzilla.lyx.org/show_bug.cgi?id=452
ControlMath.C: cleanup order of symbols in math panel
iconpalette.C: 6 cols since many symbols come in pairs
Rrightarrow.xpm: was missing
searrow.xpm: was north east
swarrow.xpm: was north west


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16316 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 17:36:00 +00:00
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
Peter Kümmel
c04f51682f enable at least a context-sensitive CT toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15638 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-31 14:23:15 +00:00
Michael Schmitt
9ecf6723bc * src/frontends/Toolbars.h:
* src/frontends/Toolbars.C: rename change_tracking to review
        * lib/ui/default.ui: remove duplicate "review" toolbar
        * src/frontends/LyXView.C: implement context-sensitivity for 
        the review toolbar


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15610 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-29 22:50:24 +00:00
Martin Vermeer
e656777a92 * layout2layout.py
(convert): remove spurious tabs



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15599 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-29 11:41:15 +00:00
Peter Kümmel
577eaa14f8 Show Change Tracking toolbar, prepare hiding/positioning:
- src/frontends/Toolbars.h: control displaying of CT toolbar with a parameter
 - src/frontends/Toolbars.C: control displaying of CT toolbar with a parameter
 - src/frontends/LyXView.C : show CT toolbar
 - src/ToolbarBackend.C    : add CT toolbar to default.ui as REVIEW
 - lib/ui/default.ui       : add CT toolbar to default.ui
 - src/ToolbarBackend.h	   : add CT toolbar type  REVIEW



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15598 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-29 11:13:46 +00:00
Georg Baum
fa1856440c Restore inputenc support
* src/encoding.h
	(encoding_table): remove, this is no longer needed with unicode
	(iconvName_): new member: name of the encoding in iconv syntax

	* src/exporter.C
	(Exporter::Export): Use return value of Buffer::makeLaTeXFile

	* src/buffer.[Ch]
	(Buffer::makeLaTeXFile): return whether the file has been created
	successfully

	* src/buffer.C
	(Buffer::makeLaTeXFile): Use a docstream that converts to the correct
	encoding
	Display an error dialog is something went wrong

	* src/bufferparams.C
	(BufferParams::writeLaTeX): Undo the utf8 inputenc hack

	* src/frontends/qt4/QDocumentDialog.C: Add some FIXMEs

	* src/support/unicode.[Ch]
	(eightbit_to_ucs4): New conversion function
	(ucs4_to_eightbit): New conversion function

	* src/support/docstream.[Ch]
	(utf8_codecvt_facet_exception): Move to header and rename to
	iconv_codecvt_facet_exception
	(odocfstream): Take the encoding as argument

	* src/support/docstream.C
	(utf8_codecvt_facet): Generalize to other encodings than utf8 and
	rename to iconv_codecvt_facet

	* src/encoding.C: Remove obsolete tables

	* src/output_latex.C
	(TeXOnePar): Convert the paragraph to different encoding if needed

	* lib/encodings: Remove obsolete tables


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15564 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-26 15:01:45 +00:00
Georg Baum
35847cdad8 Make the code a bit more python-like
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15563 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-26 14:43:58 +00:00
Jean-Marc Lasgouttes
f113c9b63d add Ran Rutenberg as new contributor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15560 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-26 14:28:44 +00:00
Jean-Marc Lasgouttes
708abe8d95 update Hebrew translation of Intro
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15559 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-26 13:47:16 +00:00
Georg Baum
06139fb170 Port InsetCommandParams::scanCommand to lyx2lyx.
Now we can parse all commands that could be parsed in the old
InsetCommandParams


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15551 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-25 20:08:44 +00:00
Georg Baum
7dba7817ce missing bits of the new galician translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15550 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-25 19:03:36 +00:00
Michael Schmitt
06e52e5e31 * ui/stdmenus.ui: move "New Window" and "Close Window" to the bottom of the menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15540 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-24 20:57:29 +00:00
Jean-Marc Lasgouttes
1a54d2826b small update to contributors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15533 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-24 14:12:27 +00:00
Jean-Marc Lasgouttes
6222e8558a new Galician docs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15525 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-24 08:10:34 +00:00
Abdelrazak Younes
f4857dab04 new LFUN_WINDOW_CLOSE
* LyXFunc:
  - dispatch(): transfer assertion on lyx_view_ to each LFUN on a case by case basis.
  - dispatch(): new LFUN_WINDOW_CLOSE
  - getStatus(): special treatment for LFUN_LYX_QUIT

* LyX:
  - views_, addLyXView(): deleted
  - quit(): call saveGeometry() on each LyXView before exiting.

* GuiApplication:
  - is now a QObject.
  - quitLyX(): new Qt slot for lastWindowClosed signal.

* Gui.h:
  - destroyView(), destroyWorkArea(): deleted
  - viewIds(): new method

* GuiImplementation:
  - implement above changes.
  - GuiImplementation is now a QObject
  - cleanupViews(): new private slot.
  - buildViewIds(): new helper method
  - views_ and work_areas_ are now maps of raw pointers instead of schared_ptr.

* LyXView
  - now stores its id.
  - dispatch(): special treatment for LFUN_WINDOW_CLOSE.
  - workAreaIds(): new method.
  - close(): new pure virtual method.
  - saveGeometry(): new pure virtual method.

* GuiView:
  - implements above changes.
  - GuiView(): set WA_DeleteOnClose and Qt::WA_QuitOnClose to let Qt manage the destruction on close().
  - closeEvent(): session stuff transfered to saveGeometry()

* WorkArea
  - now store its id.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15514 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-23 16:29:24 +00:00
Georg Baum
d56de86b6a Fix stupid backslash quoting error that resukted in wrong conversion of
command inset parameters containing a ".


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15483 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 16:51:44 +00:00
Michael Schmitt
eabb9a5996 * CREDITS: Let the world know that I worked on change tracking :-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15481 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 16:12:49 +00:00
André Pönitz
21e8d10d97 convert symbols file to UTF8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15471 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 11:48:21 +00:00
Abdelrazak Younes
4d3fbc113f My six month cleanup crusade is now paying off: LyX has now multiple windows support!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15438 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 09:45:11 +00:00
Lars Gullik Bjønnes
8ee23bd35a Stuff!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15420 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-20 21:42:29 +00:00
Michael Schmitt
0d1c89fe64 change tracking:
ui/stdtoolbars.ui: revert removal of "insert-note" in "Extra" toolbar


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15407 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-20 13:32:27 +00:00
Michael Schmitt
e422b75ace change tracking:
* lib/ui/default.ui:
        * lib/ui/stdtoolbars.ui: add review toolbar;
        move "Insert note" from "Extra" to "Review" toolbar


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15400 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-20 12:26:27 +00:00
Georg Baum
47e8cccbe1 small readability fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15369 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-19 07:53:03 +00:00
Georg Baum
9285259c56 fix indentation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15361 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-18 09:44:08 +00:00
Georg Baum
b02242bfaf Rework InsetCommandParams interface and file storage
* src/insets/insetcommandparams.[Ch]:
	(operator[]): New, access a parameter
	(clear): New, clear all parameters
	(info_): New, stire info about this command
	(cmdname): Rename to name_
	(contents, options, sec_options): Replace with params_. Parameters
	are now stored as docstring.
	(findInfo): New factor for command info for all commands
	(read, write): Use new syntax
	(parameter set and get methods): reimplemenmt for new parameter storage

	* src/insets/insetcommand.h
	(getParam): New, get a parameter
	(setParam): New, set a parameter
	(parameter set and get methods): Adjust to InsetCommandParams changes

	* src/insets/insetbibitem.[Ch]
	(write): Remove, not needed anymore
	(directWrite): ditto

	* src/insets/insetbibitem.C
	(InsetBibitem::read): Use InsetCommand::read

	* src/insets/insetref.C
	(InsetRef::latex): Use new InsetCommandParams interface

	* src/mathed/InsetMathHull.C
	(InsetMathHull::doDispatch): ditto

	* src/text3.C
	(LyXText::dispatch): ditto

	* src/factory.C
	(createInset): Create InsetCommandParams with command name
	(readInset): ditto
	(readInset): Remove error message for bibitem, since bibitem is
	now a normal command inset

	* src/buffer.C: Bump file format number

	* src/frontends/controllers/ControlCommand.[Ch]
	(ControlCommand): take an additional command name parameter

	* src/text.C
	(readParToken): Remove code for \bibitem

	* lib/lyx2lyx/LyX.py: Bump latest file format number

	* lib/lyx2lyx/lyx_1_5.py
	(convert_bibitem, convert_commandparams): new, convert to new format
	(revert_commandparams): new, convert to old format

	* development/FORMAT: document new format

	* many other files: Adjust to the changes above


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15357 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-17 21:07:16 +00:00
Jürgen Spitzmüller
c0a61f6c18 * lib/lyx2lyx/lyx_1_5.py: correct indendation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15349 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-16 11:41:57 +00:00
Jürgen Spitzmüller
77e145a406 Remember the char style label state and make it globally switchable.
* src/buffer: 
	file format incrementation to 251
* src/insets/insetcharstyle.[Ch]:
	- make show_label a param and save its state
	- let all-insets-toggle togle the label in charstyles
* development/FORMAT: 
	document file format change
* lib/lyx2lyx/LyX.py:
	add new file format
* lib/lyx2lyx/lyx_1_5.py:
	remove char style label param on reversion to 250.
	

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15345 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-16 07:06:41 +00:00
Michael Schmitt
13b48b7172 * lib/bind/aqua.bind:
* lib/ui/classic.ui:
	* lib/ui/stdmenus.ui: remove tooltips-toggle


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15328 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-14 12:36:19 +00:00
Martin Vermeer
6c77c9ae41 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/trunk@15319 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-13 04:59:00 +00:00
Enrico Forestieri
6f62c98e31 Small fix for the last version bump
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15318 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-12 23:28:20 +00:00
Martin Vermeer
21316375fe Support for optional arguments for environments. No material format change.
* src/buffer.C
	(BufferList bufferlist;): bump version

	* src/output_latex.C
	TexEnvironment: add optarg for environments

	* lib/lyx2lyx/lyx_1_5.py: add converters

	* development/FORMAT: document



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15315 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-12 20:21:14 +00:00
Georg Baum
7f93cfe8e9 Fix bug 2901: Add menu entry for numbered formulas
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15307 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-12 14:49:19 +00:00
Michael Schmitt
4160f069a7 * src/LyXAction.C:
* src/BufferView.C:
	* src/lfuns.h: introduce LFUN_CHANGE_NEXT

	* src/text3.C: activate LFUN_ACCEPT/REJECT_CHANGE only in CT mode

	* src/rowpainter.C: reduce change bar width
	* src/rowpainter.h: enlarge change bar margin

	* lib/ui/stdmenus.ui: add "Next Change" in "Navigate" menu


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15249 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-04 21:43:40 +00:00
Michael Schmitt
c1bea68c0f * src/text3.C: disable MATH_INSERT in text mode
* lib/ui/stdmenus.ui: move math text styles from
        menu "insert" to menu "edit"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15246 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-04 19:29:15 +00:00
Georg Baum
90867eff0d 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/trunk@15245 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-04 19:01:00 +00:00
Georg Baum
368f6a53a8 Support lgathered and rgathered math environments
* src/mathed/InsetMathSplit.C
	(InsetMathSplit::validate): Only require amsmath for AMS stuff

	* src/mathed/MathFactory.C
	(createInsetMath): create InsetMathSplit if the latexkey is "split"

	* src/mathed/MathParser.C
	(Parser::parse1): remove "gathered" and "aligned", since these are
	now handled via lib/symbols
	(Parser::parse1): create InsetMathSplit if the latexkey is "split"

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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15224 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 19:45:43 +00:00
Georg Baum
2c72e0ecaa Fix bug 2868
* src/insets/insetgraphics.C
	(findTargetFormat): return pdf for vector graphics

	* src/format.h
	(Flags): new enum describing format flags
	(flags_): new member variable for format flags
	(vectorFormat): new, tell whether a format can contain vector graphics

	* src/format.C: adjust to flags changes

	* src/frontends/qt[34]/QPrefsDialog.C
	(QPrefsDialog::QPrefsDialog): handle new vector flag
	(QPrefsDialog::switch_format): ditto
	(QPrefsDialog::updateFormatsButtons): ditto
	(QPrefsDialog::new_format): ditto
	(QPrefsDialog::modify_format): ditto

	* src/frontends/qt3/ui/QPrefFileformatsModule.ui
	* src/frontends/qt4/ui/QPrefFileformatsUi.ui
	(vectorCB): new checkbox for vector flag

	* src/lyxrc.C
	(LyXRC::read): read vector flag
	(LyXRC::write): write vector flag

	* lib/doc/Customization.lyx: document format flags

	* lib/configure.py
	(checkFormatEntries): Add vector flag to some formats


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15205 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 08:34:59 +00:00