Commit Graph

172 Commits

Author SHA1 Message Date
Enrico Forestieri
4c3657ff7e Was forgetting this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20793 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 17:29:39 +00:00
Richard Heck
5aec75f931 Add module to create hanging paragraphs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20443 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-23 05:46:22 +00:00
Richard Heck
ab4c1039c5 Update makefiles from a previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20345 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-18 17:02:15 +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
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
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
Richard Heck
7fca02e290 Fix makefile for 19498.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19510 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 17:22:52 +00:00
Jürgen Spitzmüller
2a875336c0 * lib/Makefile.am:
* development/scons/scons_manifest.py:
	- add apa template.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19247 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-31 04:46:09 +00:00
Uwe Stöhr
4cef6923f4 Makefile.am: add Hungarian example files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18921 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-28 00:00:02 +00:00
Uwe Stöhr
58c9d5fd70 Add keymap file for Farsi, provided by Mostafa
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18861 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-22 22:41:45 +00:00
Richard Heck
954be90e11 Make HTML export work.
The key is the new copier script lib/scripts/ext_copy.py. Usage:
 ext_copy.py [-e ext1,ext2,...] <from file> <to file>
Given a <from file> and <to file>, it will copy all files in the directory 
in which from_file is found that have the extensions given in the -e option, 
or all files in that directory if no such argument is given. So, for example, 
we can do:
  python ext_copy.py -e png,html,css /path/from/file.html /path/to/file.html
and all html, png, and css files in /path/from/ will be copied to the 
(possibly new) directory /path/to/file.html.LyXconv/. The -t option determines 
the extension added to the output filename passed to the script ($$o, in the
copier definition), the default being "LyXconv". If just . is given, then no 
extension is added.

Other changes:
* configure.py: added appropriate copier definitions for html and wordhtml
formats, as well as for the Program pseudo-format.
* lib/Makefile.am and development/scons/scons_manifest.py: add ext_copy.py.
* lib/doc/Customization.lyx: update documentation.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18791 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 17:02:35 +00:00
Uwe Stöhr
46b03ed4fd Makefile.am: order files again after #18747
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18759 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-13 01:12:29 +00:00
Peter Kümmel
ac92fbbd8a also install the close tab image
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18747 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-12 06:54:42 +00:00
Uwe Stöhr
fddca82d95 add layout and template for iopart
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18745 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-12 01:09:49 +00:00
Jürgen Spitzmüller
b14bb26d54 * lib/Makefile.am:
- add missing images/math/function.xpm

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18718 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-08 14:38:27 +00:00
Edwin Leuven
9831f407f1 add varrho, patch from hzluo <memcache@gmail.com>
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18697 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-07 12:45:11 +00:00
Uwe Stöhr
bd380926a0 - add Farsi splash.lyx
- reordering SCons entries

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18685 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-05 21:31:39 +00:00
Uwe Stöhr
72586d2c03 update build system after changeset 18478
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18481 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-23 23:55:52 +00:00
Uwe Stöhr
738e0dd8be Add powerdot layout and example
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18463 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-22 21:35:22 +00:00
Uwe Stöhr
b477b2fe39 examples/he: - new splash.lyx
- remove prefix "he" (part 1)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18420 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-19 12:45:25 +00:00
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
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
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
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
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
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
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
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
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
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
5801d87512 Dezimal.lyx: forgot this in last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18003 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 21:00:54 +00:00
Jean-Marc Lasgouttes
c570ddad12 remove last traces of decimal.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17975 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 08:33:03 +00:00
Jean-Marc Lasgouttes
766000a7d8 new textclass simplecv
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17974 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 07:54:07 +00:00
José Matox
b97030c3b5 Add isprs.layout so that it is released.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17961 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 22:49:06 +00:00
Michael Schmitt
ec393ad65c * src/frontends/controllers/ControlMath.h: remove reference to
math panel dialog
	* lib/Makefile.am: do not install images/dialog-show_mathpanel.xpm
	* lib/bind/aqua.bind: remove math-panel binding
	* development/scons/scons_manifest.py: remove QMathDialog.C and
	dialog-show_mathpanel.xpm


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17889 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 13:30:27 +00:00
Uwe Stöhr
961de8d31a fix wrong entry from my last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17817 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 11:49:48 +00:00
Uwe Stöhr
13fa44d3e2 Add math fonts to SVN
(please check if the Makefile entry is complete, I couldn't test this here)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17816 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 11:46:26 +00:00
Uwe Stöhr
4760e2ad86 fix for the math-matrix dialog image
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17788 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-12 20:19:40 +00:00
Georg Baum
c537bb7b92 Partly undo rev 17780: Since the lfun math-matrix does still exist and can
be added by users to toolbars we should not delete the icon.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17785 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-12 12:54:11 +00:00
Uwe Stöhr
92cee8a262 Connect math matrix dialog to math panel as discussed yesterday.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17780 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 19:14:47 +00:00
Jean-Marc Lasgouttes
e7e37b449e fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17772 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 08:42:42 +00:00
Uwe Stöhr
c3ffce4a8c add math delimiter dialog to math toolbar, by Richard and me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17768 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-10 20:57:59 +00:00
Uwe Stöhr
9ad5bde3c6 support for europecv: Layout file and template
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17714 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 01:35:15 +00:00
Uwe Stöhr
566d5270f5 moderncv: - reworked layout and template file
- reduce ERT to minimum

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17713 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 01:30:54 +00:00
Uwe Stöhr
228c92e6b4 support for moderncv: Layout file and template as we currently have no CV template but as discusses some times ago on the users list we need one for the beginners.
(The next days I'll also prepare support for europecv, the second nicht CV class that is also required to use in some fields.)

I hope I'm not too rash here.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17700 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 01:52:34 +00:00
Uwe Stöhr
828343c3e8 - g-brief2 cleanups: Make Standard style the default as Letter style as default causes LaTeX errors when you accidentally have two of them
(since years now used by me successfully)
- new template for g-brief2

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17699 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 01:37:39 +00:00
Michael Schmitt
b8e23e46d0 restore the old LyX banner in preparation of the next release;
replace banner.ppm by banner.png


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17690 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 20:33:40 +00:00
Georg Baum
f2769c00c7 Finish the transition to unicode of the kmap machinery and enable kmap files
again (bug 3304)

	* src/intl.C
	(Intl::initKeyMapper): Don't set the char set of trans anymore

	* src/chset.[Ch]: delete, no longer needed

	* lib/kbd/*.cdef: ditto

	* src/lyxrc.[Ch]: remove RC_SCREEN_FONT_ENCODING and font_norm,
	these are no longer needed

	* src/lyxfunc.C: adapt to lyxrc changes

	* src/Makefile.am: remove deleted files

	* lib/Makefile.am: ditto

	* development/scons/scons_manifest.py: ditto

	* src/text3.C
	(LyXText::dispatch): reenable the kmap mechanism

	* src/trans_mgr.[Ch]
	(TransManager::setCharset): remove, no longer needed
	(TransManager::insert): remove, since it would be identical to
	insertVerbatim now
	(TransManager::insertVerbatim): rename to insert


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17665 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-31 16:41:02 +00:00
Uwe Stöhr
d95a26e115 add missing clipart directories
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17399 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 04:03:54 +00:00
Michael Schmitt
7fe43f1aa0 install images/math/frac-square.xpm (used in dialog)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17370 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 18:42:51 +00:00