Commit Graph

1961 Commits

Author SHA1 Message Date
Bo Peng
33b2331867 Add examples/listings.lyx that roughly demonstrates the use of listings features
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18331 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 04:01:59 +00:00
Bo Peng
34f858b6ec InsetListings: add a section to doc/EmdeddedObjects.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18330 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 04:00:11 +00:00
Bo Peng
49cb2e69e7 InsetListings: lyx2lyx for caption and label
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18328 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 01:38:48 +00:00
José Matox
5aefff5be0 Fix importing of klewer template, add fix for recent update (null update for format 270)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18325 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 23:10:56 +00:00
Bo Peng
72e0b87a90 Separate caption and label from InsetListingsParams and handle them separately in listings and Include dialog, from Jurgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18324 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 20:42:14 +00:00
Martin Vermeer
fd70aabcc8 Add charstyles Alert and Structure to beamer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18322 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 19:56:05 +00:00
Uwe Stöhr
8deae3f11c EmbeddedObjects:
- fix issues spotted by Hartmut
- fix vertical table cell alignment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18297 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 22:38:35 +00:00
Bernhard Roider
fdaf886bbc fix scoons/makefile for r18280
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18288 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 18:10:40 +00:00
Jürgen Spitzmüller
5879bd3d0c * lib/doc/LaTeXConfig.lyx.in:
- document xcolor and soul.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18286 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 16:33:59 +00:00
Michael Schmitt
8684c07664 output changes by means of xcolor and soul
- when exporting with pdflatex 
  - when exporting with latex and dvipost is not available
rename two colors (strikeout => deletedtext, newtext => addedtext)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18284 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 15:17:57 +00:00
Bernhard Roider
6de5d0ad58 fix bug 2453
change of behavior of rotate-tabular and rotate-cell toolbar buttons such that they toggle the rotation. Therefore a toggle feature is added to the tabular features. Moreover after the patch the state of the set-rotate-cell and toggle-rotate-cell buttons is on only if all selected cells in the table are rotated. If not all selected cells are rotated then the toggle button rotates all selected cells.

The toggle-icons are copied from the set-icons.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18280 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-12 20:59:21 +00:00
Uwe Stöhr
6bebcf8feb EmbeddedObjects: fix issues spotted by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18272 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 23:32:57 +00:00
Bo Peng
a8e9fe82d0 lib/lyx2lyx/lyx_1_5.py: fix revert of listings insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18262 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 02:28:14 +00:00
Uwe Stöhr
486ca0c750 de-UserGuide.lyx: Updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18261 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-10 23:26:50 +00:00
Uwe Stöhr
8dfaf03815 lyx2lyx: fix wrong preamble entry about "armtex" when exporting to LyX 1.4.x format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18250 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 21:10:30 +00:00
Uwe Stöhr
c0e972978b EmbeddedObjects: small update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18248 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 20:10:19 +00:00
Bo Peng
4ce743a0a7 Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
* src/LyXAction.cpp: listing-insert action
	* src/insets/Inset.h,cpp: LISTINGS_CODE
	* src/insets/InsetInclude.cpp: handle \lstinputlisting
	* src/insets/InsetListings.h,cpp: new listings inset
	* src/insets/InsetListingsParams.h,cpp: parameters from listings package
	* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
	* src/Bidi.cpp: handle LISTINGS_CODE
	* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
	* src/frontends/qt4/ui/ListingsUi.ui: new dialog
	* src/frontends/qt4/ui/IncludeUi.ui: update UI
	* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
	* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
	* src/frontends/qt4/QListings.h,cpp: new listings inset
	* src/frontends/qt4/Dialogs.cpp: new listings dialog
	* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
	* src/frontends/controllers/ControlListings.h,cpp: new listings inset
	* src/LyXFunc.cpp: handle LISTING_CODE
	* src/Paragraph.cpp: handle LISTING_CODE
	* src/factory.cpp: new listings inset
	* src/CutAndPaste.cpp: handle LISTINGS_CODE
	* src/LaTeXFeatures.cpp: require listings
	* src/Text3.cpp: Handle LISTINGS_CODE
	* src/lfuns.h: add LFUN_LISTING_INSERT
	* src/Buffer.cpp: change lyx file format to 269
	* src/BufferParams.h,cpp: add listings_params to preamble
	* lib/lyx2lyx/LyX.py: lyx2lyx 
	* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
	* lib/ui/stdmenus.inc: new menu item (no shortcut!)
	* src/insets/Makefile.am: update autotools
	* src/frontends/controllers/Makefile.am
	* src/frontends/qt4/Makefile.dialogs
	* src/frontends/qt4/Makefile.am
	* po/POTFILES.in: a few more translatable files.
	* development/scons/scons_manifest.py: scons build system
	* development/FORMAT: document format changes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:11:42 +00:00
