Commit Graph

1988 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
04efe3c40a New framework for declaring generic features in textclasses.
* src/LaTeXFeatures.C (mustProvide): new method; returns true when
	isRequired is true and the feature is not provided by the
	textclass. 
	(getPackages, getLyXSGMLEntities): use mustProvide when relevant.

	* src/bufferparams.C (getEngine):
	* src/buffer.C (validate): adapt to change below.

	* src/lyxtextclass.C (read): replace tags ProvidesNatbib,
	ProvidesMakeidx, ProvidesUrl and ProvidesAmsmath by a generic
	"Provides".
	(provides): take a string as argument.
	
	* lib/scripts/layout2layout.py (convert): convert "ProvidesXxx" tags
	to "Provides xxx".

	* lib/layouts/*: update to format 4.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17740 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 09:02:23 +00:00
Uwe Stöhr
238c087a71 - layouts/stdstruct.inc: fix tipo
- templates/modernCV.lyx: small cleanup


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17725 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-05 01:02:31 +00:00
Uwe Stöhr
dc294b6136 europecv: - fix bibliography and wrong address layout
- change layout file because europecv doesn't support bibitems

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17724 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-05 01:01:03 +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
c36c0b6cf2 g-brief2.layout: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17712 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 01:21:38 +00:00
Uwe Stöhr
c94c3a0f1c add bibitem support for moderncv
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17710 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 20:51:27 +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
Uwe Stöhr
6990fb0343 fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17687 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 15:37:05 +00:00
Uwe Stöhr
eb0c4fbb87 Add Masanori Iwami to the contributers list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17685 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 15:26:11 +00:00
Uwe Stöhr
84b2f6f86f Add Stefan Schimanski to the contributers list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17677 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 13:58:35 +00:00
Georg Baum
7974192d28 Make encoding conversion more robust (workaround for bug 3404)
* lib/lyx2lyx/lyx_1_5.py
	(convert_multiencoding): Don't get confused by too many \end_layout
	tokens.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17673 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 09:33:39 +00:00
Uwe Stöhr
44c4c02c5d fix bug 912
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17670 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 02:02:28 +00:00
Enrico Forestieri
b343446bd4 Fix bug 3400
* lib/scripts/convertDefault.py: Use the cropbox option when the
	source format is pdf and convert supports it.

	* lib/configure.py: Don't define a PDF->PNG converter in order to
	avoid the EPS->PDF->PNG route when converting EPS to a loadable
	format.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17668 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-31 18:21:54 +00:00
Uwe Stöhr
f428433c08 de_Userguide: updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17667 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-31 17:35:49 +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
Georg Baum
4712db615e Manually fix kmap files after automatic conversion
* lib/kbd/french.kmap: Replace \b{} (nonstandard degree symbol from
	iso8859-8.cdef) with U+00B0
	Fix broken comment sign

	* lib/kbd/sg.kmap: Replace \b{} with U+00B0
	Comment out obscure entries with \it\${}

	* lib/kbd/sf.kmap: ditto

	* lib/kbd/european.kmap: Replace \b{} with U+00B0
	Remove obsolete comments

	* lib/kbd/espanol.kmap: Fix inverted question and exclamation marks

	* lib/kbd/american-2.kmap: Remove obsolete comments



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17664 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-31 16:29:41 +00:00
Georg Baum
c070ca00dd Convert kmap files from LaTeX commands to unicode as discussed last week
* development/tools/convert_kmap.py: New conversion script

	* lib/kbd/*.kmap: Convert with convert_kmap.py


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17663 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-31 16:07:05 +00:00
Uwe Stöhr
12e6426c3f es_EmbeddedObjects: some more updates from Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17660 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-31 13:15:58 +00:00
Georg Baum
49b842c83a Prepare lib/kbd for the unicode transition (part 2):
Convert all .kmap files to utf8

	* lib/kbd/thai-kedmanee.kmap convert from tis620-0
	* lib/kbd/greek.kmap         convert from iso8859-7
	* lib/kbd/polski.kmap        convert from iso8859-2
	* lib/kbd/german-3.kmap      convert from iso8859-1
	* lib/kbd/german.kmap        convert from iso8859-1
	* lib/kbd/koi8-r.kmap        convert from koi8-r
	* lib/kbd/hebrew.kmap        convert from cp1255
	* lib/kbd/european.kmap      convert from iso8859-1
	* lib/kbd/magyar-3.kmap      convert from iso8859-2
	* lib/kbd/arabic.kmap        convert from iso8859-6
	* lib/kbd/bg-bds-1251.kmap   convert from cp1251
	* lib/kbd/francais.kmap      convert from iso8859-1
	* lib/kbd/latvian.kmap       convert from iso8859-13
	* lib/kbd/german-2.kmap      convert from iso8859-1
	* lib/kbd/portuges.kmap      convert from iso8859-1
	* lib/kbd/koi8-u.kmap        convert from koi8-u
	* lib/kbd/american-2.kmap    convert from iso8859-1
	* lib/kbd/magyar-2.kmap      convert from iso8859-2
	* lib/kbd/serbian.kmap       convert from iso8859-5


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17659 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-31 10:47:17 +00:00
Georg Baum
e1f1136e03 Prepare lib/kbd for the unicode transition (part 1, more expected)
* lib/kbd/serbocroatian.kmap: Remove hack that replaced d-Stroke and
	D-Stroke with d-Caron and D-Caron, respectively.
	This is no longer needed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17658 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-31 10:21:56 +00:00
Uwe Stöhr
c473aedee7 more encoding fixes for German docs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17656 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-31 01:50:40 +00:00
Uwe Stöhr
0efef20a59 de_Userguide: encoding fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17655 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-31 01:44:20 +00:00
Uwe Stöhr
c33d0a26d7 EmbeddedObjects: dcolum fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17636 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-29 22:10:45 +00:00
Uwe Stöhr
8acae54241 Customization.lyx: add again a hint about bindings to avoid confusions
de_Userguide.lyx: small correction

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17632 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-29 20:31:01 +00:00
Bo Peng
6fc7d47a5f Restore old bookmark behaviors (stop using bookmark queue)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17628 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-29 03:41:55 +00:00
Uwe Stöhr
a5aeeb63b9 Coustomization.lyx: add a hint about bindings to avoid confusions, see bug 3378
http://bugzilla.lyx.org/show_bug.cgi?id=3378

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17624 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 23:00:52 +00:00
Michael Schmitt
cb6cacaa6a * ui/stdmenues.inc: add missing ellipsis for "glossary entry" menu entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17617 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 19:53:05 +00:00
Jean-Marc Lasgouttes
48a77862c4 remove useless provide tags
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17608 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 12:41:11 +00:00
Uwe Stöhr
3dcf33b781 EmbeddedObjects: Small update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17606 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 00:45:39 +00:00
Uwe Stöhr
7997d53fc4 es_EmbeddedObjects: Updates from Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17605 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 00:34:33 +00:00
Uwe Stöhr
5068a159af de_Intro.lyx: Small update from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17601 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-27 23:49:38 +00:00
Uwe Stöhr
f9625778b1 de_Userguide.lyx: Updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17600 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-27 23:44:54 +00:00
Jürgen Spitzmüller
18afc34d10 * lib/CREDITS:
* lib/generate_contributions.py:
	- add Richard Heck.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17597 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-27 17:58:58 +00:00
Georg Baum
791fbb9f65 some more tipa characters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17580 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-26 20:19:11 +00:00
Georg Baum
c27dce2b16 support direct conversion from format 1 to format 3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17531 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-24 12:39:45 +00:00
Martin Vermeer
88542bc2ee Get ProvidesNatbib working correctly, esp. for egs.layout.
* insetcite: call getEngine()
* bufferparams: move getEngine() here, and let it sense the 
provides(natbib)
flag
* ControlBibtex, ControlCitation: correct getEngine() call
* biblio: remove old getEngine()



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17505 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 07:22:16 +00:00
Bo Peng
dc59f0a1c2 remove " around is_IS in lib/languages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17500 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 02:33:59 +00:00
Uwe Stöhr
2b3f853c1f EmbeddedObjects: corrected index
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17478 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 19:05:58 +00:00
Georg Baum
fcf4061b89 silence automake warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17475 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 16:49:28 +00:00
Uwe Stöhr
459d99ca17 EmbeddedObjects: Spanish update prepared for Ignacio to translate
(The new files will be translated too and then renamed.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17473 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 15:42:30 +00:00
Uwe Stöhr
bc992d1421 Customization.lyx: reflect the latest EmbeddedObjects update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17472 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 15:10:21 +00:00
Georg Baum
f550496cee Fix TOC generation for build dir != src dir
* lib/doc/depend.py
	(documents): Add dir_prefix argument
	(all_documents): Ditto
	(main): Create document list with empty prefix, since the prefix will
	be addded by a Makefile variable
	(main): Don't use isdir to detect english language, since that does
	not work for build dir != src dir

	* lib/doc/doc_toc.py
	(main): Don't use isdir to detect english language, since that does
	not work for build dir != src dir, rather create the dir if it does
	not exists.

	* lib/doc/Makefile.depend: Regenerated


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17469 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 10:44:26 +00:00
Bo Peng
673da6c01c SCons: build TOC.lyx during installation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17468 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 06:03:28 +00:00
Uwe Stöhr
21b9d3a466 EmbeddedObjects.lyx:
- new section about external material
- two hints concerning caption layout
The manual is now feature complete!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17466 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 03:27:19 +00:00
Uwe Stöhr
87b2d1a2b4 correct tooltip name for consistency
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17465 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-17 19:46:33 +00:00
Georg Baum
b1b76d22f1 undo file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17462 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-17 10:30:31 +00:00
Uwe Stöhr
581392fe00 DE UserGuide.lyx: huge updates from Hartmut and small changes by me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17461 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-17 01:24:48 +00:00
Uwe Stöhr
5a3aa947e0 > Rename marc.theaimsgroup.com to marc.info
Forgot this

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17459 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-17 00:18:10 +00:00
Uwe Stöhr
93d8c09d65 Correct name: XFig -> Xfig
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17450 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-15 21:22:02 +00:00
Uwe Stöhr
3fbb036262 2 new images for the upcoming new EmbeddedObjects version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17443 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-14 02:51:56 +00:00
Uwe Stöhr
de0af94c83 Intro.lyx: fix tipo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17441 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-13 23:19:33 +00:00
Uwe Stöhr
1734c7c9ac tutorial updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17409 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 18:32:36 +00:00
Michael Schmitt
7bd29ec955 add firefox as HTML previewer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17408 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 15:43:16 +00:00
Georg Baum
aaa79ce109 fix clipart installation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17407 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 15:30:38 +00:00
Uwe Stöhr
86b10133cb EmbeddedObjects: small fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17406 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 14:41:24 +00:00
Georg Baum
0913a853b9 compile fix.
I have no idea whether this installs correctly, but it compiles at least.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17404 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 13:05:12 +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
Uwe Stöhr
8fe8454828 BIG change:
- move the images to a clipart folder under lib/doc
- remove the old clipart folder under /lib
- create a new clipart folder for every language to collect there language specific images (currently that only affects Spanish)
- fix Slovak userguide
- adjust image paths to reflect the changes (there were btw. broken after JMarcs last change)

If something is wrong please mail me!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17398 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 03:06:14 +00:00
Uwe Stöhr
375a9cbfcd de/Tutorial and Intro: Updates by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17388 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-28 22:54:19 +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
Michael Schmitt
b242a84807 install frac-square.xpm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17367 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 16:18:24 +00:00
Jean-Marc Lasgouttes
7dd29bb818 Move translated files to their own directory
What I did:

* move xx_foo.ext to xx/foo.ext

* update Makefile.am to make install work

* minimally update scons_manifest.py (I'd be surprised to see it
  work).

* update i18nLibFileSearch to use the new naming scheme, and keep
  temporarily some code that checks the old method.

* update image paths in .lyx files

* update name of files (examples in tutorial, for ex.) in lyx files

What is definitely broken:

* cmake (did not touch it)

* TOC files (I am not sure how the code works)

I would be surprised if nothing else was wrong. 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17343 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-25 18:12:03 +00:00
José Matox
13c6c959c9 Correct the name of Portuguese and Brazilian variants of Portuguese language, fix bug 1627
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17334 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-24 23:43:18 +00:00
Georg Baum
bd02196f4d convert to utf8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17330 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-24 19:42:28 +00:00
Uwe Stöhr
a1ae86964b de_Tutorial.lyx: Updates from Hartmut Haase
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17314 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-24 00:40:14 +00:00
Georg Baum
0c26507890 * lib/encodings: Explain that only single byte encodings can be
added easily

	* src/encoding.C
	(Encoding::Encoding): Better test for utf8


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17313 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-23 20:13:06 +00:00
Georg Baum
fed67a2d50 fix the fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17291 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-21 13:01:34 +00:00
Georg Baum
c9bbc5c1dd Output encoding messages only with a higher warning level
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17290 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-21 12:33:51 +00:00
Michael Schmitt
933173db26 * lib/configure.py: fix typo in comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17286 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-20 20:56:54 +00:00
Georg Baum
022a719d0d explain why we don't have an agr -> grace converter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17283 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-20 20:20:19 +00:00
Georg Baum
2e04ee3317 * lib/lyx2lyx/lyx_1_4.py
(convert_ert_paragraphs): Fix off-by-one error that causes an out of
	range error in find_token


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17271 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-20 09:32:12 +00:00
Uwe Stöhr
83a17b6da9 de_splash.lyx: updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17262 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-19 22:09:20 +00:00
Georg Baum
2d6bc1d0aa Avoid endless loops, e.g when an end_deeper is missing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17225 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-16 18:33:36 +00:00
Georg Baum
6bf6c8453d add pure ASCII encoding for LaTeX export
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17224 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-16 18:29:48 +00:00
Georg Baum
3ccb9d8af9 * src/exporter.C
(Exporter::Export): Remove hardcoded check for lyx backend.
	Use the shortest converter path instead, that is more flexible and
	always correct.

	* lib/configure.py: Add new formats and converters for importing and
	exporting files from CJK LyX.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17202 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-15 20:14:12 +00:00
Georg Baum
a69aaf5685 file format change due to new change tracking behaviour
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17187 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-14 16:10:50 +00:00
Enrico Forestieri
8cf4fc2dd7 Was forgetting this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17176 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 22:41:39 +00:00
Uwe Stöhr
eb940a3d28 EmbeddedObjects:
- Spanish updates
- minor fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17175 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 22:25:11 +00:00
Georg Baum
02b60e8c36 more tipa stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17172 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 21:14:10 +00:00
Georg Baum
e89514f38d fix hungarian umlaut u symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17171 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 20:45:14 +00:00
Georg Baum
3cbbb48d51 Add some more accented latin characters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17170 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 19:56:22 +00:00
Enrico Forestieri
1b21743511 Fix bug 3220
* src/insets/ExternalSupport.C
	(updateExternal): Avoid computing crc of a directory as this leads
	to a crash on Cygwin.

	* lib/configure.py:
	Use a python script to get the current date in order to avoid
	a stalling condition with the date command on Win32.

	* lib/scripts/date.py:
	New python script.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17168 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 19:09:54 +00:00
Georg Baum
80dc8c225d four more ae symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17165 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 18:17:22 +00:00
Georg Baum
9fd8a86961 Allow utf8x \inputencoding
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17164 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 17:36:55 +00:00
Georg Baum
5b79207f3d Add commandline switch to read files from CJK-LyX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17162 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 16:57:48 +00:00
Georg Baum
01ab3aa796 * lib/lyx2lyx/lyx_1_5.py
(normalize_font_whitespace): Fix handling of nested font changes
	and also handle blanks before a font change


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17158 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-12 20:52:12 +00:00
Enrico Forestieri
e870097468 (Was forgetting the French version of the beamer template).
Avoid a white space to the left of the navigation and status bars
in the beamer output.

	* lib/templates/fr_beamer-conference-ornate-20min.lyx:
	Don't show changes in the output.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17154 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-12 18:01:18 +00:00
Enrico Forestieri
6b0ca847e0 Avoid a white space to the left of the navigation and status bars
in the beamer output.

	* lib/templates/beamer-conference-ornate-20min.lyx
	* lib/templates/de_beamer-conference-ornate-20min.lyx:
	Don't show changes in the output.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17153 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-12 15:01:19 +00:00
Uwe Stöhr
35558e7b87 EmbeddedObjects:
- referencing subfigures
- reflect new caption inset

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17148 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-12 02:12:06 +00:00
José Matox
dc6ed95695 Insurance against empty lines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17146 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-12 00:19:20 +00:00
José Matox
60dc3fea2f Color has a different reset (adjusting for it).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17145 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-12 00:15:20 +00:00
José Matox
76c3d964df Convert lyxaccents to unicode (most of the work comes from Georg)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17144 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-11 23:52:07 +00:00
José Matox
e9d9f2e27b Update docbook example
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17142 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-11 23:29:15 +00:00
Georg Baum
b045f7f63b Add some tipa accents
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17141 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-11 20:53:31 +00:00
Georg Baum
2cdac17100 some more unicode symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17140 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-11 18:56:18 +00:00
Uwe Stöhr
5cfce93e3f EmbeddedObjects: Spanish Updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17115 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-08 20:22:08 +00:00
Uwe Stöhr
3279f50916 EmbeddedObjects: remove prettyref description
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17101 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 22:23:04 +00:00
Uwe Stöhr
9bf162a6c3 Spanish updates from Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17096 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 20:41:04 +00:00
Enrico Forestieri
de42495b90 Fix to the fix for bug 2418. The commands python module is a *nix only
thing and it worked on Win32 only by chance.

	* lib/configure.py:
	Correctly collect stderr also on Win32.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17095 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 20:15:41 +00:00
Michael Schmitt
a02431057e * lib/configure.py: fix unwanted script abort (identify LinuxDoc layout file)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17090 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 17:38:11 +00:00
Enrico Forestieri
61b4f87330 Fix bug 2418 (hopefully)
* lib/configure.py:
	Check whether convert understands the -define option, and, if so,
	define a new converter PDF->PNG such that the CropBox rather than
	the MediaBox is used in the conversion.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17078 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-06 23:44:43 +00:00
Uwe Stöhr
aba891d408 Add Ignacio García to the credits
step 2/3

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17076 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-06 22:03:14 +00:00
Uwe Stöhr
fa3a2e458d EmbeddeObjects: preamble fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17074 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-06 21:50:08 +00:00
Uwe Stöhr
d948b160fc - de_Intro updates from Hartmut
- small fix to EmbeddedObjects.lyx

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17072 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-06 21:20:30 +00:00
Jean-Marc Lasgouttes
eb1eee2a52 * Customization.lyx:
* fr_Customization.lyx:
	* eu_Customization.lyx: there is no TitleLatexCommand layout tag,
	the right name is TitleLatexName.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17070 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-06 14:35:17 +00:00
Uwe Stöhr
a399d6e22e update my credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17067 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-06 00:36:45 +00:00
Uwe Stöhr
05a841a2dc add forgotten changelog entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17064 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-06 00:33:43 +00:00
Uwe Stöhr
b53d64b525 EmbeddedObjects:
use new possibility to have captions in longtables (thanks to Abdel for building this in)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17062 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-05 23:05:43 +00:00
Angus Leeming
94b88676d8 Add Bernhard Roider.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17047 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-04 23:04:54 +00:00
Uwe Stöhr
3cf0b6fff3 EmbeddeObjects: Spanish updates again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17042 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-04 20:17:59 +00:00
Bo Peng
afc9bac8d3 lib/configure.py: remove comments, this file is no longer experimental
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17041 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-04 16:49:57 +00:00
Georg Baum
bbc3a0f0c4 * src/MenuBackend.C
(expandFormats): Document hack

	* lib/configure.py
	(checkFormatEntries): s/Plain text (paragraphs)/Plain Text, Join Lines/
	since this is the term we use elsewhere and it shows up in the file
	filter.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17039 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-04 15:16:44 +00:00
Uwe Stöhr
5838d7915b EmbeddeObjects:
- Spanish updates

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17038 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-04 15:09:10 +00:00
Uwe Stöhr
0bf38f5042 EmbeddedObjects: missing bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17036 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-03 20:51:22 +00:00
Uwe Stöhr
48bc78e39f EmbeddedObjects: allow to compile the document without having all LaTeX-packages installed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17034 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-03 20:44:04 +00:00
Uwe Stöhr
0bf26df72b thanks to Ignacio Garcia: EmbeddedObjects
- Spanish updates
- some corrections
- small preamble cleanup, note about needed packages and ready PDFs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17032 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-03 03:19:49 +00:00
Enrico Forestieri
f44bc0a0d1 Remove uncompatible option from convertDefault.py as it makes unusable
the figure inset on Solaris.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17021 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-02 01:39:52 +00:00
Georg Baum
d18412ce9a revert accented characters to InsetLatexAccent if possible.
The function convert_accent will be used when we get rid of InsetLatexAccent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17017 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 19:28:55 +00:00
Michael Schmitt
bda886f39e * lib/images/change-next.xpm: beautify (arrow points to green text)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17007 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 14:42:19 +00:00
Michael Schmitt
9d7bfb32b2 * bind/fi_menus.bind:
* bind/menus.bind:
	* bind/pt_menus.bind:
	* bind/sv_menus.bind:
	* bind/de_menus.bind: remove bindings for "layout caption"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17004 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 13:25:39 +00:00
Uwe Stöhr
d85bdf6d45 hopefully last part of the ExtendedInsets.lyx renaming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16995 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 21:46:10 +00:00
Georg Baum
a980f1bd61 Missing bits of Uwe's file format change from yesterday.
Uwe, please add an exact decsription of the lyxline changes to
development/FORMAT: How did the old version work, and what are the changes
of the new one.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16991 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 20:39:46 +00:00
Uwe Stöhr
b5212255e5 fix bug in modification made in changeset 16962
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16988 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 20:16:23 +00:00
Michael Schmitt
382963abcd * layouts/beamer.layout:
* layouts/isprs.layout: remove obsolete comments regarding caption style


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16985 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 19:04:55 +00:00
Michael Schmitt
ff521787b2 * layouts/*.inc: update to format 3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16984 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 19:02:52 +00:00
Michael Schmitt
2f9bf6b92b * layouts/*.layout: update to format 3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16983 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 18:58:41 +00:00
Jean-Marc Lasgouttes
c092362529 update classic menu too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16978 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 15:59:35 +00:00
Uwe Stöhr
9f871ade65 new \lyxline difinition, fixes also bug 1988:
http://bugzilla.lyx.org/show_bug.cgi?id=1988

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16962 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 01:15:14 +00:00
Uwe Stöhr
66af88d4fc rename ExtendedInsets - forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16961 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 00:25:24 +00:00
Uwe Stöhr
74c4cede85 rename ExtendedInsets to Embedded Objects as discussed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16959 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 00:05:50 +00:00
Michael Schmitt
6f2529e569 * lib/bind/cua.bind:
* lib/bind/sciword.bind:
	* lib/bind/mac.bind: bind "select all" to "C-a"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16955 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-30 22:26:50 +00:00
Michael Schmitt
b218ab82d4 * lib/ui/stdmenus.ui: add "Select All" to edit menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16954 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-30 22:16:47 +00:00
Michael Schmitt
ec4b87dd28 * lib/ui/stdmenus.inc: remove ellipsis (...) for Caption inset, because no dialog opens
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16953 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-30 22:01:35 +00:00
Abdelrazak Younes
500a5f959f The caption inset patch by Georg, Martin and myself.
* buffer.C: increase LyX format to 257.

* lyxtextclass.C: increase FORMAT format to 3.

* buffer_funcs.C: 
  - setCaptionLabels(): new recursive function
  - setCaptions(): new function
  - updateLabels(): call setCaptions() for each paragraph.

* InsetCaption:
  - add a virtual destructor
  - overload InsetText' getStatus() and wide().
  - setLabel(): only set the new private member label_.
  - metrics(): don't set label here and correct for title metrics.
  - draw(): don't set label here
  - latex(): fix optional argument.
  - plaintext(): implement!

* InsetText:
  - add a virtual destructor
  - add virtual to getStatus() and wide().

*  output_latex.[Ch]: move latexOptArgInsets() out of anon namespace.

* text3.C: enable LFUN_CAPTION_INSERT


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16948 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-30 13:23:21 +00:00
Georg Baum
951e4e0a78 French translation of beamer template and minor corrections by
Jean-Pierre Chretien


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16946 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-30 11:03:58 +00:00
José Matox
efa3955204 Fix bug 2841
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16938 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 20:28:44 +00:00
Georg Baum
f1dedb3351 Rename files to conform to LyX conventions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16935 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 19:59:48 +00:00
Georg Baum
04debb8056 Revert unwanted stuff from last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16932 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 18:37:13 +00:00
Georg Baum
a76050219a Fix LyX paste from system clipboard when the file format does not match
* src/buffer.C
	(Buffer::readString): Tell readFile that we do not have a file
	(Buffer::readString): readFile(name) returns a bool, not an enum


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16931 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 18:35:56 +00:00
Georg Baum
feb7895965 Add machinery to output arbitrary unicode characters with LaTeX commands
read from a text file.

	* src/encoding.[Ch]

	(Encoding::latexChar): New, output a character to LaTeX
	(Encoding::validate): New, add needed preamble stuff for a character
	(Encodings::read): Read new unicodesymbols file
	(Encodings::isCombiningChar): New, is a character a combining char?

	* src/paragraph_pimpl.C
	(isEncoding): Delete, no longer needed
	(getEncoding): New, get the real encoding of a font
	(Paragraph::Pimpl::latexSurrogatePair): New, output a surrogate pair
	to LaTeX
	(Paragraph::Pimpl::simpleTeXBlanks): Use latexSurrogatePair if needed
	(Paragraph::Pimpl::simpleTeXSpecialChars): Ditto, and replace several
	hardcoded characters with a call of encoding.latexChar()
	(Paragraph::Pimpl::validate): replace several hardcoded characters
	with a call of encoding.validate()

	* src/support/debugstream.h
	(basic_debugstream::disable): New, disable the stream completely
	(basic_debugstream::enable): New, reenable the stream

	* src/lyx_main.[Ch]: Adjust to changes above

	* src/paragraph.C: Ditto

	* lib/unicodesymbols: New file with UCS4 -> LaTeX command mapping.
	It is far from complete yet, but contains most accents on latin
	characters.

	* lib/Makefile.am: add lib/unicodesymbols

	* development/scons/scons_manifest.py: ditto

	* development/tools/unicodesymbols.py: Helper script to update
	lib/unicodesymbols with new symbols


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16920 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 21:27:45 +00:00
Uwe Stöhr
ff8c0848aa forgot to update Makefile for latest image change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16917 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 20:49:57 +00:00
Uwe Stöhr
c15354041a ExtendedInsets: Update for LyX 1.5 step 2/2 -> finished
- description of Framed and Shaded notes
- update of Spanish images

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16913 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 20:33:31 +00:00
Georg Baum
af02b781bc Update to 1.4 format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16909 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 18:44:06 +00:00
Georg Baum
87bb14103d Add two templates from the beamer package that I forgot when I put the
beamer stuff in LyX.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16908 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 18:39:36 +00:00
Michael Schmitt
aa1efab525 * lib/ui/stdmenus.inc: change "Figures, Tables, Floats, Notes, Boxes" to
"Special Insets"; the former menu entry is too lengthy


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16904 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 14:19:57 +00:00
Georg Baum
ba7c5463cb Remove delete files from lib/Makefile.am.
Add the xpm version of the deleted lib/clipart/buffer-export_pdf2.png as
lib/images/buffer-export_pdf2.xpm since I discovered that we did not yet
have this icon.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16902 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 09:23:38 +00:00
Uwe Stöhr
a0936c4cf3 ExtendedInsets:
- remove two unneeded images
- some corrections
- use a proper menu entry name because "Insets" says nothing to the user

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16897 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 03:03:44 +00:00
Uwe Stöhr
9228fc49af ExtendedInsets: update to LyX 1.5
step 1: table dialog, table row spacing, and formal tables

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16893 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-27 20:01:11 +00:00
Uwe Stöhr
6a4b4a4e25 de_Userguide: updates for 1.5 from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16892 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-27 19:58:26 +00:00
Georg Baum
8b31062e50 fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16886 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-27 16:40:39 +00:00
Uwe Stöhr
6aefa6e8ff ExtendedInsets: small cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16864 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-26 01:02:30 +00:00
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