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
Jürgen Spitzmüller
1217b15401
* lib/Makefile.am: toc icon change.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18144 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 08:26:48 +00:00
Jürgen Spitzmüller
c28cfe9e5d
* lib/images:
...
- rename toc-view.xpm to dialog-toggle_toc.xpm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18141 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 07:05:12 +00:00
Uwe Stöhr
b3605ac9fc
set SCons and Makefile for the previous CV-class changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18138 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 22:21:06 +00:00
Uwe Stöhr
fb8141c5be
also move the images for the CV-class examples
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18137 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 22:10:21 +00:00
Uwe Stöhr
0f7f2c4cde
- Update LaTeXConfig.lyx.in for moderncv and europecv
...
- move the CV templates to examples
- delete double and outdated g-brief2 example - there is an actualized version since a while now in the templates.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18133 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 21:51:52 +00:00
Jürgen Spitzmüller
699fd5a7b4
* src/lfuns.h:
...
* src/LyXAction.cpp:
* src/LyXFunc.cpp:
- implement new LFUN_DIALOG_TOGGLE
- remove obsolete LFUN_TOC_VIEW
* lib/ui/classic.ui:
* lib/ui/stdmenus.inc:
- use dialog-toggle for toc and view-source
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18118 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 14:29:49 +00:00
Michael Schmitt
295eea310e
replace term "Glossary" by "Nomenclature"
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18102 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 22:21:00 +00:00
Uwe Stöhr
242e09f20d
Fix table rotate images, bug 3525:
...
http://bugzilla.lyx.org/show_bug.cgi?id=3525
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18093 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 16:39:54 +00:00
Uwe Stöhr
a166944df6
lib/languages: whitespace fixes and language codes for Sorbian
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18088 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 12:36:26 +00:00
Uwe Stöhr
4c4bb362a1
unicodesymbols: correct character ordering
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18085 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 12:15:04 +00:00
Uwe Stöhr
b77f925b8f
EmbeddedObjects manual: fix wrong statements
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18084 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 11:02:51 +00:00
Uwe Stöhr
9e3045980e
de_docs: Fix name of "Windows"
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18073 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 13:33:13 +00:00
Uwe Stöhr
f60323c9fd
de-docs: Fix bugs inserted by changeset 16480
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18069 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 13:09:36 +00:00
Georg Baum
59d0d3cedc
Fix bug 3511
...
* lib/unicodesymbols: Fix stupid thinko with schwa-like symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18066 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 09:07:49 +00:00
Edwin Leuven
e870207601
swap colors: superscript box should be blue, not black
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18058 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-27 08:41:59 +00:00
Uwe Stöhr
cfc0385afd
Documentation updates according to the latest file format change.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18054 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 22:49:30 +00:00