Uwe Stöhr
539bb94e77 es_EmbeddedObjects: Updates by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18239 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 00:13:37 +00:00
Uwe Stöhr
a91ace6761 lib/encodings: fix typo in comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18225 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 18:25:25 +00:00
Uwe Stöhr
93bca90c8e unicodesymbols: fix character order
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18223 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 17:03:44 +00:00
Jürgen Spitzmüller
5f025227c3 * lib/unicodesymbols: add endash and emdash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18222 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 16:08:01 +00:00
Jürgen Spitzmüller
9ff14f38ef * lib/encodings: just a tiny reordering: move utf8-plain to those encodings that do not load a package.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18219 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 06:00:29 +00:00
Uwe Stöhr
34a87dc41d lib/languages:
- add Country codes for Japanese and Chinese
- add info about Korean country code

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18217 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 21:49:40 +00:00
Uwe Stöhr
80b94c6bf5 Georg's patch for bug 3043:
Introduces new encodings for the CJK-languages.
The CJK-languages can now be selected from LyX's menu.
For remaining small problems, see the thread "Help needed for bug 3043" on the devel-list.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18216 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 20:26:02 +00:00
Uwe Stöhr
05ba23093e EmbeddedObjects manual: two fixes reported by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18213 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 14:54:58 +00:00
Uwe Stöhr
4d141bbe66 EmbeddedObjects manual:
- new section about float numbering
- some corrections

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18211 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 14:45:47 +00:00
Jürgen Spitzmüller
574b28db65 Fix bug 3508:
* src/ToolbarBackend.cpp:
* lib/ui/stdtoolbars.inc:
	- add tooltip to table widget
* src/frontends/qt4/QLToolbar.cpp:
	- display tooltip as icon text

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18208 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 07:26:51 +00:00
Edwin Leuven
307c4a5844 * make background of reload icon transparent (was white) and slightly adjust promote and demote arrows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18204 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-05 09:26:44 +00:00
Abdelrazak Younes
ab2324315b TOC Widget beautification by Stefan Schimanski:
* lib/images: 3 new icons 
* TocUi/TocWidget: Replace labeled button with icon buttons.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18202 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 17:37:05 +00:00
Peter Kümmel
3fcd616b19 fix xpm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18200 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 16:59:21 +00:00
Jürgen Spitzmüller
ced73c33e6 * lib/encodings:
- add new encoding utf8-plain for the sake of XeTeX users (bug 3526)
* src/BufferParams.cpp:
	- implement new encoding (skip inputenc)
	- fix logic error with thailatex

* src/Buffer.cpp:
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_5.pyx:
* development/FORMAT:
	- format increment to 267
	- reset encoding to utf8 on reversion.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18198 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 12:27:00 +00:00
Uwe Stöhr
5db1570e60 EmbeddedObjects manual: add note for caption widths in longtables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18193 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 23:30:44 +00:00
Edwin Leuven
c1a68504c8 * replace old toc-view with new dialog-toggle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18191 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 21:07:39 +00:00
Jean-Marc Lasgouttes
92dd086d77 remove fr/CV.lyx to fr/simplecv.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18184 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 13:08:29 +00:00
Edwin Leuven
91d1b3cc97 * update math symbols to be in a uniform style.
most icons are taken from this site:

  http://us.metamath.org/symbols/symbols.html

  the license of these files is the creative commons public
  domain dedication


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18183 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 11:33:02 +00:00
Uwe Stöhr
9036ce25c1 examples/armenian-article.lyx: fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18182 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 23:07:11 +00:00
Uwe Stöhr
52ab589aee remove examples/TableExamples.lyx as its content is explained in detail in the EmbeddedObjects manual - the same as for decimal.lyx i deleted last week after JMarc gave his OK.
As I did for decimal.lyx I leave the file in examples/de until the EmbeddedObjects manual is translated and renamed it to a German name.
(Hartmut also updated this file today.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18179 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 21:50:19 +00:00
Uwe Stöhr
7405a0f2e5 fix de_Userguide - necessary due to bug 3540
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18178 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 21:36:03 +00:00
Uwe Stöhr
7ef401c429 EmbeddedObjects: fix some bugs reported by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18177 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 21:07:56 +00:00
Uwe Stöhr
5adf743deb remove the Armenian characters from unicodesymbols as we now have proper support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18172 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 19:10:51 +00:00
Jean-Marc Lasgouttes
f5a33ae2a1 remove class cv, now that it has been superceded by simplecv
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18169 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 10:41:05 +00:00
Jean-Marc Lasgouttes
d0d04210e5 remove useless SubSection declaration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18168 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 10:31:55 +00:00
Uwe Stöhr
1ee62132f3 resolve makefile problem step 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18166 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 01:38:10 +00:00
Uwe Stöhr
0736ecb896 resolve makefile problem step 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18165 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 01:37:09 +00:00
Uwe Stöhr
4b3ae9cf76 de_Userguide: image changes due to todays renaming of view_toc.xpm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18162 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 21:16:27 +00:00
Uwe Stöhr
286463df06 lyx_1_5.py: better method to write preamble, suggested by Georg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18161 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 21:14:03 +00:00
Uwe Stöhr
45dd396555 forgot to move also the biblio file with the CV-classes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18160 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 18:44:40 +00:00
Uwe Stöhr
4e1734b455 languages: whitespace fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18158 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 18:13:24 +00:00
Uwe Stöhr
227f80157c file format change: support for Armenian
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18155 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 17:48:04 +00:00
Michael Schmitt
6f85a43cae * lib/ui/stdtoolbar.inc: "Math Spacing" => "Math Spacings" (use plural form consistently)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18146 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 09:57:45 +00:00