* 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
(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
(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
* 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
* 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
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
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
* 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
* 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