Commit Graph

80 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
38e92582af fix glitch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40907 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-10 14:35:46 +00:00
Jürgen Spitzmüller
2cf5de28a9 Add "notermination" flag to unicodesymbols. This tells us not to try any termination of the command (such as '{}' or ' ' ).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40905 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-10 13:34:42 +00:00
Jürgen Spitzmüller
0deee5d230 * unicodesymbols: shortcuts for the non-combining characters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40892 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-09 10:18:59 +00:00
Georg Baum
f483fb8e9d Fix bug #7998 and related issues:
- 0x200c is equivalent to \textcompwordmark
- 0x2011 is equivalent to \nobreakdash-
- 0x2009 is a breakable thin space (the old definition was non-breakable) 
- 0x202f is a non-breakable thin space
- add spaces 0x2007, 0x2008, 0x200a and 0x200b


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40694 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-31 20:49:49 +00:00
Georg Baum
419b51172a fix r40522 (thanks Kornel)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40526 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-19 20:16:05 +00:00
Georg Baum
b7fbcd0b30 Partial support for mathtools.sty (part of bug #7949)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40521 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-18 17:50:43 +00:00
Georg Baum
85003ec85d More unicode math symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39895 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-20 19:55:13 +00:00
Georg Baum
b62ed6ad83 Do not load txfonts from unicodesymbols, since that has side effects
(next part of bug #7811)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39894 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-20 17:30:04 +00:00
Georg Baum
f8c5c51460 Fix special case of bug #7811: Clash of bbding and marvosym packages if \Cross is used.
The clash can however still happen if those packages are both loaded for other symbols.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39885 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-18 19:54:16 +00:00
Georg Baum
6954c542fb Generalize the esintoramsmath requirement:
Now you can also require a|b|c, and if any of the features is already used,
no other one will be loaded. The first feature wins if none is already used.
This is required for a part of bug #7811.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39884 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-18 19:32:02 +00:00
Georg Baum
6304d72255 more work on spaces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39876 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-17 18:54:13 +00:00
Richard Heck
67cb9a0e41 New unicode math symbols. Patch from Milde (see bug #7600).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38898 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-31 13:57:20 +00:00
Pavel Sanda
8dabf14050 Recognize the COMBINING GREEK PERISPOMENI character, part of bug #6463.
Patch from Guenter Milde.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg164217.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36811 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 16:33:41 +00:00
Georg Baum
dea050cb93 fix bug 3008: Add subscript/superscript inset for text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36424 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-21 17:00:12 +00:00
Vincent van Ravesteijn
2b26246d0d Support the new Indian Rupee currency symbol.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36390 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 22:30:28 +00:00
Stephan Witt
d5e6b695dc #6877 remove the controversial fboxes around keystroke text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35425 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-17 13:34:01 +00:00
Stephan Witt
9bea0cbb0e #6877 use font size relative fboxsep values
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35416 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-16 15:49:58 +00:00
Stephan Witt
876393d2eb #6877 add the missing unicode symbols for Qt4 keystroke symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35415 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-16 15:20:47 +00:00
Stephan Witt
c89b30d620 #6877 add unicode entry for the Return key
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35335 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-09 14:08:55 +00:00
Jürgen Spitzmüller
03c24a6ee3 * unicodesymbols: fix output of MODIFIER LETTER SMALL GAMMA
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34893 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-14 06:21:45 +00:00
Jürgen Spitzmüller
87b701a06b * attempt to fix polytonic Greek (with mutli-accents) [bug 5976].
* add extended Greek chars to unicodesymbols [bug 4997].

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30619 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 06:19:25 +00:00
Jürgen Spitzmüller
eb65afe226 * unicodesymbols: support capital <ß>
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29051 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-03 12:26:08 +00:00
Enrico Forestieri
d786fa0ab8 Partly revert r28731 (see discussion in bug 5836).
Essentially, it is not true that Cyrillic characters in math are to be typeset
in italic by default, and LyX already permits to style them as desired. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28981 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-30 22:40:27 +00:00
Jürgen Spitzmüller
126be0a7c0 * unicodesmbols: Greek symbols fix from Günter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28812 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-16 11:41:08 +00:00
Enrico Forestieri
3175a28893 Fix bug 5836 (http://bugzilla.lyx.org/show_bug.cgi?id=5836)
Cyrillic formatted text in mathmode

If some other letters from some script need to be typeset in italic,
it will suffice adding the flag "mathalpha" to the unicodesymbols file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28731 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 06:34:00 +00:00
Jürgen Spitzmüller
a3ea7fab35 * unicodesymbols:
- Fix the output of some Greek characters (rest of bug 5239).
	  Patch by Günter Milde.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28374 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-06 15:21:20 +00:00
Uwe Stöhr
eb33e2eaae unicodesymbols: add PROPORTIONAL TO, I stumbled over this today,
OK for branch as well?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28372 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-06 14:22:46 +00:00
Georg Baum
3d7878212b Add missing esint bits.
They should have been part of the initial commit, but I overlooked them.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28355 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-04 19:57:02 +00:00
Jürgen Spitzmüller
3103e4b7bb * unicodesymbols:
- some fixes by G. Milde (bug 5456)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27777 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-05 18:27:52 +00:00
Jürgen Spitzmüller
d751c11352 * unicodesymbols:
- "force" tipa glyphs to prevent inputenc errors with utf8.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26972 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 13:26:46 +00:00
Jürgen Spitzmüller
a04ba20552 * unicodesymbols:
- force some greek glyphs that are not properly supported by inputenc (part of bug 5239)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26774 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 11:30:53 +00:00
Enrico Forestieri
5ca3be4d67 In mathmode, treat nonascii chars with diacritical marks as an input method
for entering math accents, such that an umlauted A is translated as \ddot{A},
for example.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26577 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-26 15:53:15 +00:00
Jürgen Spitzmüller
f2dc0e073d * unicodesymbols:
- some more Greek glyphs. Patch by Günther Milde.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26422 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-16 07:48:36 +00:00
Jürgen Spitzmüller
0337fcebd5 * unicodesymbols: fixe some entries.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26408 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-15 09:45:20 +00:00
Jürgen Spitzmüller
c39644a26b * unicodesymbols:
- force dissolving of ligatures (bug 5086).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25879 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-25 13:24:52 +00:00
Enrico Forestieri
698bf834cf The braces are not needed when using the force flag.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25399 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-27 20:12:06 +00:00
Enrico Forestieri
c628af8381 Final touch for bug 4966.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25366 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 05:26:12 +00:00
Jürgen Spitzmüller
8cbc28d880 * 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. Fixes rest of bug 4946.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25361 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-23 18:00:43 +00:00
Enrico Forestieri
43b22acf48 Fix bug 4966
http://bugzilla.lyx.org/show_bug.cgi?id=4966


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25345 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-21 01:13:22 +00:00
Enrico Forestieri
1a2af1197e Allow to specify either text mode or math mode commands (or both) in the
unicodesymbols file. When the command for a mode is not specified, the
other one is used (taking care that it also works in the "wrong" mode).
This allows to avoid the \lyxmathsym macro when a native math command
is available. Patch from Georg, modifications to the unicodesymbols
file by me.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25061 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 01:35:42 +00:00
Jürgen Spitzmüller
209a87ac23 * lib/unicodesymbols:
- remove wrong cross accent.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22852 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 20:38:04 +00:00
Jürgen Spitzmüller
62feabeb55 * lib/unicodesymbols:
- more IPA.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22851 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 20:30:10 +00:00
Jürgen Spitzmüller
efaa509f8b * 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/trunk@22771 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-03 17:26:46 +00:00
Jürgen Spitzmüller
ee35e8522b * lib/unicodesymbols:
- support some more glyphs from tipa.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22738 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-01 17:01:12 +00:00
Uwe Stöhr
d60de46e04 unicodesymbols: support for missing space modifier letters (patch by Jürgen)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22623 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-18 19:07:57 +00:00
Uwe Stöhr
b7e0ac3e7b unicodesymbols: add ligatures, patch by Anders Ekberg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22538 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-13 13:25:00 +00:00
Enrico Forestieri
1853a4c1a2 Some more Greek and Cyrillic symbols.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20945 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 13:34:33 +00:00
Enrico Forestieri
6c9ae9865d Correct ordering
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20932 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-12 23:43:36 +00:00
Enrico Forestieri
d88aac0e1f 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::knownLangChars): new method.
	(Paragraph::Pimpl::simpleTeXSpecialChars): output proper
	latex code for greek and cyrillic chars.

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

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

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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20931 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-12 18:21:51 +00:00
Uwe Stöhr
0d03e50cde 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/trunk@20195 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-10 18:22:49 +00:00