Uwe Stöhr wrote:
While working on the unicodesymbols stuff I took some Word-files to test
if I can copy text from Word to LyX. This is still not in every case
working because Windows and Word provide the following math characters
to be used directly in texts that have curently no entry in the
unicodesymbols file:
∂, ∆, ∏, ∑, ∕, ∙, ∞, ∟, ∩, ∫, ≈, ≤, ≥, ≡, and ≠
These characters can also be found outside Word texts (webpages etc.)
because Windows offers them in the chart table.
Using utf-8 as document encoding does not help, so we must support them
in the unicodesymbols file.
We can easily support them by translating into math. For example the
support for the "∙" character (not equal to \cdot!) would be this line:
0x2219 "$\\centerdot$" "amssymb" "" # BULLET OPERATOR
for "≈":
0x2248 "$\\approx$" "" "" # ALMOST EQUAL TO
This works as expected and I see no reason why not using inline
formulas, because when you use these characters in your LyX text, you
also use formulas for them.
So is it OK when I send you a patch implenting this?
It depends on what LateX accept. If \alpha can be recognized directly by
LateX (maybe with textcomp?), I see no reason to encasulate that in a
TeX formula. But maybe it is better to force the math mode for now and
wait for 1.6 WRT these symbols.
This issue should be solved before LyX 1.5.0 because we promise unicode
support and I expect many complains when the users can't copy text into
LyX without getting encoding errors.
I agree that this would be nice to have.
Abdel.