Commit Graph

11 Commits

Author SHA1 Message Date
Georg Baum
244b2c1fab Add some more LaTeX encodings, fix thailatex and display all available
encodings in the preferences dialog

	* src/LaTeXFeatures.C: special treatment for tis620-0 encoding
	* src/bufferparams.C: ditto
	* src/output_latex.C: ditto

	* src/encoding.[Ch]: Add the possibility to iterate over all encodings

	* src/paragraph_pimpl.C: Add latin10 and cp858 to Euro treatment

	* src/buffer.C: Update format number

	* src/frontends/qt4/QDocumentDialog.C: Don't hardcode available
	encodings

	* lib/lyx2lyx/LyX.py,
	  lib/lyx2lyx/lyx_1_5.py: implement conversion from 256 to 255

	* lib/encodings: Add some encodings, fix all "unknown" entries

	* development/FORMAT: Document file format change


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16418 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 18:15:25 +00:00
Georg Baum
c9e75d84ac enable utf8 since lyx2lyx already reverts it
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15704 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-03 10:38:30 +00:00
Georg Baum
fa1856440c Restore inputenc support
* src/encoding.h
	(encoding_table): remove, this is no longer needed with unicode
	(iconvName_): new member: name of the encoding in iconv syntax

	* src/exporter.C
	(Exporter::Export): Use return value of Buffer::makeLaTeXFile

	* src/buffer.[Ch]
	(Buffer::makeLaTeXFile): return whether the file has been created
	successfully

	* src/buffer.C
	(Buffer::makeLaTeXFile): Use a docstream that converts to the correct
	encoding
	Display an error dialog is something went wrong

	* src/bufferparams.C
	(BufferParams::writeLaTeX): Undo the utf8 inputenc hack

	* src/frontends/qt4/QDocumentDialog.C: Add some FIXMEs

	* src/support/unicode.[Ch]
	(eightbit_to_ucs4): New conversion function
	(ucs4_to_eightbit): New conversion function

	* src/support/docstream.[Ch]
	(utf8_codecvt_facet_exception): Move to header and rename to
	iconv_codecvt_facet_exception
	(odocfstream): Take the encoding as argument

	* src/support/docstream.C
	(utf8_codecvt_facet): Generalize to other encodings than utf8 and
	rename to iconv_codecvt_facet

	* src/encoding.C: Remove obsolete tables

	* src/output_latex.C
	(TeXOnePar): Convert the paragraph to different encoding if needed

	* lib/encodings: Remove obsolete tables


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15564 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-26 15:01:45 +00:00
Martin Vermeer
e7d12d308e Latin-7 patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8819 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-22 06:08:11 +00:00
Angus Leeming
a60b5c0b72 Whitespace only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7905 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 09:50:10 +00:00
Jean-Marc Lasgouttes
64f38ce0cb better cyrillic languages support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4525 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-03 14:18:32 +00:00
Jean-Marc Lasgouttes
346924c584 add iso8859-15 support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2020 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-22 13:27:52 +00:00
Jean-Marc Lasgouttes
44a5985e18 preliminary Thai support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1686 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-06 13:46:08 +00:00
Jean-Marc Lasgouttes
b5ab33c92d serbo-croatian support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1682 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-06 11:04:43 +00:00
Jean-Marc Lasgouttes
765859f144 Ukrainian support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1400 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-26 10:31:18 +00:00
Jean-Marc Lasgouttes
bd659b25fb Dekel language/encoding patch + a few fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1096 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-10 12:36:36 +00:00