Bo Peng
cc6fe67c35
Embedding feature patch 3: basic gui support
...
* lib/ui/stdmenus.inc: add menu item embedded files
* src/BufferParams.cpp: set default embedded status to false
* src/EmbeddedFiles.h|cpp: add a few member functions
* src/frontends/qt4/Dialogs.cpp: add embedding dialog
* src/frontends/qt4/GuiEmbeddedFiles.h|cpp: embedding dialog
* src/frontends/qt4/ui/EmbeddedFilesUi.ui: embedding dialog
* src/frontends/controllers/ControlEmbeddedFiles.h|cpp: embedding dialog control
* src/frontends/qt4/Makefile.am: build system update
* src/frontends/controllers/Makefile.am
* development/scons/scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19953 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 15:42:35 +00:00
Richard Heck
2607927e2f
Modularize the theorem modules.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19952 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 15:01:17 +00:00
José Matox
b3d5000a64
Increment file format due to the embedded feature
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19938 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 09:46:14 +00:00
Uwe Stöhr
bff6638b59
German UserGuide.lyx: updates from Hartmut
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19932 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-30 22:45:24 +00:00
André Pönitz
f82c3e8e65
xpm -> png
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19922 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-30 20:09:12 +00:00
Uwe Stöhr
dfb402c266
German UserGuide.lyx: updates from Hartmut
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19906 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-30 01:08:57 +00:00
Uwe Stöhr
88099cf89a
documentation: bugfixes by Ignacio
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19902 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-30 00:53:49 +00:00
Richard Heck
7f17f13bfc
Get package things working with modules prior to UI patch.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19900 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-29 22:59:25 +00:00
Richard Heck
8a947f63da
This is one of a series of patches that will merge the layout modules development in personal/branches/rgheck back into the tree.
...
Design goal: Allow the use of layout "modules", which are to LaTeX packages as layout files are to LaTeX document classes. Thus, one could have a module that defined certain character styles, environments, commands, or what have you, and include it in various documents, each of which uses a different document class, without having to modify the layout files themselves. For example, a theorems.module could be used with article.layout to provide support for theorem-type environments, without having to modify article.layout itself, and the same module could be used with book.layout, etc.
This patch adds the backend. The ModuleList class holds a list of the available modules, which are retrieved from lyxmodules.lst, itself generated by configure.py. There are two LFUNs available: modules-clear and module-add, which do the obvious thing; you can test by typing these into the minibuffer, along with the name of one of the available modules: URL (a CharStyle), Endnote (a Custom Inset), and---with the spaces---End To Foot (View>LaTeX and look at the user preamble), which are themselves in lib/layouts. There are some others, too, that allow theorems to be added to classes like article and book.
The GUI will come next.
Issues: (i) The configure.py script could be improved. It'd be nice, for example, if it tested for the presence of the LaTeX packages a particular module needs. But this would mean re-working the LaTeX script, and I don't know how to do that. Note that at present, the packages are ignored. This will change shortly. (ii) I've used std::string in LyXModule, following what seemed to be a precedent in TextClass. If some of these should be docstrings, please let me know, and I'll change them. (iii) There is at present no distinction between LaTeX and DocBook modules. Should there be? That is: Should there be modules that are available when the document class is a LaTeX class and others that are available only when it is DocBook? Or should there just be one set of modules? Each module can of course indicate for what it is suitable in its description.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19893 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-29 17:59:49 +00:00
Martin Vermeer
794ff76622
Add some more logical charstyles
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19892 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-29 16:04:56 +00:00
José Matox
f6e94c8b24
Fix bug 4158.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19886 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-29 13:39:15 +00:00
Uwe Stöhr
7a05036849
German Extended.lyx and UserGuide.lyx: updates from Hartmut
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19883 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-29 00:22:57 +00:00
Uwe Stöhr
1e6a27b25d
EmbeddedObjects.lyx: correct the description of the list of algorithms
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19879 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 23:48:09 +00:00
Martin Vermeer
12210a88fb
Oops...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19851 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 14:33:44 +00:00
Martin Vermeer
18299149f5
some more inclusions of stdinsets.inc
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19850 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 14:32:06 +00:00
Uwe Stöhr
4172485013
Extended.lyx: remove the sections about glossaries and indices as they are now (more complete and revised) in the UserGuide.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19816 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-26 20:41:00 +00:00
Martin Vermeer
77b575e562
Move background colour into the layout files -- for all collapsables
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19813 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-26 20:32:58 +00:00
Uwe Stöhr
4daef15dcc
Makefile.am: whitespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19811 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-26 20:21:56 +00:00
Uwe Stöhr
fa0f59c4b6
EmbeddedObjects manual: - it seems that the package "colortbl" is not standard on all systems, so treat it like the packages arydshln and marginnote in the document
...
- set correct language for the dummy documents
- small tweaks for the German version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19808 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-26 19:35:06 +00:00
Martin Vermeer
8eb22fd082
Updated versions to 5; added stdinsets.inc where I felt confident
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19804 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-26 09:10:52 +00:00
Martin Vermeer
9fe6ea87b2
fixed some classes to include inset defs, updated some version nrs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19802 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-26 08:33:03 +00:00
Martin Vermeer
e31d201dd6
Decoration added
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19795 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-25 18:41:58 +00:00
Martin Vermeer
30506f8e11
Clean-up in CharStyles, externalize detection of undefined styles to
...
layout files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19790 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-25 14:43:59 +00:00
Martin Vermeer
d9a7f647c8
Oops -- thanks Richard
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19773 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-24 15:15:38 +00:00
Martin Vermeer
540f3564f0
Inset configurability: separate charstyle and custom insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19769 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-24 12:45:40 +00:00
Martin Vermeer
e38b581bcb
add preamble snippets to charstyles
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19732 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-22 18:55:03 +00:00
Uwe Stöhr
68a28b60c9
Hebrew Tutorial.lyx: fix old link, fixes bug 4165
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19730 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-22 18:50:03 +00:00
Martin Vermeer
a921f1b7ae
layout2layout, changeover to version 5
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19723 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-22 14:36:07 +00:00
Uwe Stöhr
c63db51ad1
add Joan Montané to the credits
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19705 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 21:52:06 +00:00
Martin Vermeer
612af5c5f0
inset configurability: ERT
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19702 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 21:29:13 +00:00
Martin Vermeer
005c3ea9c0
charstyle update for beamer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19697 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 19:44:47 +00:00
Martin Vermeer
1bd92eb2f1
The necessary changes to these XML layouts (charstyle new format)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19696 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 19:43:10 +00:00
Uwe Stöhr
c4c945bc1e
German splash.lyx: fix image path
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19678 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 00:33:20 +00:00
Uwe Stöhr
d9e3cf5242
Spanish EmbeddedObjects.lyx: updates from Ignacio
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19675 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 00:18:05 +00:00
Martin Vermeer
e710636ee8
Symbolic colour names work\!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19664 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-20 18:57:48 +00:00
Georg Baum
022bcb105c
fix tex4ht detection on older SuSE and current Debian
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19663 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-20 17:31:42 +00:00
Martin Vermeer
96336caed7
make these definitions useful for latex
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19656 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-20 14:22:39 +00:00
Michael Schmitt
a6c9a208ca
* lib/ui/stdmenus.inc: use Capital letters in menu entries
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19650 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-19 19:02:28 +00:00
Alfredo Braunstein
b100b0a4c4
fix tabulation bug (python is amazing)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19646 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-19 14:03:51 +00:00
Martin Vermeer
3c504502bf
Further inset configurability, moving charstyle stuff to collapsable
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19640 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-18 23:26:07 +00:00
Martin Vermeer
ff682ec3e4
partial merge of charstyle and insetlayout stuff, part 2 (lyx2lyx)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19622 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-17 15:48:41 +00:00
Jean-Marc Lasgouttes
f86fc8d88c
The counters labelstring patch. Part 3: adapt some layout files and documentation
...
* numarticle.inc:
* numreport.inc:
* stdcounter.inc:
* stdsections.inc:
* stdstarsections.inc:
* stdclass.inc:
* scrbook.layout:
* amsmath.inc: adapt: remove most of the LabelString in layouts,
add the necessary stuff to counters.
* lib/doc/Customization.lyx: document the new stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19604 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-16 11:16:07 +00:00
José Matox
345c44c3eb
Add Susana to list of contributors
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19593 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-15 20:32:49 +00:00
Jean-Marc Lasgouttes
1c1a1eca82
fix file format
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19592 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-15 19:25:59 +00:00
Uwe Stöhr
3101c0bbc9
documentation: apply the last cleanups also to the other languages
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19579 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 23:09:56 +00:00
Uwe Stöhr
17fb8c31f4
UserGuide.lyx: fix a chapter title
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19575 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 22:53:07 +00:00
Uwe Stöhr
4d83b4c7ae
EmbeddedObjects.lyx: fix version number
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19574 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 22:52:31 +00:00
Uwe Stöhr
2427bfaf0f
DummyDocument1/2.lyx: fix author names, a relict of a bug in LyX 1.5.0beta times
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19573 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 22:52:09 +00:00
Uwe Stöhr
54bc047c85
UserGuide.lyx:
...
- finish Appendix A, the document is now ready except of Appendix B (description of the preferences dialog)
- add hint about XeTeX
- cleaned up index and cross-references
- add description of clearpage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19540 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 02:16:56 +00:00
Jean-Marc Lasgouttes
b0d1a6b717
Fix bug 409 (Add support for numbered footnotes)
...
* src/insets/InsetFoot.cpp (updateLabels): number the footnote if
(1) the footnote counter exists and (2) it is not in a title
layout
* lib/layouts/stdcounters.inc: add a footnote counter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19524 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 20:29:33 +00:00