Commit Graph

47 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
c6f273c553 * unicodesymbols:
- "force" tipa glyphs to prevent inputenc errors with utf8.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26973 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 13:29:28 +00:00
Jürgen Spitzmüller
8d782380e6 * unicodesymbols:
- force some greek glyphs that are not properly supported by inputenc (part of bug 5239)
	  no status.15x entry necessary.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26775 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 11:31:37 +00:00
Jürgen Spitzmüller
57cf25edf5 * unicodesymbols:
- some more Greek glyphs. Patch by Günther Milde.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26423 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-16 07:51:07 +00:00
Jürgen Spitzmüller
e0176ec52c * unicodesymbols: fixe some entries.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26409 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-15 09:48:10 +00:00
Jürgen Spitzmüller
b5976cd8fb Backport of revision: 25879
URL: http://www.lyx.org/trac/changeset/25879
Log:
* unicodesymbols:
        - force dissolving of ligatures (bug 5086).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26211 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-19 08:30:39 +00:00
Enrico Forestieri
f45d15be2f The braces are not needed when using the force flag.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25398 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-27 20:11:24 +00:00
Jürgen Spitzmüller
2dd4b555f9 Fix bug 4946:
* src/Paragraph.cpp (latexSurrogatePair):
        - do not use braces for combinated characters that are natively output (as unicode glyphs)
* src/Encoding.{cpp,h}:
	- build an exception list of characters that must be output as LaTeX command in any case
	  (except in utf8-plain). I.e., the utf8 encodings now also honour the "force" flag.
* lib/unicodesymbols:
	- add "force" flag to combine characters.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25395 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-27 08:43:41 +00:00
Enrico Forestieri
8c903e4986 Final touch for bug 4966.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25365 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 05:23:21 +00:00
Enrico Forestieri
5e2557f84d Fix bug 4966
http://bugzilla.lyx.org/show_bug.cgi?id=4966


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25343 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-21 00:55:21 +00:00
Jürgen Spitzmüller
f0cb17f26f * lib/unicodesymbols:
- more IPA.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22853 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 20:38:59 +00:00
Jürgen Spitzmüller
974c14c041 * src/LaTeXFeatures.cpp:
- add tipx to simplefeatures. Tipx is a subpackage of tipa.
* lib/unicodesymbols:
	- correct some glyphs, which are included in tipx, not tipa.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22772 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-03 17:33:05 +00:00
Jürgen Spitzmüller
6580bb7fa9 * lib/unicodesymbols:
- support some more glyphs from tipa.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22743 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-01 17:40:53 +00:00
Uwe Stöhr
0f323c3b9d unicodesymbols: reintroduce the brace-enclosed spaces for branch to assure nothing strange can happen.
In general I couldn't find a reason why to keep these spaces, so I'll not reintroduce them in trunk.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22624 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-18 19:16:11 +00:00
Uwe Stöhr
c6ac77c78e unicodesymbols: support for missing space modifier letters (patch by Jürgen)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22622 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-18 19:07:38 +00:00
Uwe Stöhr
99a9627e12 unicodesymbols: add ligatures, patch by Anders Ekberg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22539 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-13 13:26:04 +00:00
Enrico Forestieri
6b2fe73e91 Add support for greek and cyrillic chars such that it is not
necessary to mark them in the proper language for typesetting.

	* src/Paragraph.cpp
	(Paragraph::Pimpl::writeScriptChars): new method.
	(Paragraph::Pimpl::simpleTeXSpecialChars): output proper
	latex code for greek and cyrillic chars when they cannot
	be encoded using the current latex encoding.

	* src/LaTeXFeatures.cpp: add textgreek and textcyr features.

	* src/Encoding.{cpp,h}
	(Encodings::isKnownScriptChar): new method.

	* lib/unicodesymbols: add greek and cyrillic alphabetic chars.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21184 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 17:24:56 +00:00
Uwe Stöhr
44805e6951 unicodesymbols: workaround fix for an encoding bug in teTeX 3 /TeXLive 2005, see http://bugzilla.lyx.org/show_bug.cgi?id=4192#c10
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20223 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 20:48:32 +00:00
Jürgen Spitzmüller
9c06580008 * lib/unicodesymbols: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19154 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 12:56:56 +00:00
Jürgen Spitzmüller
db8a268476 * lib/unicodesymbols: fix typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19152 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 10:23:59 +00:00
Uwe Stöhr
798ad9755a unicodesymbols: use commands for the dashes for consistency reasons and to avoid potential problems with some LaTeX-packages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18802 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-16 14:56:16 +00:00
Uwe Stöhr
f1e6925e03 unicodesymbols: fix incorrect spacing of character 215f
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18797 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 23:25:54 +00:00
Uwe Stöhr
27305d709a unicodesymbols: add number form characters (that are for example used in the German Userguide)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18793 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 22:54:21 +00:00
Uwe Stöhr
b015bf44fd unicodesymbols:
- remove incorrect sign for information
 - add some character supported by the ascii-package
 - added some letterlike symbols

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18585 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-30 23:22:58 +00:00
Uwe Stöhr
de17055a12 unicodesymbols: support two more symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18582 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-30 21:25:23 +00:00
Uwe Stöhr
c5ca33dd61 unicodesymbols: add some missing punctuation characters again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18574 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-30 00:25:36 +00:00
Uwe Stöhr
b18a67fea0 unicodesymbols: add some missing punctuation characters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18573 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 23:58:56 +00:00
Uwe Stöhr
54d00e19d5 unicodesymbols: add macro from Herbert Voss
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18572 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 22:13:03 +00:00
Uwe Stöhr
827245f987 unicodesymbols: (last round of adding symbols)
- add dingbats
                - add geometrical shapes
                - add the missing card suit symbols
                - use Herbert's solution for the "℅" character

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18544 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-28 16:04:01 +00:00
Uwe Stöhr
cf8d0ca56b unicodesymbols: - add box drawing characters
- add characters supported by wasysym

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18542 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-28 11:44:13 +00:00
Uwe Stöhr
437e5bebf3 unicodesymbols: - add last missing textcomp symbols
- fix paragraph sign
                - fix bracket code number

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18530 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-26 22:01:56 +00:00
Uwe Stöhr
18fbef503a Unicodesymbols: - add all characters supported by the textcomp-package
- add quotation characters

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18514 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-25 17:10:53 +00:00
Uwe Stöhr
93bca90c8e unicodesymbols: fix character order
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18223 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 17:03:44 +00:00
Jürgen Spitzmüller
5f025227c3 * lib/unicodesymbols: add endash and emdash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18222 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 16:08:01 +00:00
Uwe Stöhr
5adf743deb remove the Armenian characters from unicodesymbols as we now have proper support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18172 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 19:10:51 +00:00
Uwe Stöhr
4c4bb362a1 unicodesymbols: correct character ordering
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18085 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 12:15:04 +00:00
Georg Baum
59d0d3cedc Fix bug 3511
* lib/unicodesymbols: Fix stupid thinko with schwa-like symbols


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18066 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 09:07:49 +00:00
Uwe Stöhr
87829a0fa2 unicodesymbols: remove the armtex flag as this is not used and fix the indentation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18007 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 21:15:24 +00:00
Georg Baum
4cf3929c88 extend docu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17938 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 09:43:30 +00:00
Uwe Stöhr
b587290936 unicodesymbols: add Armenian symbols and connect them to the ArmTeX-package
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17931 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-23 23:57:50 +00:00
Georg Baum
791fbb9f65 some more tipa characters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17580 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-26 20:19:11 +00:00
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