lyx_mirror/development
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
..
cmake fix linker error (dummy functions for tex2lyx) 2007-01-27 20:48:37 +00:00
Code_rules Whitespace, only whitespace. Part II. 2004-10-28 14:35:53 +00:00
lyx3 major cleanup of this totally outdated file 2006-07-14 08:30:26 +00:00
lyxserver Whitespace, only whitespace. Part II. 2004-10-28 14:35:53 +00:00
MacOSX/LyX.app/Contents * lib/CREDITS: 2007-01-16 22:33:44 +00:00
misc some scripts I fouind usefule when working on LyX 2006-10-21 07:05:52 +00:00
scons Add machinery to output arbitrary unicode characters with LaTeX commands 2007-01-28 21:27:45 +00:00
tools Add machinery to output arbitrary unicode characters with LaTeX commands 2007-01-28 21:27:45 +00:00
Win32 Scons: continue refining scons installer 2007-01-28 06:58:03 +00:00
boostworkaround.txt
ChangeLog Michael's installer patch 2006-03-13 10:55:56 +00:00
FORMAT Change lyx2lyx conversion and LaTeX export of documents with 2007-01-13 14:36:54 +00:00
gettext.patch
lazy_lyxtext.txt Ensure that the last line of text files ends with a newline. 2006-01-19 00:40:38 +00:00
lyx.rpm.README * lyx.rpm.README: remove mentioning of qt3 2006-10-21 08:55:17 +00:00
lyx.spec.in * development/lyx.spec.in: remove not unneeded sourcing of /etc/profile 2006-05-13 13:09:46 +00:00
Makefile.am Distribute INSTALL.scons and development/scons with autotools 2006-06-08 16:36:38 +00:00
Seminar.txt Ensure that the last line of text files ends with a newline. 2006-01-19 00:40:38 +00:00
TodoPlan-1.3 remove references to Qt3/Gtk 2006-10-30 21:45:37 +00:00