Re: Unicode characters in mathed

2023-05-29 Thread Jean-Marc Lasgouttes

Le 30/05/2023 à 00:37, Jean-Marc Lasgouttes a écrit :
Thanks for your input, this is the direction I would take if I ever find 
the time to solve this issue.


This is now ticket #12788.
https://www.lyx.org/trac/ticket/12788

JMarc
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Unicode characters in mathed

2023-05-29 Thread Jean-Marc Lasgouttes

Le 30/05/2023 à 00:14, Udicoudco a écrit :

So how should I solve problem 1/ ? I see 3 solutions
a/ replace ≠ with a \neq directly in the document at input time; we
might not want to do that in case we eventually use unicode in math too
b/ replace ≠ with a \neq on screen only
c/ keep the ≠ on screen, but use the mathrel math class from \neq so
that we have a good spacing


I would say option b, as unicode-math supports unicode characters inside
math mode. Maybe some users would prefer a latex source that
contains the unicode symbols  and not the corresponding macros.


Thanks for your input, this is the direction I would take if I ever find 
the time to solve this issue.


JMarc

--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Unicode characters in mathed

2023-05-29 Thread Udicoudco
On Sat, Apr 1, 2023 at 4:10 PM Jean-Marc Lasgouttes  wrote:
> In particular, instead of typing \neq in mathed, why not copy and paste
> a ≠ from some PDF or HTML page?
>
> When doing this, two things happen :
> 1/ on screen, there is no spacing around the ≠
> 2/ in LaTeX output, the character is exported as \neq and all is well
>
> So how should I solve problem 1/ ? I see 3 solutions
> a/ replace ≠ with a \neq directly in the document at input time; we
> might not want to do that in case we eventually use unicode in math too
> b/ replace ≠ with a \neq on screen only
> c/ keep the ≠ on screen, but use the mathrel math class from \neq so
> that we have a good spacing

I would say option b, as unicode-math supports unicode characters inside
math mode. Maybe some users would prefer a latex source that
contains the unicode symbols  and not the corresponding macros.

Ot maybe a better solution would be to add a checkbox in
Document->Settings->Math Options and let the user decide
between option a and option b. but that would probably
require more work.

> --
> lyx-devel mailing list
> lyx-devel@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: What is missing for LyX 2.4?

2023-05-29 Thread Daniel

On 2023-05-04 12:39, Stephan Witt wrote:

Am 04.05.2023 um 11:35 schrieb Jean-Marc Lasgouttes :

Le 04/05/2023 à 03:39, Richard Kimberly Heck a écrit :

The big issue is the OSX shortcut bug, which I'm still not clear about. I don't 
think anything else is a must-have.


This one can be solved for now by building with Qt5, right?


Yes, that’s my plan.


Is there anything good enough on Qt6 for macOS that makes this a bad option?


I don’t think so. The only bad thing is to not switch major Qt release with 
„major“ LyX release.


Qt 5 has some strange graphical glitches on macOS. For example, suddenly 
appearing colored lines between tabs. It's not great but I guess there 
is not much of an alternative.


Daniel

--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel