Commit Graph

107 Commits

Author SHA1 Message Date
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
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
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
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