Commit Graph

117 Commits

Author SHA1 Message Date
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
Michael Schmitt
69c839dccf * development/tools/mkdoclinks.sh:
* development/tools/makeLyXsigc.sh:
        * development/tools/scgen.pl: remove obsolete files


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14637 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 10:21:06 +00:00
Lars Gullik Bjønnes
ef8e527612 drop reLyX like it is hot, and setup to use tex2lyx instead (and remerged po files + no.po small update)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10244 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 15:18:14 +00:00
Angus Leeming
46ee486bda Whitespace, only whitespace. Part II.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9138 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-28 14:35:53 +00:00
Angus Leeming
732bb6aeff For Andr�'s pleasure...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5480 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-23 13:41:25 +00:00
Jean-Marc Lasgouttes
83c3a7d979 get rid of more xtl
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4341 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-05 15:23:19 +00:00
Dekel Tsur
160d830280 Add glyph for \colon for the symbol font.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3211 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-15 11:26:57 +00:00
Dekel Tsur
1b6f3b67d3 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2789 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 18:23:02 +00:00
Dekel Tsur
e63b166d6d Small update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2683 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-04 13:15:31 +00:00
Dekel Tsur
0cf717d0c8 More fonts in mathed.
Please test.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2632 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-30 22:42:26 +00:00
Allan Rae
9a95625922 libsigc++-1.0.3: you will need to ./autogen.sh ; ./configure
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1943 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-20 01:43:28 +00:00
Allan Rae
d486ef026e libsigc++ update to fix struct timespec bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1035 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-25 03:05:21 +00:00
Allan Rae
88ebef6dbc Signal3 now supported
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@963 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-10 04:54:00 +00:00
Jean-Marc Lasgouttes
5ce5f0a6f7 Re-implement rhe "bindist" Makefile target
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@841 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-27 15:24:11 +00:00
Lars Gullik Bjønnes
6d678c927c more FILMagain stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@808 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-12 11:55:12 +00:00
Lars Gullik Bjønnes
6bba977f42 FILMagain changes (will need some work)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@807 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-12 11:27:15 +00:00
Lars Gullik Bjønnes
27de1486ca Initial revision
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@140 a592a061-630c-0410-9148-cb99ea01b6c8
1999-09-27 18:44:28 +00:00